Retrieves the current exchange rate between two specified currencies.
This flexible endpoint allows you to get exchange rates for any supported currency pair:
All rates are provided with full market context including mid-market, buy, and sell rates.
Your secret API key. Keep this secure and never expose it in client-side code.
Source currency code (e.g., usd)
"usd"
Target currency code (e.g., eur)
"eur"
Exchange rate retrieved successfully
Source currency code (USD for USDC)
"usd"
Target currency code (EUR for EURC)
"eur"
Mid-market exchange rate from source to target currency
"0.85000"
Rate for buying target currency (what you get when converting from source to target)
"0.84500"
Rate for selling target currency (what you pay when converting from target to source)
"0.85500"
Timestamp when the exchange rate was last updated
"2024-01-15T10:30:00Z"