Retrieves a quote for converting between assets. Supports three quote types:
Finding supported assets: Use the /ramp/assets endpoint to get a list of supported assets for quotes, ramps, and swaps. This returns a non-exhaustive list of common assets that a specific wallet would likely want to use, along with their identifier values.
Crypto assets must be specified using asset identifiers in the format CODE:ISSUER (e.g., USDC:GA5ZSEJYB37JRC5AVCIA5MOP4RHTM335X2KGX3IHOJAPP5RE34K4KZVN). Use the identifier field from the /ramp/assets response. Fiat currencies use standard currency codes (e.g., MXN).
The quote includes exchange rates, fees, and expiration information.
API key for authentication. Pass the key directly (e.g., Authorization: your-api-key). Do not use a Bearer prefix.
Unique identifier for the quote
ID of the customer requesting the quote
Blockchain for the quote
stellar, solana, base, polygon, monad Quote assets configuration based on quote type
Amount of the source asset
Quote retrieved successfully
Unique identifier for the quote
Blockchain for the quote
stellar, solana, base, polygon, monad Amount of the source asset
Amount of the destination asset after conversion
Timestamp when the quote was created
Timestamp when the quote was last updated
Timestamp when the quote expires
Exchange rate between source and destination assets
Fee in basis points (e.g., "20" = 0.20%)
Fee amount in source asset currency
Amount the user actually receives after fees are deducted