Skip to content
Docs
Developers

Contracts and environments

Choose the right network, configure its endpoints and use compatible API schemas.

Networks and endpoints

Each network (TestNet, MainNet and DevNet) has its own REST, realtime and MCP addresses, listed once on the Networks page. Keep endpoints, credentials and account identifiers within one network. Keep the network selected in the REST console aligned with your credentials.

This documentation site, docs.edel.finance, serves reference material; it is not a trading API base URL. Do not derive WebSocket or MCP hostnames from a REST hostname.

Published API schemas

OpenAPI defines REST endpoints, authentication requirements, request fields, responses and errors. AsyncAPI defines WebSocket channels, message envelopes and payloads. Use these schemas to generate client types and validate incoming data.

Choose versions compatible with your target environment, and check each operation’s availability and account permissions. Unsupported methods return HTTP 501 NotSupported.

Client compatibility

Client compatibility

  • Step
  • Participant

10 parts and 9 connections.

Use compatible schemas, verify access and establish current state before submitting commands.
Read as text
  • REST OpenAPI → Generated REST client types
  • Product AsyncAPI → Realtime types and validation
  • Generated REST client types → Your integration
  • Realtime types and validation → Your integration
  • Chosen environment → Capabilities, permissions and schema compatibility
  • Your integration → Capabilities, permissions and schema compatibility
  • Capabilities, permissions and schema compatibility → Read and subscribe
  • Read and subscribe → Verify readiness and data continuity
  • Verify readiness and data continuity → Authorized commands

Generate REST types from OpenAPI and realtime types from AsyncAPI. Validate received data before applying it to account or market state, and retain the schema version used by each client release.

Requests and responses. Check required fields, response alternatives and error values when upgrading a client.

Realtime messages. Check subscription envelopes, channel access, payload schemas and replay behavior.

Environment and access. Use credentials and identifiers for the chosen environment, then confirm supported operations and account permissions before enabling commands.

API reference and schema downloads

Use the REST API reference and realtime API reference, including the place-order operation.

Download External REST OpenAPI for REST request and response types, and Product-channel AsyncAPI for market and account WebSocket channels. Keep a copy of the schema used to generate your client, and check its compatibility with the chosen environment before enabling commands.

Validate responses and supported assets

Handle the response alternatives and error codes defined for each operation. Validate WebSocket messages before applying them to market or account state. If a response is incompatible with your client, keep the affected state unavailable and follow the documented recovery steps.

Use asset metadata for identifiers and decimal scales, and the account’s funding capabilities to determine which assets it can accept. A response type alone does not establish deposit or withdrawal availability. See asset identifiers and account funding.

REST operation directory

Find REST endpoints for market data, order entry, accounts, authentication and funding below. Check each operation’s credential requirements, request fields and environment availability before integrating. Unsupported compatibility methods return HTTP 501 NotSupported.

