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

The current fiat prices for every coin offered

There is an optional fee you may include by appending the Query parameter ?fee=3 to your request, where 3 will be the fee percentage (3%) added to the returned prices.

GET/api/v1/prices

Send two credentials: your own, and the customer's.

How authentication works
Yours
Authorization: Bearer
The customer's
User-Authorization: Bearer

Language

Environment

Credentials

Your credential

The customer's credential

Choose an environment first.

cURL request
curl -X GET https://api.btcdirect.eu/api/v1/prices?fee= \  -H "Authorization: Bearer $BTCD_PARTNER_TOKEN" \  -H "User-Authorization: Bearer $BTCD_USER_TOKEN"
Choose an environment to run this.

Response

Returns the fiat prices for each single coin
{}

Parameters

feestring (query)

Responses

200Returns the fiat prices for each single coin
400A list of possible errors for this endpoint.

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