Quote.Trade Authenticated Trading API
Signed regular MARKET and LIMIT order placement.
Signed regular MARKET and LIMIT order placement.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/quote-trade:quote-trade-authenticated-trading-api"
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.
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: 3.2.0
info:
title: Quote.Trade REST Authenticated Trading API
version: 0.2.0
license:
name: Quote.Trade Terms of Service
url: https://quote.trade/terms-of-service
description: Quote.Trade public market-data and authenticated regular-order API for an AI-native crypto dark-pool DEX. Authenticated requests require an API key and an HMAC-SHA256 signature over the exact serialized request bytes. Quote.Trade uses private bilateral IOC/FOK execution with public smart-contract funding, withdrawals, balances, and position state. Funding-contract balances are point-in-time collateral measurements; private orders and fills remain in authenticated execution records. Quotes are size-aware and all-in, with no separate trading commission added after the quote. Up to 20x leverage is available on supported perpetual markets, subject to asset/position-size margin tiers and account limits.
x-quote-trade-architecture:
execution: private bilateral IOC/FOK
funding: V6 smart contracts on Ethereum and XDC
positionState: PositionManager on Polygon and XDC
versioning: direct non-upgradeable deployments with explicit migrations
x-quote-trade-pricing:
standardTargetBpsFromMidPerSide: 13
liveQuoteAuthoritative: true
comparisonMethod: completed immediate taker execution at the same size
x-quote-trade-agent-workflows:
canonicalPrivateInterface: hosted MCP or documented authenticated REST/WebSocket
withdrawalsSupported: true
withdrawalDestination: registered-login-wallet
orderApprovalText: APPROVE QUOTE.TRADE LIVE ORDER
withdrawalApprovalText: APPROVE QUOTE.TRADE LIVE WITHDRAW
x-quote-trade-verification:
fundingCore: '0xfb41c4f731a064fb3911d16d529be0c2958d5fc6'
viewsCompanion: '0x228d706e0651038dd8ec151e2f639b3e47ffecb6'
positionManager: '0xf857aC7bed76B43c5457f56483803C4CebbD7eff'
fundingNetworks:
- Ethereum
- XDC
positionNetworks:
- Polygon
- XDC
coverageMethod: physical assets compared with aggregate positive published withdrawal balances
publishedBalanceVerification: Polygon and XDC position snapshots reconcile against balances published in V6; those balances are compared with actual USDC/USDT held in the Ethereum and XDC funding contracts, mathematically verifying published balances and collateral coverage while private trades, counterparties, routing, and volume remain private.
v6Versioning: V6 is the new non-upgradeable contract version. New contract logic requires a new deployment and migration instead of modifying the existing contract in place.
reconciliationMap:
ethereumFunding: V6 Ethereum USDC/USDT assets and published balances
ethereumPositions: corresponding completed Polygon PositionManager state
xdcFunding: V6 XDC USDC assets and published balances
xdcPositions: corresponding completed XDC PositionManager state
snapshotRequirements:
- complete publication
- processedBatches equals totalBatches
- lastSyncedTime current relative to syncFrequency
- aligned wallet, user, asset, scale, composite, snapshot, and timestamp
operationalKeyProtections:
- direct non-upgradeable core
- separated publisher and withdrawal roles
- registered-wallet settlement
- three observations at least 22 hours apart
- shared lowest-observation 1.5x cap
- complete multipart publication and cooldown
- replay and physical-liquidity checks
- exact debit and recipient-credit invariants
- timelocked composite changes
- emergency signer-epoch rotation
servers:
- url: https://app.quote.trade/api
security: []
tags:
- name: Authenticated Trading
description: Signed regular MARKET and LIMIT order placement.
paths:
/v2/order:
post:
tags:
- Authenticated Trading
operationId: placeRegularOrder
summary: Place a regular MARKET or LIMIT order
description: Places a regular private order. Omit apiManaged or set it to false for this contract. LIMIT orders may include a client price or omit price for server pricing from the current quantity-aware market reference. MARKET orders do not require price. The same route also carries advanced managed single-parent orders, but those require apiManaged true and follow the separate advanced-order documentation. Inspect the response body as well as the HTTP status because existing business-error conventions can return an error object in an HTTP 200 response. After an ambiguous timeout, reconcile order status before retrying.
externalDocs:
description: Regular order and signing documentation
url: https://doc.quote.trade/#order-buy-sell
security:
- ApiKeyHeader: []
SignatureHeader: []
x-quote-trade-signing: HMAC-SHA256 with the API secret over the exact raw query string after ? (if present) immediately followed by the exact UTF-8 JSON request-body bytes. Send the digest in the signature header and the key in X-MBX-APIKEY. Do not reserialize the body after signing.
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/RegularOrderRequest'
examples:
pricedLimit:
summary: LIMIT with a client price
value:
symbol: BTC
side: BUY
type: LIMIT
quantity: 0.001
price: 75000
newClientOrderId: btc-limit-001
timestamp: 1793942400000
unpricedLimit:
summary: LIMIT priced by the server
value:
symbol: BTC
side: SELL
type: LIMIT
quantity: 0.001
newClientOrderId: btc-limit-002
timestamp: 1793942400000
market:
summary: MARKET order
value:
symbol: ETH
side: BUY
type: MARKET
quantity: 0.01
newClientOrderId: eth-market-001
timestamp: 1793942400000
aggressiveMarket:
summary: Aggressive MARKET strategy
value:
symbol: ETH
side: SELL
type: MARKET
quantity: 0.01
targetStrategy: 204
newClientOrderId: eth-market-002
timestamp: 1793942400000
responses:
'200':
description: Order acknowledgement, execution result, or business-error object
content:
application/json:
schema:
oneOf:
- $ref: '#/components/schemas/OrderResponse'
- $ref: '#/components/schemas/APIError'
examples:
filled:
value:
accountId: 222
symbol: BTC
clientOrderId: btc-limit-001
executedQty: '0.001000'
orderId: 28051110618
origQty: '0.001'
price: '75000.00000000'
reduceOnly: 'false'
side: BUY
status: FILLED
stopPrice: '0'
timeInForce: GOOD_TILL_CANCEL
type: LIMIT
targetStrategy: '0'
updateTime: 1793942400123
rejected:
value:
error: Limit price too far from market
'400':
$ref: '#/components/responses/APIError'
'401':
$ref: '#/components/responses/APIError'
'403':
$ref: '#/components/responses/APIError'
'429':
$ref: '#/components/responses/RateLimitError'
'500':
$ref: '#/components/responses/APIError'
components:
schemas:
OrderResponse:
type: object
additionalProperties: true
properties:
accountId:
type: integer
format: int64
symbol:
type: string
clientOrderId:
type: string
executedQty:
type: string
orderId:
type: integer
format: int64
origQty:
type: string
price:
type: string
reduceOnly:
type: string
enum:
- 'true'
- 'false'
side:
type: string
enum:
- BUY
- SELL
status:
type: string
enum:
- NEW
- PARTIALLY_FILLED
- FILLED
- CANCELED
- EXPIRED
- REJECTED
- UNKNOWN
stopPrice:
type: string
timeInForce:
type: string
type:
type: string
targetStrategy:
type: string
updateTime:
type: integer
format: int64
assetId:
type: integer
tokenId:
type: integer
groupAssetId:
type: integer
required:
- symbol
- clientOrderId
- orderId
- status
RateLimitError:
type: object
properties:
error:
type: string
retryAfter:
type: string
RegularOrderRequest:
type: object
additionalProperties: true
required:
- symbol
- side
- quantity
properties:
symbol:
type: string
description: Supported symbol from getInstrumentPairs or exchangeInfo.
examples:
- BTC
side:
type: string
enum:
- BUY
- SELL
quantity:
type: number
exclusiveMinimum: 0
description: Positive base-asset quantity with up to six decimal places.
type:
type: string
enum:
- LIMIT
- MARKET
default: LIMIT
price:
type: number
minimum: 0
description: Optional LIMIT price in USD with up to eight decimal places. A missing or zero LIMIT price requests server pricing. MARKET ignores this field.
targetStrategy:
type: integer
default: 0
description: Use 0 for a normal order or 204 with MARKET for aggressive execution.
examples:
- 0
- 204
timeInForce:
type: string
enum:
- GTC
default: GTC
newClientOrderId:
type: string
minLength: 3
description: Client-provided unique ID. Do not also send clientOrderId.
clientOrderId:
type: string
minLength: 3
description: Accepted alias of newClientOrderId. Do not send both aliases.
account:
type: integer
format: int64
description: Defaults to the authenticated user's account.
isToClose:
type: integer
enum:
- 0
- 1
default: 0
disableLeverage:
type: integer
enum:
- 0
- 1
default: 0
blockWaitAck:
type: integer
enum:
- 0
- 1
default: 1
description: Wait briefly for acknowledgement when 1; return immediately when 0.
apiManaged:
type: boolean
enum:
- false
default: false
description: Must be omitted or false for this regular-order schema.
timestamp:
type: integer
format: int64
description: Recommended request creation time in Unix milliseconds.
recvWindow:
type: integer
format: int64
minimum: 1
maximum: 60000
description: Optional compatibility field for transports that validate freshness.
APIError:
type: object
properties:
error:
type: string
examples:
- Invalid symbol.
required:
- error
responses:
APIError:
description: API error
content:
application/json:
schema:
$ref: '#/components/schemas/APIError'
RateLimitError:
description: Rate limit; use bounded backoff and honor Retry-After when present
headers:
Retry-After:
schema:
type: string
content:
application/json:
schema:
$ref: '#/components/schemas/RateLimitError'
securitySchemes:
ApiKeyHeader:
type: apiKey
in: header
name: X-MBX-APIKEY
description: Active Quote.Trade API key with trading permission.
SignatureHeader:
type: apiKey
in: header
name: signature
description: Lowercase or uppercase hexadecimal HMAC-SHA256 digest calculated with the API secret over the exact raw query plus exact request-body bytes.
externalDocs:
description: Quote.Trade API, agent, MCP, trading, withdrawal, and verification documentation
url: https://quote.trade/for-agents