Convert Estimate
The endpoint creates a quote for converting one currency to another. Quote lifetime is 10 seconds, then quote will be expired.
Rate limit: 10000 requests/10 sec.
Estimating market order prices: Use this endpoint to get an approximate price for market-size orders before execution. The returned rate and receive fields show the effective conversion rate and expected amount, which can serve as a price estimation for equivalent market orders.
Authorizations
API Key authentication for private endpoints.
Required headers:
- X-TXC-APIKEY: API key
- X-TXC-PAYLOAD: Base64 encoded JSON payload
- X-TXC-SIGNATURE: HMAC SHA512 signature
Body
From currency. Example: BTC
"BTC"
To currency. Example: USDT
"USDT"
Convert amount direction, defines in which currency corresponding "amount" field is populated. Use "to" in case amount is in "to" currency, use "from" if amount is in "from" currency
from, to "to"
Amount to convert or receive.
"35,103.1"
Nonce for request
1699260637
Request path
"{{request}}"
Response
Successful response
Quote ID
"123"
From currency
"BTC"
To currency
"USDT"
Amount to give
"50"
Amount to receive
"1714988.41577452"
Conversion rate
"34299.76831549"
Quote expiration timestamp
1699016476
Was this page helpful?