Timeframe

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

Request Parameters

Sample Requests

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

Sample Response

{
    "success": true,
    "timestamp": 1672531200,
    "source": "USD",
    "rates": {
        "2023-01-01": {
            "EUR": 0.932,
            "GBP": 0.827
        },
        "2023-01-02": {
            "EUR": 0.938,
            "GBP": 0.83
        },
        "2023-01-03": {
            "EUR": 0.947,
            "GBP": 0.835
        },
        "2023-01-04": {
            "EUR": 0.943,
            "GBP": 0.829
        },
        "2023-01-05": {
            "EUR": 0.95,
            "GBP": 0.84
        },
        "2023-01-06": {
            "EUR": 0.939,
            "GBP": 0.827
        },
        "2023-01-07": {
            "EUR": 0.938,
            "GBP": 0.827
        },
        "2023-01-08": {
            "EUR": 0.938,
            "GBP": 0.827
        },
        "2023-01-09": {
            "EUR": 0.931,
            "GBP": 0.821
        },
        "2023-01-10": {
            "EUR": 0.931,
            "GBP": 0.822
        }
    }
}

Last updated