Get historical exchange rate

GET {{data_base_url}}/v1/exchangerate/history?pair=BTC/USD&days=2006-02-01,2006-02-02

Provides exchange-rate for the given pair and dates. Max 40 rates per query.

Request Params

KeyDatatypeRequiredDescription
pairstring
daysstring

RESPONSES

status: OK

[{"currency_pair":"BTC/USD","date":"2006-02-01","rate":20000},{"currency_pair":"BTC/USD","date":"2006-02-01","rate":20000}]