applyQuote
Apply for a conversion quote to lock in the exchange rate and get quote ID, expiration time, and exact amounts before confirming a trade.
Instructions
Apply for a conversion quote. The system will return:
Quote ID (quoteTxId)
Real-time exchange rate
Quote expiration time
Conversion amounts
Quote Rules:
Quotes have a time limit, typically 30 seconds
A new quote must be requested after expiration
The quote amount must be within the trading pair limits
Important: Only API keys from the Master UID can call this endpoint.
Use Cases:
Lock in an exchange rate before confirming a trade
Show users the exact amount they will receive
Validate trade parameters before execution
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| toCoin | Yes | ||
| fromCoin | Yes | ||
| toCoinType | Yes | ||
| fromCoinType | Yes | ||
| requestAmount | Yes | ||
| requestCoinType | No | fiat |