v2
You are reading v1 & v2. v1 and v2 are deprecated. They keep working and are still supported, but new integrations should use v3.

Check the status of currency pairs which can be bought and/or sold on our platform

System

GET/api/v1/system/currency-pairs

Send your own credential. No customer is involved.

How authentication works
Yours
Authorization: Bearer

Language

Environment

Credentials

Your credential

Choose an environment first.

cURL request
curl -X GET https://api.btcdirect.eu/api/v1/system/currency-pairs \  -H "Authorization: Bearer $BTCD_PARTNER_TOKEN"
Choose an environment to run this.

Response

Returns the currency pairs for which quotes can be created.
[  {    "currencyPair": "BTC-EUR",    "baseCurrency": {      "code": "BTC",      "name": "Bitcoin",      "decimals": 8,      "caip19": "string",      "supportsTag": false,      "ticker": "BTC",      "chain": "Solana",      "smartContractAddress": "0x514910771af9ca656af840dff83e8264ecf986ca"    },    "quoteCurrency": {      "code": "EUR",      "name": "Euro",      "decimals": 2,      "caip19": "string"    },    "buy": {      "status": "enabled",      "min": {        "amount": 3000,        "currencyCode": "EUR"      },      "max": {        "amount": 3000,        "currencyCode": "EUR"      }    },    "sell": {      "status": "enabled",      "min": {        "amount": 0.5,        "currencyCode": "BTC"      },      "max": {        "amount": 0.5,        "currencyCode": "BTC"      },      "address": {        "address": "3FZbgi29cpjq2GjdwV8eyHuJJnkLtktZc5",        "destinationTag": {          "default": "ABC1234",          "XRP": 12341        }      }    }  }]

Responses

200Returns the currency pairs for which quotes can be created.
400A list of possible errors for this endpoint.

Body of the success response

currencyPairstring

Name of the currency pair.

ExampleBTC-EUR

baseCurrencyobject

A cryptocurrency representation

quoteCurrencyobject

buyobject

sellobject

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