Crypto.com Trading API

Private trading endpoints manage order placement and lifecycle. All order operations (create, amend, cancel) are asynchronous — the REST response confirms the request was received, but order lifecycle updates arrive via WebSocket subscriptions. ## Order Management Workflow **Create Order** Call `private/create-order` to submit a new order. The response returns an `order_id` and `client_oid`, but the order may still be pending acceptance by the matching engine. Subscribe to `user.order` or `user.order.{instrument_name}` to receive real-time order status updates. **Amend Order** Call [`private/amend-order`](/docs/api/rest/private-amend-order) to modify price or quantity on an existing order. Behind the scenes, amend performs a cancel-then-create operation. The new order loses queue priority unless you are only reducing quantity. **Cancel Order** Call [`private/cancel-order`](/docs/api/rest/private-cancel-order) to cancel a single order by `order_id` or `client_oid`, or [`private/cancel-all-orders`](/docs/api/rest/private-cancel-all-orders) to cancel all orders for a given instrument. ## Order Types | Type | Description | |------|-------------| | `LIMIT` | Limit order with specified price. Rests on the order book until filled or canceled. | | `MARKET` | Market order that executes immediately at best available price. | For trigger orders (stop-loss, take-profit) and multi-leg strategies (OCO, OTO, OTOCO), see [Advanced Order Management](/docs/api/rest/advanced-order-management). ## Time in Force | Value | Description | |-------|-------------| | `GOOD_TILL_CANCEL` | Order remains active until filled or explicitly canceled. Default for limit orders. | | `IMMEDIATE_OR_CANCEL` | Order fills immediately (partial or full), unfilled portion is canceled. | | `FILL_OR_KILL` | Order must fill entirely and immediately, or the entire order is canceled. | ## Execution Instructions Execution instructions are passed as an array in `exec_inst`. Multiple instructions can be combined. | Instruction | Description | |-------------|-------------| | `POST_ONLY` | Order is rejected if it would take liquidity. Ensures maker fee. | | `SMART_POST_ONLY` | If the order would take liquidity, it is repriced to the best maker level instead of being rejected. | | `REDUCE_ONLY` | Order can only reduce an existing position, not increase or open a new position. | ## Order Statuses | Status | Description | |--------|-------------| | `PENDING` | Order submitted, awaiting processing by the matching engine. | | `NEW` | Order accepted by the matching engine, not yet on the order book. | | `ACTIVE` | Order is live on the order book, waiting to be filled. | | `FILLED` | Order has been completely filled. | | `CANCELED` | Order was canceled (by user request, or by system). | | `EXPIRED` | Order expired due to time-in-force constraints. | | `REJECTED` | Order was rejected (e.g., invalid parameters, risk checks failed). | ## Querying Orders and Trades - [`private/get-open-orders`](/docs/api/rest/private-get-open-orders) — retrieve all currently active orders - [`private/get-order-detail`](/docs/api/rest/private-get-order-detail) — fetch detailed information about a single order - [`private/get-order-history`](/docs/api/rest/private-get-order-history) — retrieve past orders (filled, canceled, or rejected) - [`private/get-trades`](/docs/api/rest/private-get-trades) — retrieve executed trades (fills) ## Real-Time Order and Trade Updates Subscribe to the following WebSocket channels for real-time updates: | Channel | Description | |---------|-------------| | `user.order` | Order lifecycle events across all instruments | | `user.order.{instrument_name}` | Order updates for a specific instrument | | `user.trade` | Trade execution events across all instruments | | `user.trade.{instrument_name}` | Trade execution events for a specific instrument | These subscriptions require authentication and eliminate the need for polling REST endpoints.

GitHub OpenAPI
Business capability
Trading Order Management BC-1370.30

