Documentation

Foreign currency exchange The Rates API with currency conversion

The Rates API is a free service for current and historical foreign exchange rates developed with data published by European Central Bank

Fast & Reliable

40ms response time.

Programming languages

The Rates API is compatible with all programming languages.

API - To get latest date data

Latest Foreign Exchange rates

Get the latest foreign exchange reference rates.

GET https://theratesapi.com/api/latest HTTP/2

Latest Foreign Exchange Rates with Symbols

Request specific exchange rates by setting the symbols parameter.

GET https://theratesapi.com/api/latest?symbols=USD,GBP HTTP/2

Latest Foreign Exchange Rates with Base

Rates are quoted against the Euro by default. Quote against a different currency by setting the base parameter in your request.

GET https://theratesapi.com/api/latest?base=USD HTTP/2

Latest Foreign Exchange Rates with Symbols and Base

Request specific exchange rates by setting the base parameter and symbols parameter in your request.

GET https://theratesapi.com/api/latest?base=USD&symbols=GBP HTTP/2

API - To get past conversion rates

Latest Foreign Exchange rates

Get the latest foreign exchange reference rates.

GET https://theratesapi.com/api/2021-06-01/ HTTP/2

Latest Foreign Exchange Rates with Symbols
`

Request specific exchange rates by setting the symbols parameter.

GET https://theratesapi.com/api/2021-06-01/?symbols=USD,GBP HTTP/2

Latest Foreign Exchange Rates with Base

Rates are quoted against the Euro by default. Quote against a different currency by setting the base parameter in your request.

GET https://theratesapi.com/api/2021-06-01/?base=USD HTTP/2

Latest Foreign Exchange Rates with Symbols and Base

Request specific exchange rates by setting the base parameter and symbols parameter in your request.

GET https://theratesapi.com/api/2021-06-01/?base=USD&symbols=GBP HTTP/2


Note:Data is avaliable from 1999-01-04

Please cache results whenever possible this will allow us to keep the service without any rate limits or api key requirements.
The API comes with no warranty but we do our best effort to keep the service working relibly.