Get a single exchange rate pair

Returns the blended exchange rate for a single currency pair. Without a date param, returns the latest rate. A same-currency pair returns the identity rate of 1.

get/rate/{base}/{quote}

Path parameters

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.

providersstring
Example:ECB,TCMB

Comma-separated list of data providers to include. A single provider includes its stored non-currency series. Selecting multiple providers blends only registered currencies and accounting units.

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