Historical Rates

The curexapi API provides accurate historical exchange rate data for every past day all the way back to the year of 1999.

Historical rates may be accessed by simply attaching the date parameter with a valid date (Format: YYYY-MM-DD) to the API's historical endpoint.

GET https://api.curexapi.com/historical

Request Parameters

Name
Type
Description

access_key

string

Your access key

date

string

Date format: YYYY-MM-DD

source

string

Source currency code (optional) (default:USD)

currencies

string

Target currency codes (optional)

Sample Requests

curl --location 'https://api.curexapi.com/historical?access_key=YOUR_ACCESS_KEY&date=2023-01-01&source=USD&currencies=EUR%2CGBP'

Sample Response

{
    "success": true,
    "timestamp": 1672531200,
    "source": "USD",
    "date": "2023-01-01",
    "rates": {
        "EUR": 0.932,
        "GBP": 0.827
    }
}

Last updated