# Place, amend or cancel a spot or perp order and confirm it

> Place, amend or cancel a spot or perp order and confirm it: 5 companies fully do it, 15 with a limit, 20 carry the tag. Every listing in Crypto exchanges with the reason and a source.

- Canonical: https://www.anchorterminal.com/niches/crypto-exchanges.place-order/
- Markdown: https://www.anchorterminal.com/niches/crypto-exchanges.place-order/index.md (~1,900 tokens)
- Slim: https://www.anchorterminal.com/niches/crypto-exchanges.place-order/index.min.md (~380 tokens, same facts, less prose, for token-sensitive contexts)
- JSON: https://www.anchorterminal.com/niches/crypto-exchanges.place-order/index.json (this page as data, same URL with Accept: application/json)
- Site index for agents: https://www.anchorterminal.com/llms.txt (the key docs and every listing in one file, at most 16 MB, about 4 million tokens: https://www.anchorterminal.com/llms-full.txt)
- API: https://www.anchorterminal.com/api/v1/index.json
- MCP: https://www.anchorterminal.com/mcp (the whole catalogue as tools, no key)
- DNS: dig +short TXT <slug>.grade.anchorterminal.com (the grade as a DNS TXT record, for a sandbox with no HTTP where names still resolve; also top., best.<category>. and <a>.vs.<b>. under the zone, and the same under grade.letme.dev)
- Licence: CC BY 4.0, credit Anchor Terminal and link this page (https://www.anchorterminal.com/terms/#data)
- Updated: 2026-11-15

Four or more companies' docs show a full fit.

| Companies, full fit | With a limit | Carry the tag | Share of the category's work | First-hand accounts |
| --- | --- | --- | --- | --- |
| 5 | 15 | 20 | 14 | 12 |

## What counts as done

An order id and status from the exchange, the order readable back by the client order id the agent sent, and the agent able to cancel it. A rejected order carries a reason that names the bad field.

Measured, for our own tests: the order id and status arrive within 5 seconds, and the cancel takes one further call.

How agents ask for it: buy 0.01 BTC at 60,000 limit; market sell half my ETH; cancel that order; place this order with my client id and tell me when it fills

## Does the job

The docs show it meets the test above, and nothing we read says otherwise.

- **Binance API (Binance)**: POST /api/v3/order takes newClientOrderId, unique among open orders with duplicates rejected; GET and DELETE accept origClientOrderId; rejections read Filter failure: MIN_NOTIONAL, LOT_SIZE or PRICE_FILTER.
- **Bybit (Bybit Virtual Asset Platform Operator L.L.C. S.P.C)**: orderLinkId is always unique for spot, perps and futures and required for options; open-order queries by orderLinkId; errors such as 170136 and 110017 name the quantity or price rule. Create is asynchronous.
- **Deribit (Deribit FZE)**: private/buy and sell with label, post_only, reduce_only and trigger fields; cancel and edit by label; errors carry a code and name such as invalid_arguments. acc-02 calls Deribit the reliable exception.
- **Kraken API (Payward, Inc.)**: AddOrder with cl_ord_id that uniquely identifies an open order, validate=true to check without trading, and cancel or query by cl_ord_id; the CLI maps these to --cl-ord-id and --validate.
- **Upbit Open API (Dunamu Inc.)**: Orders with ord_type limit, price, market or best and an identifier that must be unique across the account and is never reusable; lookup by uuid or identifier; orders/test validates first.

## Does the job, with a limit

It does the job, but something in the docs or a user's account will get in an agent's way. The limit is named in each row.

- **Bitfinex API (iFinex Inc.)**: Submit order takes a cid and returns a notification array; orders are fetched by cid only together with cid_date, and the docs show no rejection text naming the bad field.
- **Bitget (BTG Technology Holdings Limited)**: POST /api/v3/trade/place-order with clientOid (1 to 32 chars, orderId wins if both sent) and lookup by clientOid; the error list gives codes with generic text, so a rejection may not name the field. acc-33 hit a 5 dollar minimum.
- **Bithumb Open API (Bithumb Co., Ltd.)**: POST /v2/orders with limit, price, market or best types and an optional client_order_id of 1 to 36 chars, readable back by it; the error code page was not opened, and keys need a verified Korean account.
- **Bitstamp API (Bitstamp Ltd.)**: Order endpoints take client_order_id and errors name the field (400.008 malformed client_order_id, 400.020 below minimum); duplicate client_order_ids are allowed since November 2023, so a retry can execute twice.
- **Coinbase Advanced Trade API (Coinbase, Inc.)**: client_order_id must be unique and a repeat returns the existing order; a preview endpoint and enumerated failure reasons exist; but 40 to 55 per cent of signed requests got bare 401s from one HTTP client (acc-20).
- **Coinbase MCP server (Coinbase for Agents) (Coinbase, Inc.)**: orders_preview then orders_create with a portfolio named; Claude asks for confirmation; the docs warn that high-reasoning modes stop short of executing and lower-tier models pick the wrong product.
- **Crypto.com Exchange API (Foris DAX Limited)**: cdcx_trade_order with acknowledged: true, --dry-run preview and order detail by client_oid; the Exchange API docs host answers 403, so rejection texts and min-size rules are unverified.
- **dYdX (dYdX Trading Inc.)**: Orders are signed chain transactions with a unique 32-bit clientId; the indexer fetches an order by its own id, and market orders are limits with slippage that the client reports as limit (acc-19).
- **Gate (Gate)**: cex_spot_create_spot_order exists locally and hosted; on the hosted server the text client id is overwritten with remote_mcp (acc-11); the API v4 docs on gate.com answered 403 here.
- **Gemini Exchange API (Gemini Trust Company, LLC)**: /v1/order/new takes client_order_id and /v1/order/cancel by order_id; order status is fetched by order_id only and the spec does not say duplicates are rejected.
- **HTX trading API (HTX)**: client-order-id up to 64 chars is no longer checked for uniqueness, so the latest order wins on lookup; errors name the rule (order-value-min-error: Order total cannot be lower than 5 USDT).
- **Hyperliquid (Hyperliquid Labs)**: order action with cloid, reduceOnly and per-order statuses; unrounded prices give Px is invalid and BTC prices above 100,000 must be whole numbers (acc-07, acc-32); errors are strings without codes.
- **KuCoin (KuCoin)**: clientOid up to 40 chars with lookup and cancel by clientOid and an order test endpoint; the SDK says not to reuse a clientOid but not what happens if you do; docs pages render by script.
- **MEXC API (MEXC (Comoros) Ltd)**: newClientOrderId with lookup and cancel by origClientOrderId, POST /api/v3/order/test, and errors that name the rule (minimum transaction volume cannot be less than 0.5 USDT); uniqueness of the client id is not stated.
- **OKX API (Aux Cayes FinTech Co. Ltd.)**: clOrdId unique among live orders and reusable after terminal state, used to query, cancel and amend; instruments publish tickSz, lotSz and minSz; but 51000 is a generic Parameter error.
- **Uniswap Trading API (Uniswap Labs)**: /quote then /swap builds a transaction the agent signs and broadcasts; there is no order id, status or cancel, and quotes expire in 30 seconds.

## What stops agents finishing

- minimum notional rejects risk-sized orders silently, so half the signals never trade
- price above a threshold must be a whole number and the error does not say so
- duplicate client order ids accepted, so a retry after a timeout executes twice

## Around it

Before: crypto-exchanges.market-data-read, crypto-exchanges.rehearse-no-money, decision-models.size-position. After: crypto-exchanges.protective-orders, crypto-exchanges.read-back-state, notifications.telegram-alert.

## Where this comes from

Weight 14 of 100 in Crypto exchanges: 12 of 40 accounts place orders; the repeated failures are price and size formatting (acc-07, acc-25, acc-32, acc-33) and order type reported wrongly (acc-19)

As data: https://www.anchorterminal.com/api/v1/use-cases/crypto-exchanges.place-order.json, or the MCP tool get_use_case with id crypto-exchanges.place-order. Draft, read 2026-11-12 from public docs and first-hand accounts, not yet reviewed by a person.

---

Query this catalogue directly over MCP: https://www.anchorterminal.com/mcp (Streamable HTTP, no key). How: https://www.anchorterminal.com/agents/#mcp
