Crypto Ramp API
Retrieve an order quote
api
get
/quote

Retrieve an order quote

Retrieve an order quote representing current exchange rate, total crypto amount and fees. Use it to display potential exchange rate to your customer.

For more information, see the guides: Leverage the Crypto Ramp API -> Get an order quote.

X-API-KEY

Each Crypto Ramp API request must contain an authorization header in the following format to make a call: X-API-KEY: {your_API_key}.

Before you start, make sure that you have the correct API key. For more information, see the Get started guides: Integrate with Revolut Ramp -> 2. Get Partner keys.

Request

Query Parameters
Query Parameters

The ISO 4217 code of the selected fiat currency to use for the purchase.

The fiat amount to exchange for crypto.

The ID of the crypto token to purchase, obtained from the /config endpoint.

Possible values: [card, revolut, apple-pay, google-pay]

The selected payment option.

Example: "GB"

The ISO 3166 Alpha-2 code of the country of residence of the customer (end user) ordering the exchange.

The fee percentage that will be applied for the order as partner fee.

The address of the crypto wallet into which the purchased token should be transferred.

Response

OK

Response body
Body object 

Example: {"amount":100,"currency":"USD"}

The sum of Revolut Ramp fee and Partner fee.

note

The Partner fee is also provided separately in the partner_fee parameter.

The amount.

Example: "GBP"

The fiat currency ISO 4217 code.

Example: {"amount":100,"currency":"USD"}

Crypto network fee.

The amount.

Example: "GBP"

The fiat currency ISO 4217 code.

Example: {"amount":100,"currencyId":"USDT-ETH"}

Crypto amount that the customer receives in the case of a successful exchange.

The amount.

Example: "USDT-ETH"

The ID of the currency, obtained from the /config endpoint.

Example: {"amount":100,"currency":"USD"}

Partner fee.

note

This Partner fee is also included in the service_fee value, which represents the total sum of Partner fee and Revolut Ramp fee.

The amount.

Example: "GBP"

The fiat currency ISO 4217 code.

Was this page helpful?
Loading...