Skip to main content
New features

New Hyperliquid API endpoints

Three new endpoints add Hyperliquid trading support to the Copper API.
  • Get agent wallets — GET /agent-wallets. Retrieves the active Hyperliquid agent wallets for a portfolio, or for every portfolio in your organisation. Each record includes its status, expiry, and the order that created it.
  • Get allowed markets — GET /markets. Retrieves the list of Hyperliquid markets available to trade through Copper.
  • Execute exchange action — POST /exchange. Submits a Hyperliquid order through Copper’s proxy. The action payload is identical to a direct Hyperliquid request — send your organizationId and portfolioId instead of a nonce and signature, and Copper signs and routes the order on your behalf.
Before calling these endpoints, delegate Hyperliquid trading permissions to a Copper agent (API) wallet. See Trading on Hyperliquid for setup steps and a full request/response comparison, and GET /agent-wallets endpoint reference.
Improvements

Documentation update: Highlighted terminal order statuses

Updated order status descriptions, where applicable, to mention that, when an order has completed processing, it enters one of the final states and returns a ‘terminal’ status.At the time of writing, terminalStatuses are: EXECUTED, CANCELED, LIQUIDATED, ERROR, BLOCKED, DECLINED, SUSPENDED, REJECTED
New features

New order-completed webhook event

A new webhook event order-completed has been created. The event includes orders with the order status executed. No other filters are applied; all order types (deposits, withdrawals, buy, sell, etc.) are included.For more information, see Order.
Improvements

Added updatedAt field in ClearLoop actions endpoint

Added updatedAt field in the clearloop/actions endpoint that returns ClearLoop delegations/undelegations.
Improvements

Change to loan types

We have deprecated several loan types to simplify our API and align naming conventions. Deprecated types are automatically migrated to their replacements. All new loans will be created with the new statuses going forward and old types will be removed from the API and documentation following the migration.For a full list of loan types, see LoanType.

Margin call timer for collateralised loans

New marginCallExpiryPeriod field and marginCall object have been added to the Lending API.
  • The loan booking form now accepts a margin call period (in hours), which is specified in the new field marginCallExpiryPeriod, for example, in Get Loans response. The margin call expiry period can be between 1 and 24 hours. It applies only to collateralised loans. It does not apply to ClearLoop loans.
  • When a loan goes into Margin Call, the marginCall object contains the margin call associated with the loan, for example, in Get Loans response.
Improvements

A new settlementStatus field in responses that return ClearLoop portfolios

A new settlementStatus field now appears in responses that return ClearLoop portfolios, for example, in Get ClearLoop Portfolios. The field contains the status of the last settlement cycle.This change has been introduced as part of platform improvements.For information about settlement status values, see PortfolioSettlementStatus.
New features

Early termination of ClearLoop loans

A new endpoint, `PATCH /platform/organizations/{organizationId}/loans/{earlyTerminationLoanId} has been created, that allows Copper’s financing desk (Agency Desk) to immediately recall outstanding loans where there has been a breach of loan terms.
Early termination of a loan can only be initiated by an Agency Desk: A specialized organisational entity that acts as an intermediary between lenders and borrowers. The agency desk is set up and managed by administrators and has the organization subtype AGENCY_DESK.
New LoanStatus statuses of the type enum have been introduced as part of the early termination flow:
  • early-termination-in-progress - The loan is in the process of being terminated early.
  • early-termination-completed - Early termination of the loan has been completed.
New features

New transaction types for accepting or rejecting deposits on-chain

New BlockchainTransactionType types accept-deposit and reject-deposit have been introduced to support on-chain deposit acceptance on the Canton Network.
Improvements

ClearLoop documentation update

Updated ClearLoop OpenAPI documentation, clarified parameter descriptions.
Improvements

API key rate limits improvements

Previously, API key rate limits were enforced per user, aggregating requests across all organisations and API keys for that user. This could cause someone with multiple API keys in different organisations to be rate limited globally if one key exceeds the limit, even if other keys are within limits.Now, the API key rate limits are enforced per user and per organisation. This prevents excessive usage in one organisation from impacting API keys in another organisation for the same user.This change also enables a more granular rate limit monitoring at the organisation level for both admins and clients.