amount.| Mode | How | What you get |
|---|---|---|
| Indicative | Omit customerId | The general market rate — for display, tickers, connectivity tests |
| Customer-specific | Pass customerId | The rate priced for that customer (fee tier / spread applied) |
POST /api/v1/quote and place the order while it is valid.^[A-Za-z0-9]{1,10}$ is rejected with 422 rather than looked up as a pair.| Field | Type | Description | Constraints |
|---|---|---|---|
fromAsset | string | The CRYPTO ticker, in both directions (e.g. USDT, BTC) | Required · 1-10 chars · ^[A-Za-z0-9]{1,10}$ |
toAsset | string | The FIAT code, in both directions (e.g. USD). Must differ from fromAsset | Required · 1-10 chars · ^[A-Za-z0-9]{1,10}$ |
| Field | Type | Description | Constraints |
|---|---|---|---|
amount | number | Quantity of fromAsset to convert; echoed back as fromAssetValue | Default: 1 |
customerId | string (uuid) | Omit for the indicative market rate; pass for a customer-specific rate | Nullable |
action | string | Trade direction. Selects the pricing side: buy | sell | Default: buy |
POST /api/v1/quote · POST /api/v1/ordercurl --location '/api/v1/quote//?amount=&customerId=&action=' \
--header 'X-API-Key: <api-key>' \
--header 'X-Timestamp: <api-key>' \
--header 'X-Nonce: <api-key>' \
--header 'X-Body-Hash: <api-key>' \
--header 'X-Signature: <api-key>'{
"success": true,
"message": null,
"data": {
"fromAsset": "USDT",
"toAsset": "USD",
"fromAssetValue": 20,
"toAssetValue": 20,
"exchangeRate": "1"
},
"errors": []
}