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
Public key of the destination wallet. Optional but recommended for Stellar onramps. When provided for Stellar onramp quotes, the system checks whether the wallet has an on-chain account and trustline. If setup is needed (new account or missing trustline), the fee will include a one-time onboarding cost to fund the wallet. Without this field, the quote assumes the wallet is already set up.
Optional partner fee override in basis points (0–500). If provided, this value is used as the partner fee for this quote instead of the organization's default. Only applies when the organization has partner fees enabled.
0 <= x <= 500Quote 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
Fee-inclusive exchange rate between source and destination assets. This is the rate the user will actually receive — fees are already reflected in this rate. Multiply by sourceAmount to get destinationAmount.
Raw mid-market rate before fees. For stablebond ramps, this is the bond price. For FX ramps, this is the forex mid-market rate between the underlying fiat currencies.
Fee in basis points (e.g., "20" = 0.20%)
Fee amount in source asset currency
Amount the user actually receives after fees are deducted
Partner fee in basis points applied to this quote (e.g., 100 = 1.00%). Only present when a partner fee is configured for the requesting organization.
Partner fee amount in source asset currency. Only present when a partner fee is configured.