MethodPathOperationPurpose
GET/healthgetServiceHealthGet service health
GET/readygetServiceReadinessGet service readiness
GET/openapi.jsongetOpenApiDocumentFetch the OpenAPI document
GET/v1/affiliate/availabilitygetAffiliateAvailabilityGet public affiliate availability
POST/v1/ordersplaceOrderPlace an order
POST/v1/orders/batchplaceOrderBatchPlace a LIMIT order batch
POST/v1/orders/batch/cancelcancelOrderBatchCancel an order batch
POST/v1/orders/previewpreviewOrderPreview an order
GET/v1/orders/{orderId}getOrderGet an order
POST/v1/orders/{orderId}/cancelcancelOrderCancel an order
POST/v1/withdrawalscreateWithdrawalRequest a withdrawal
GET/v1/withdrawals/{withdrawalId}getWithdrawalGet a withdrawal
POST/v1/withdrawals/{withdrawalId}/authorizeauthorizeWithdrawalAuthorize a withdrawal
POST/v1/withdrawals/{withdrawalId}/confirmconfirmDfnsWithdrawalConfirm an owner-signed withdrawal step
GET/v1/auth/capabilitiesgetAuthCapabilitiesGet authentication capabilities
POST/v1/auth/social/registerinitiateSocialAuthRegistrationStart Google/OIDC registration
POST/v1/auth/social/register/recoverrecoverSocialAuthRegistrationResolve a Google registration outcome
POST/v1/auth/register/completecompleteAuthRegistrationComplete passkey registration
POST/v1/auth/login/initinitiateAuthLoginStart passkey login
POST/v1/auth/login/completecompleteAuthLoginComplete passkey login
POST/v1/auth/social/logincompleteSocialAuthLoginLog in with Google/OIDC
POST/v1/auth/mapping/recoverrecoverAuthMappingRecover an account link
POST/v1/realtime/ticketmintRealtimeTicketMint a realtime connection ticket
PUT/v1/realtime/ticketrotateRealtimeTicketRotate a realtime connection ticket
DELETE/v1/realtime/ticketrevokeRealtimeTicketFamilyRevoke a realtime ticket family
GET/v1/marketslistMarketsList markets
GET/v1/leaderboardgetLeaderboardGet the projected realized-PnL leaderboard
GET/v1/markets/{marketId}getMarketSnapshotGet a market snapshot
GET/v1/markets/{marketId}/statsgetMarketStatsGet market stats
GET/v1/markets/{marketId}/bookgetMarketBookGet the order book
GET/v1/markets/{marketId}/candlesgetMarketCandlesGet market candles
GET/v1/market-data/candidate-marketslistMarketDataCandidateMarketsList market-data candidate markets
GET/v1/accounts/{accountId}getAccountSnapshotGet an account snapshot
GET/v1/accounts/{accountId}/positionsgetAccountPositionsGet account positions
GET/v1/accounts/{accountId}/positions/historygetAccountPositionHistoryGet account position history
GET/v1/accounts/{accountId}/transfersgetAccountTransferHistoryGet account transfer history
GET/v1/accounts/{accountId}/affiliate/earningsgetAccountAffiliateEarningsGet affiliate earnings for an account
POST/v1/accounts/{accountId}/affiliate/registrationregisterAccountAffiliateRegister an affiliate account
GET/v1/accounts/{accountId}/kycgetAccountKycStatusGet account KYC status
POST/v1/accounts/{accountId}/kyc/skipskipAccountKycSkip optional account KYC
GET/v1/accounts/{accountId}/affiliate/profilegetAccountAffiliateProfileGet an affiliate profile
GET/v1/accounts/{accountId}/fillsgetAccountFillHistoryGet account fill history
GET/v1/accounts/{accountId}/ordersgetAccountOrderHistoryGet account order history
GET/v1/accounts/{accountId}/orders/opengetAccountOpenOrdersGet live open orders
GET/v2/trading-feesv2FetchTradingFeesFetch market trading fees
GET/v2/currenciesv2FetchCurrenciesFetch currencies
GET/v2/marketsv2FetchMarketsFetch markets
GET/v2/markets/{symbol}/statsv2FetchTickerAndFundingRateFetch a ticker and funding rate
GET/v2/funding-ratesv2FetchFundingRatesFetch funding rates
GET/v2/tickersv2FetchTickersFetch tickers
GET/v2/venue/totalsgetVenueTotalsFetch venue totals
GET/v2/markets/{symbol}/candlesv2FetchOhlcvFetch OHLCV
GET/v2/markets/{symbol}/tradesv2FetchTradesFetch public trades
GET/v2/markets/{symbol}/bookv2FetchOrderBookFetch an order book
GET/v2/accounts/{accountId}v2FetchBalanceFetch balances for every held asset
GET/v2/accounts/{accountId}/positionsv2FetchPositionsFetch positions
POST/v2/ordersv2CreateOrdersCreate LIMIT orders
POST/v2/orderv2CreateOrderCreate one order
POST/v2/twap-ordersv2CreateTwapOrderCreate a TWAP order
POST/v2/orders/{orderId}/cancelv2CancelOrderCancel one order
POST/v2/orders/cancelv2CancelOrdersCancel orders
POST/v2/orders/cancel-allv2CancelAllOrdersCancel every open order of one symbol
GET/v2/orders/{orderId}v2FetchOrderFetch an order
GET/v2/accounts/{accountId}/ordersv2FetchOrdersFetch orders
GET/v2/accounts/{accountId}/orders/openv2FetchOpenOrdersFetch open orders
GET/v2/accounts/{accountId}/fillsv2FetchMyTradesFetch private trades
GET/v2/spot/marketsv2FetchMarketsSpotFetch markets (spot)
GET/v2/perps/marketsv2FetchMarketsPerpsFetch markets (perps)
GET/v2/spot/markets/{symbol}/statsv2FetchTickerAndFundingRateSpotFetch a ticker and funding rate (spot)
GET/v2/perps/markets/{symbol}/statsv2FetchTickerAndFundingRatePerpsFetch a ticker and funding rate (perps)
GET/v2/spot/tickersv2FetchTickersSpotFetch tickers (spot)
GET/v2/perps/tickersv2FetchTickersPerpsFetch tickers (perps)
GET/v2/spot/markets/{symbol}/candlesv2FetchOhlcvSpotFetch OHLCV (spot)
GET/v2/perps/markets/{symbol}/candlesv2FetchOhlcvPerpsFetch OHLCV (perps)
GET/v2/spot/markets/{symbol}/tradesv2FetchTradesSpotFetch public trades (spot)
GET/v2/perps/markets/{symbol}/tradesv2FetchTradesPerpsFetch public trades (perps)
GET/v2/spot/markets/{symbol}/bookv2FetchOrderBookSpotFetch an order book (spot)
GET/v2/perps/markets/{symbol}/bookv2FetchOrderBookPerpsFetch an order book (perps)
GET/v2/spot/trading-feesv2FetchTradingFeesSpotFetch market trading fees (spot)
GET/v2/perps/trading-feesv2FetchTradingFeesPerpsFetch market trading fees (perps)
GET/v2/perps/funding-ratesv2FetchFundingRatesPerpsFetch funding rates (perps)
GET/v2/perps/accounts/{accountId}/positionsv2FetchPositionsPerpsFetch positions (perps)
POST/v2/spot/orderv2CreateOrderSpotCreate one order (spot)
POST/v2/perps/orderv2CreateOrderPerpsCreate one order (perps)
POST/v2/spot/ordersv2CreateOrdersSpotCreate LIMIT orders (spot)
POST/v2/perps/ordersv2CreateOrdersPerpsCreate LIMIT orders (perps)
POST/v2/spot/twap-ordersv2CreateTwapOrderSpotCreate a TWAP order (spot)
POST/v2/spot/orders/{orderId}/cancelv2CancelOrderSpotCancel one order (spot)
POST/v2/perps/orders/{orderId}/cancelv2CancelOrderPerpsCancel one order (perps)
POST/v2/spot/orders/cancelv2CancelOrdersSpotCancel orders (spot)
POST/v2/perps/orders/cancelv2CancelOrdersPerpsCancel orders (perps)
POST/v2/spot/orders/cancel-allv2CancelAllOrdersSpotCancel every open order of one symbol (spot)
POST/v2/perps/orders/cancel-allv2CancelAllOrdersPerpsCancel every open order of one symbol (perps)
GET/v2/spot/orders/{orderId}v2FetchOrderSpotFetch an order (spot)
GET/v2/perps/orders/{orderId}v2FetchOrderPerpsFetch an order (perps)
GET/v2/spot/accounts/{accountId}/ordersv2FetchOrdersSpotFetch orders (spot)
GET/v2/perps/accounts/{accountId}/ordersv2FetchOrdersPerpsFetch orders (perps)
GET/v2/spot/accounts/{accountId}/orders/openv2FetchOpenOrdersSpotFetch open orders (spot)
GET/v2/perps/accounts/{accountId}/orders/openv2FetchOpenOrdersPerpsFetch open orders (perps)
GET/v2/spot/accounts/{accountId}/fillsv2FetchMyTradesSpotFetch private trades (spot)
GET/v2/perps/accounts/{accountId}/fillsv2FetchMyTradesPerpsFetch private trades (perps)
POST/v2/spot/orders/{orderId}/editv2EditOrderSpotEdit one order (spot)
POST/v2/perps/orders/{orderId}/editv2EditOrderPerpsEdit one order (perps)
POST/v2/spot/orders/editv2EditOrdersSpotEdit orders (spot)
POST/v2/perps/orders/editv2EditOrdersPerpsEdit orders (perps)
POST/v1/accounts/{accountId}/party/consentensureAccountReceiverConsentSet up receiver-only USD.E consent
POST/v1/accounts/{accountId}/partyinitAccountPartyOnboardingStart secure account setup
GET/v1/accounts/{accountId}/partygetAccountPartyOnboardingGet the status of secure account setup
POST/v1/accounts/{accountId}/party/completecompleteAccountPartyOnboardingComplete secure account setup
POST/v1/accounts/{accountId}/local-signing-walletcreateLocalSigningWalletCreate a local signing wallet
POST/v1/accounts/{accountId}/faucet-grantrequestAccountFaucetGrantRequest the account's test funds
GET/v1/accounts/{accountId}/local-signing-funding-intentslistLocalSigningFundingIntentsList owner funding intents
POST/v1/accounts/{accountId}/depositsprepareLocalSigningDepositPrepare a deposit
POST/v1/accounts/{accountId}/deposits/confirmconfirmLocalSigningDepositAuthorize a deposit
PUT/v1/accounts/{accountId}/favorites/{marketId}putAccountMarketFavoriteFavorite a market
DELETE/v1/accounts/{accountId}/favorites/{marketId}deleteAccountMarketFavoriteUnfavorite a market
POST/v1/agent-connect/startstartAgentConnectStart connecting an agent
POST/v1/agent-connect/completecompleteAgentConnectCollect the API key of an approved agent
POST/v1/accounts/{accountId}/agent-connect/approveapproveAgentConnectApprove an agent for the account
GET/v1/api-keys/currentgetCurrentApiKeyRead the authenticated API key metadata
GET/v1/accounts/{accountId}/api-keyslistApiKeysList the account's API keys
DELETE/v1/accounts/{accountId}/api-keys/{keyId}revokeApiKeyRevoke an API key