Get real-time exchange rates for fiat currencies to USDC/USDT (onramp) and USDC/USDT to fiat currencies (offramp).
Overview
Get real-time exchange rates between fiat currencies and stablecoins (USDC/USDT). This endpoint supports both onramp (fiat → stables) and offramp (stables → fiat) rate quotes.
Use /rate_quote for general rate quotes with flexible currency support.
Parameters:
currency- Target fiat currencytrx_type- Transaction type:onramporofframpamount- Amount to convert
Supported Currencies
Onramp Currencies
AED, AUD, BRL, CAD, CNY, DKK, EUR, GBP, HKD, ILS, MXN, NGN, PHP, SGD, USD, ZAR
Offramp Currencies
AED, AUD, BRL, CAD, CNY, DKK, EGP, EUR, GBP, HKD, IDR, ILS, INR, KRW, MXN, MYR, NGN, PHP, SGD, USD, ZAR
Complete currency list: AED, AUD, BRL, CAD, CNY, DKK, EGP, EUR, GBP, HKD, IDR, ILS, INR, KRW, MXN, MYR, NGN, PHP, SGD, USD, ZAR
Quick Start
Get Onramp Rate (Fiat → USDC)
GET /rate_quote?currency=USD&trx_type=onramp&amount=100Returns the amount of USDC you'll receive for $100 USD.
Get Offramp Rate (USDC → Fiat)
GET /rate_quote?currency=EUR&trx_type=offramp&amount=100Returns the amount of EUR you'll receive for 100 USDC.
Rate Validity
- Standard rates: Valid for 15-30 seconds
- Always check the
validityfield in the response for exact timing