v3

The tradeable catalogue

Every active currency, grouped by asset, with the on-chain representations beneath it and whether each can be bought and sold right now.

GET/api/v3/currencies

Send your own credential. No customer is involved.

How authentication works
Yours
x-api-keyorAuthorization: Bearer

Every active currency, grouped by asset, with its on-chain representations beneath it and whether each can be bought and sold right now.

That last part is why this is a call and not a table you copy once. A chain goes temporarily unavailable when its network is congested or a provider is down, and the catalogue says so per direction, so a coin picker built from this list stops offering what would fail.

An asset is not a currency

A coin on two chains is two things you can trade, with different decimals, address formats and network fees. Group by asset for the picker, then let the customer choose the chain, and send the chain-specific identifier.

The same catalogue, rendered, is on currencies.

Language

Environment

Credentials

Your credential

Choose an environment first.

cURL request
curl -X GET https://api.btcdirect.eu/api/v3/currencies \  -H "x-api-key: $BTCD_API_KEY"
Choose an environment to run this.

Response

The catalogue.
[  {    "assetId": "bitcoin",    "ticker": "BTC",    "name": "Bitcoin",    "iconKey": "bitcoin",    "iconUrl": "https://registry.cdn.staging.btcdirect.dev/icons/3b0c…e2.svg",    "isFiat": false,    "popularPosition": 1,    "networks": [      {        "caip19": "bip122:000000000019d6689c085ae165831e93/slip44:0",        "chain": "bip122:000000000019d6689c085ae165831e93",        "chainName": "Bitcoin",        "chainIconKey": "bitcoin",        "chainIconUrl": "https://your.app/callback",        "showChain": false,        "supportsMemo": false,        "buy": {          "available": true        },        "sell": {          "available": true        }      }    ]  }]

Responses

200The catalogue.
503`maintenance` — full maintenance is on, and every endpoint refuses every request until it ends (`endsAt`, when it has an end). Nothing is wrong with the request and nothing was done; the same request is accepted afterwards. Told apart from any other 503 by `code`.

Body of the success response

assetIdstringrequired

Examplebitcoin

tickerstringrequired

ExampleBTC

namestringrequired

ExampleBitcoin

iconKeystring

Examplebitcoin

iconUrluri

Absolute URL of the coin's artwork (SVG). Empty when the registry holds no artwork for the asset. Prefer this over building a URL from `iconKey`.

Examplehttps://registry.cdn.staging.btcdirect.dev/icons/3b0c…e2.svg

isFiatbooleanrequired

popularPositionint32

Curated popularity rank, 1..n. Omitted when the asset is not curated — presence means popular.

networksobject[]required

Every failure answers with a message and a code. Switch on the code — messages are written for people and can change.