Change

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

Request Parameters

Name
Type
Description

access_key

string

Your access key

source

string

Source currency code (optional) (default:USD)

currencies

string

Target currency code (optional)

start_date

string

Date format: YYYY-MM-DD

end_date

string

Date format: YYYY-MM-DD

Sample Requests

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

Sample Response

{
    "success": true,
    "timestamp": 1672531200,
    "source": "USD",
    "start_date": "2023-01-01",
    "end_date": "2023-06-01",
    "rates": {
        "EUR": {
            "start_rate": 0.932,
            "end_rate": 0.929,
            "change": -0.003,
            "change_pct": -0.3219
        },
        "GBP": {
            "start_rate": 0.827,
            "end_rate": 0.798,
            "change": -0.029,
            "change_pct": -3.5067
        }
    }
}

Last updated