Zum Inhalt springen
GET /v1/timeseries

Daily rate of a pair over a date range

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/fxhistory-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

curl "https://api.oanor.com/fxhistory-api/v1/timeseries" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/fxhistory-api/v1/timeseries", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/fxhistory-api/v1/timeseries");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
    "https://api.oanor.com/fxhistory-api/v1/timeseries",
    headers={"x-oanor-key": "oanor_test_..."}
)

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "data": {
        "end": "2024-01-31",
        "base": "USD",
        "count": 23,
        "start": "2024-01-01",
        "series": [
            {
                "date": "2023-12-29",
                "rate": 0.90498
            },
            {
                "date": "2024-01-02",
                "rate": 0.91274
            },
            {
                "date": "2024-01-03",
                "rate": 0.91583
            },
            {
                "date": "2024-01-04",
                "rate": 0.91299
            },
            {
                "date": "2024-01-05",
                "rate": 0.91567
            },
            {
                "date": "2024-01-08",
                "rate": 0.91358
            },
            {
                "date": "2024-01-09",
                "rate": 0.91408
            },
            {
                "date": "2024-01-10",
                "rate": 0.91358
            },
            {
                "date": "2024-01-11",
                "rate": 0.91017
            },
            {
                "date": "2024-01-12",
                "rate": 0.91391
            },
            {
                "date": "2024-01-15",
                "rate": 0.91366
            },
            {
                "date": "2024-01-16",
                "rate": 0.91895
            },
            {
                "date": "2024-01-17",
                "rate": 0.91937
            },
            {
                "date": "2024-01-18",
                "rate": 0.91954
            },
            {
                "date": "2024-01-19",
                "rate": 0.91853
            },
            {
                "date": "2024-01-22",
                "rate": 0.91827
            },
            {
                "date": "2024-01-23",
                "rate": 0.91979
            },
            {
                "date": "2024-01-24",
                "rate": 0.91701
            },
            {
                "date": "2024-01-25",
                "rate": 0.91802
            },
            {
                "date": "2024-01-26",
                "rate": 0.91988
            },
            {
                "date": "2024-01-29",
                "rate": 0.92396
            },
            {
                "date": "2024-01-30",
                "rate": 0.922
            },
            {
                "date": "2024-01-31",
                "rate": 0.92276
            }
        ],
        "source": "ECB (Frankfurter)",
        "symbol": "EUR"
    },
    "meta": {
        "timestamp": "2026-06-10T22:56:19.586Z",
        "request_id": "408b3762-c0f6-4547-b1f3-50f98a58d7f4"
    },
    "status": "ok",
    "message": "Time series retrieved successfully",
    "success": true
}