Skip to content

Retrieve a list of cryptocurrencies

Request

Retrieve all available cryptocurrencies supported by Banxa.

Path
partnerstringrequired

This is the partner code provided to you during onboarding. e.g. metamask.

orderTypestringrequired

Determines availability for Buy or Sell orders. By default if this value is not passed, then fiat availability for Buy orders will be returned.

Default:"buy"
Headers
Acceptstring
Default:"application/json"
x-api-keystring

This is the API Key that has been provided to you during onboarding.

curl -i -X GET \
  'https://docs.banxa.com/_mock/products/hosted-checkout/openapi/{partner}/v2/crypto/{orderType}' \
  -H 'Accept: application/json' \
  -H 'x-api-key: string'

Responses

200

Bodyapplication/json
Array [
idstring
Example:"AAVE"
descriptionstring
Example:"Ethereum (ERC-20)"
blockchainsArray of objects
]
Response
[ { "id": "AAVE", "description": "Ethereum (ERC-20)", "blockchains": [] }, { "id": "USDC", "description": "Ethereum (ERC-20)", "blockchains": [] }, { "id": "USDT", "description": "Polygon", "blockchains": [] } ]