Get a single pair from a provider

Returns one provider's rate for a single currency pair. Identical to /rate/{base}/{quote}?providers={provider}. The pair may be published directly or derived from the provider's own rates for both currencies. Returns 404 when the provider has no data for either currency on the date.

get/providers/{provider}/rate/{base}/{quote}

Path parameters

providerstring required
Example:ECB

Provider key, case-insensitive. See /providers for the list.

basestring required
Example:EUR
quotestring required
Example:USD

Query parameters

datestring date
Example:2024-01-15

Specific date (YYYY-MM-DD). Cannot be combined with from/to.

Response

Exchange rate

datestring date required

The date of the rate

basestring required

Base currency or accounting unit code

quotestring required

Quote currency or accounting unit code

ratenumber required

Exchange rate value

Changes

Changed in 1 of the 39 revisions of this API.1