Quotes

Get Sell Quotes

Changed on

Generates price quotes from all available providers based on the provided input parameters.

🛠️ Please Use https://api-stg.onramper.com/ For Test Environments

get/quotes/{crypto}/{fiat}

Request

Path parameters

cryptostring required

Source currency

fiatstring required

Destination currency

Query parameters

amountnumber

Transaction amount in selected crypto currency

paymentMethodstring

Payment method (payout) for the transaction

typestring

Transaction type (buy/sell). Default buy

walletAddressstring

Wallet Address (If applicable)

countrystring

Country override. If not specified, the country will be automatically determined based on the IP address from which the request originates.

txInitiationboolean

Whether the transaction initiation mode is being used, which excludes all offramp providers that don't support it

platform'web' | 'mobile-ios' | 'mobile-android' | 'webview-ios' | 'webview-android' | 'browser-extension' | 'desktop'

Where your integration runs. Providers that require platform whitelisting are omitted from the results when this is absent. Send the same value in the checkout request body.

Headers

Authorizationstring

Response

OK

object required

Changes