Countries & Currencies
Offramp Config
The Offramp Config API returns the list of countries that support offramp transactions, and the payment methods available in each country. Clients can call this API periodically and cache the response so that they know which users to present the Coinbase Offramp sell transaction option to.
Full API endpoint list
For a complete list of all API endpoints supported by Onramp/Offramp, visit our API Reference section.
Method
URL
Request Parameters
The Offramp Config API has no request parameters.
Response Fields
The Offramp Config API returns a JSON response including the following fields.
Name | Description |
---|---|
countries | A list of supported countries, represented by their ISO 3166-1 two digit country code. Each country contains a list of payment method types available in that country; for the US it also contains a list of supported states. |
Example Request/Response
Offramp Options
The Offramp Options API provides clients with a way to discover the available options for selling Crypto with Coinbase Offramp. It returns the supported fiat currencies and available crypto assets that can be passed into the Sell Quote API.
Full API endpoint list For a complete list of all API endpoints supported by Onramp/Offramp, visit our API Reference section.
Method
URL
Request Parameters
Name | Req | Description |
---|---|---|
country | Y | ISO 3166-1 two-digit country code string representing the purchasing user’s country of residence, e.g., US . |
subdivision | N | ISO 3166-2 two-digit country subdivision code representing the purchasing user’s subdivision of residence within their country, e.g. NY . Required if the country=“US” because certain states (e.g., NY ) have state specific asset restrictions. |
Response Fields
The Offramp Options API returns a JSON response including the following fields.
Name | Description |
---|---|
cashout_currencies | List of supported fiat currencies that can exchange crypto to on Coinbase Onramp in the given location. Each currency contains a list of available payment methods, with min and max transaction limits for that currency. |
sell_currencies | List of available crypto assets that can be sold on Onramp in the given location. |