Operations 19

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /private/create-order Place a buy or sell order · private/create-order #
Ask an LLM
“How do I place a market or limit order on Crypto.com?”
“Is placing an order immediate or do I get a confirmation?”
Tell an agent
Place a buy or sell order for this instrument.
Submit a new order and confirm it was received.
POST /private/amend-order Amend an existing order · private/amend-order #
Ask an LLM
“Can I change an order I already placed?”
“Does amending an order lose my place in the queue?”
Tell an agent
Amend an existing order on the exchange.
Change the quantity of an order I already placed.
POST /private/cancel-order Cancel an order · private/cancel-order #
Ask an LLM
“How do I cancel a single order I placed?”
“Can I cancel an order before it fills?”
Tell an agent destructive · confirm first
Cancel one order on the exchange.
Withdraw a single order I placed.
POST /private/cancel-all-orders Cancel all orders for an instrument · private/cancel-all-orders #
Ask an LLM
“Can I cancel every order I have open for one instrument at once?”
“What happens to my open orders when I cancel them all?”
Tell an agent destructive · confirm first
Cancel all my open orders for this instrument.
Clear every order on an instrument in one request.
POST /private/close-position Close a position · private/close-position #
Ask an LLM
“How do I close an open position on an instrument?”
“Can I close a position without placing a new order?”
Tell an agent destructive · confirm first
Close my position on this instrument.
Exit my open position on an instrument.
POST /private/get-open-orders List my open orders · private/get-open-orders #
Ask an LLM
“Which of my orders are still open?”
“What is the status of my open orders on an instrument?”
Tell an agent
List all my open orders.
Show every order I have open.
POST /private/get-order-detail Get an order's detail · private/get-order-detail #
Ask an LLM
“What is the status of one specific order?”
“Can I look up an order by its client order ID?”
Tell an agent
Get the detail of a single order.
Show me the status of one order by its ID.
POST /private/create-order-list Place a list of orders · private/create-order-list (LIST) #
Ask an LLM
“Can I submit several orders in one request?”
“Is there a way to create a list of orders at once?”
Tell an agent
Create a list of orders on the exchange.
Submit a batch of orders in one request.
POST /private/cancel-order-list Cancel a list of orders · private/cancel-order-list (LIST) #
Ask an LLM
“Can I cancel a batch of orders at once?”
“How do I clear several orders I placed in one call?”
Tell an agent destructive · confirm first
Cancel a list of orders on the exchange.
Clear a batch of orders I placed.
POST /private/change-account-leverage Change my account leverage · private/change-account-leverage #
Ask an LLM
“How do I change the maximum leverage my account uses?”
“Does the instrument's own leverage cap my account leverage?”
Tell an agent
Change the leverage used by my account.
Set my account's maximum leverage.
POST /private/change-account-settings Change account settings · private/change-account-settings #
Ask an LLM
“Can I change my account's STP settings?”
“What account-level settings can I change?”
Tell an agent
Change my account's settings.
Update my account-level STP and other properties.
POST /private/get-account-settings Get my account settings · private/get-account-settings #
Ask an LLM
“What leverage and STP settings does my account have?”
“How do I check my account settings?”
Tell an agent
Get my account settings.
Show the leverage and STP settings on my account.
POST /private/create-isolated-margin-transfer Transfer balance to an isolated margin position · private/create-isolated-margin-transfer #
Ask an LLM
“How do I move funds between my account and an isolated margin position?”
“Can I transfer balance into an isolated position?”
Tell an agent
Transfer balance between my account and an isolated margin position.
Move funds into an isolated position.
POST /private/change-isolated-margin-leverage Change leverage on an isolated position · private/change-isolated-margin-leverage #
Ask an LLM
“How do I change the leverage on an isolated margin position?”
“Can I adjust leverage on a single isolated position?”
Tell an agent
Change the leverage of an isolated margin position.
Adjust the leverage on one isolated position.
POST /private/get-fee-rate Get my account fee rate · private/get-fee-rate #
Ask an LLM
“What fee rate does my account pay?”
“How much do I pay in fees as a user?”
Tell an agent
Get the fee rate for my account.
Show my account's fee rate.
POST /private/get-instrument-fee-rate Get an instrument's fee rate · private/get-instrument-fee-rate #
Ask an LLM
“What fee rate does a specific instrument charge?”
“How much does one instrument cost me in fees?”
Tell an agent
Get the fee rate for this instrument.
Show the instrument's fee rate.
POST /private/get-order-history Get my order history for an instrument · private/get-order-history #
Ask an LLM
“What orders have I placed and filled on an instrument?”
“Can I recover my order history after a websocket disconnect?”
Tell an agent
Get my order history for this instrument.
Show the filled and canceled orders on an instrument.
POST /private/get-trades Get my executed trades · private/get-trades #
Ask an LLM
“Which trades have I executed on an instrument?”
“Can I fetch my trade history after a websocket disconnect?”
Tell an agent
Get all executed trades on this instrument.
Show my trade history for an instrument.
POST /private/get-transactions Get recent transactions · private/get-transactions #
Ask an LLM
“What recent transactions have happened on my account?”
“Can I fetch my transaction history?”
Tell an agent
Fetch recent transactions on my account.
Show my latest account transactions.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/crypto-com:crypto-com-trading-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

crypto-com-trading-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Crypto.com Exchange API v1 Trading API
  version: 1.0.0
  description: '## Welcome


    Welcome to the Crypto.com Exchange API v1 reference documentation.'
servers:
- url: https://api.crypto.com/exchange/v1
  description: Production
- url: https://uat-api.3ona.co/exchange/v1
  description: UAT Sandbox
tags:


# --- truncated at 32 KB (106 KB total) ---
# Full source: https://artifacts.apis.io/crypto-com/openapi/crypto-com-trading-api-openapi.yml