Create a quote
Generate a time-limited quote for asset conversion, providing exchange rate and amount calculations.
If side is omitted it defaults to SELL. Use side: BOTH to get quotes for each side the provider supports in a single call; providers that support only one side return that side only. Every returned quote carries a concrete BUY or SELL side, never BOTH.
Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Editor.
For detailed information about error codes and troubleshooting, please refer to our API Error Codes documentation.
Headers
A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours.
Body
The asset you receive on BUY / give on SELL.
The counter asset used to pay/receive.
Amount in baseAssetId. BUY = base amount to receive; SELL = base amount to sell.
^\d+(\.\d+)?$"100.00"
Transfer rail:
- BLOCKCHAIN - Transfer over the public blockchain
- INTERNAL - Internal transfer within the same account (e.g. sub-accounts or same api key)
- SWIFT - International wire transfer
- IBAN - International Bank Account Number transfer
- US_WIRE - Domestic wire transfer within the United States (e.g. FedWire)
- ACH - Automated Clearing House transfer, typically takes longer but not as expensive as wire transfers
- SEPA - Euro transfers within the SEPA zone
- SPEI - Mexican interbank electronic payment system
- PIX - Brazilian instant payment system
- LBT - Local bank transfers
- MOMO - Mobile money transfers (e.g. M-Pesa)
- CHAPS - The Clearing House Automated Payment System (CHAPS) is a real-time gross settlement payment system used for transactions in the United Kingdom
- PAYID - PayID payment identifier system (Australia)
- INTERAC - Interac electronic funds transfer (Canada)
- INTERNAL_TRANSFER - Internal transfer between accounts
- CIPS - Cross-Border Interbank Payment System (China)
- NEQUI - Nequi mobile payment (Colombia)
- FPS_UK - UK Faster Payments (GBP)
- FPS_HK - Hong Kong Faster Payment System (HKD)
- INSTA_PAY - InstaPay instant payment (Philippines)
- PESONET - PesoNet batch payment (Philippines)
BLOCKCHAIN, INTERNAL, SWIFT, IBAN, US_WIRE, ACH, SEPA, SPEI, PIX, LBT, MOMO, CHAPS, PAYID, INTERAC, INTERNAL_TRANSFER, CIPS, NEQUI, FPS_UK, FPS_HK, INSTA_PAY, PESONET "BLOCKCHAIN"
Transfer rail:
- BLOCKCHAIN - Transfer over the public blockchain
- INTERNAL - Internal transfer within the same account (e.g. sub-accounts or same api key)
- SWIFT - International wire transfer
- IBAN - International Bank Account Number transfer
- US_WIRE - Domestic wire transfer within the United States (e.g. FedWire)
- ACH - Automated Clearing House transfer, typically takes longer but not as expensive as wire transfers
- SEPA - Euro transfers within the SEPA zone
- SPEI - Mexican interbank electronic payment system
- PIX - Brazilian instant payment system
- LBT - Local bank transfers
- MOMO - Mobile money transfers (e.g. M-Pesa)
- CHAPS - The Clearing House Automated Payment System (CHAPS) is a real-time gross settlement payment system used for transactions in the United Kingdom
- PAYID - PayID payment identifier system (Australia)
- INTERAC - Interac electronic funds transfer (Canada)
- INTERNAL_TRANSFER - Internal transfer between accounts
- CIPS - Cross-Border Interbank Payment System (China)
- NEQUI - Nequi mobile payment (Colombia)
- FPS_UK - UK Faster Payments (GBP)
- FPS_HK - Hong Kong Faster Payment System (HKD)
- INSTA_PAY - InstaPay instant payment (Philippines)
- PESONET - PesoNet batch payment (Philippines)
BLOCKCHAIN, INTERNAL, SWIFT, IBAN, US_WIRE, ACH, SEPA, SPEI, PIX, LBT, MOMO, CHAPS, PAYID, INTERAC, INTERNAL_TRANSFER, CIPS, NEQUI, FPS_UK, FPS_HK, INSTA_PAY, PESONET "BLOCKCHAIN"
Slippage tolerance in basis points (bps) for defi quotes - 1 is 0.01% and 10000 is 100%
1 <= x <= 10000Source/Destination accounts for the quote (must have for defi quotes)
Side to price on a quote, rate or offer request. BUY: receive base / pay quote; SELL: give base / receive quote; BOTH: request pricing for both sides at once. Providers that support only one of the sides return entries for that side only. BOTH is accepted on requests only, never on order execution requests, and responses never return it: every returned quote, rate or offer carries a concrete BUY or SELL. When omitted, defaults to SELL.
BUY, SELL, BOTH KYC/AML participant identification