Aller au contenu
GET /v1/meta

Service metadata and endpoint list

Essayez-le en direct

10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.

En-têtes personnalisés (facultatif)
api.oanor.com/fxhistory-api

Ça marche. Récupérez une clé API et utilisez-la dans votre projet.

Obtenez une clé API

Extraits de code

curl "https://api.oanor.com/fxhistory-api/v1/meta" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/fxhistory-api/v1/meta", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/fxhistory-api/v1/meta");
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/meta",
    headers={"x-oanor-key": "oanor_test_..."}
)

Exemple de réponse

Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.

{
    "data": {
        "source": "ECB reference rates via Frankfurter (api.frankfurter.dev, live)",
        "service": "fxhistory-api",
        "endpoints": {
            "GET /v1/meta": "This document.",
            "GET /v1/stats": "Min/max/avg/volatility + best & worst day over a range (base=USD, symbol=EUR, start=..., end=...).",
            "GET /v1/change": "Absolute & percent move between two dates + high/low (base=USD, symbol=EUR, start=..., end=...).",
            "GET /v1/historical": "Every rate on a specific date (date=2020-03-16, base=USD, symbols=EUR,GBP optional).",
            "GET /v1/timeseries": "Daily rate of a pair over a range (base=USD, symbol=EUR, start=2024-01-01, end=optional)."
        },
        "description": "Live historical foreign-exchange rates and analytics from the European Central Bank's daily reference rates. The timeseries endpoint returns the daily rate of a currency pair over any date range; the change endpoint returns the absolute and percentage move between two dates with high and low; the stats endpoint returns min, max, average, volatility and the best and worst day over a range; the historical endpoint returns every rate on a specific date. Live from the ECB, nothing stored. An FX history-and-analytics layer, distinct from spot-conversion feeds — it turns the ECB rate archive into the time series, moves and volatility a trader or analyst studies. ~30 currencies, weekdays, back to 1999.",
        "latest_date": "2026-06-10",
        "currency_count": 30,
        "upstream_status": "ok"
    },
    "meta": {
        "timestamp": "2026-06-10T22:56:19.345Z",
        "request_id": "319660d0-82bb-4962-8c0b-c2302e074bbe"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}