Skip to content

Cryptocurrencies

Request

Retrieve supported cryptocurrencies for the specified transaction type as part of the configuration data required to build onboarding and transaction flows.

Use Cases:

  • Display available cryptocurrency options to customers
  • Show supported blockchains for each cryptocurrency
  • Pre-configure asset and network selectors before pricing or ramp creation
  • Filter cryptocurrencies by transaction direction

Transaction Types:

  • onramp - Cryptocurrencies available for buying (fiat → crypto)
  • offramp - Cryptocurrencies available for selling (crypto → fiat)

Response Structure: Each cryptocurrency includes:

  • crypto: Unique coin code (e.g., BTC, ETH, USDT)
  • name: Human-readable display name
  • blockchains: Array of supported blockchain networks, each with contract address, minimum amount, default flag, and restricted countries
Security
HMACAuth
Path
transactionTypestringrequired

The transaction direction used to retrieve available cryptocurrencies.

Values:

  • onramp - Buy cryptocurrency using fiat
  • offramp - Sell cryptocurrency and receive fiat
Enum:"onramp""offramp"
Example:onramp
curl -i -X GET \
  https://docs.banxa.com/_mock/products/native-api/openapi/eapi/v0/cryptocurrencies/onramp \
  -H 'Authorization: YOUR_API_KEY_HERE'

Responses

Successful response with supported cryptocurrencies and blockchains for the selected transaction type.

Bodyapplication/json
dataArray of objects(Cryptocurrency)required

Array of supported cryptocurrencies.

Response
{ "data": [ {}, {} ] }