Zum Inhalt springen
GET /v1/meta

Spec

Live testen

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

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

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

API-Key holen

Code-Snippets

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

Beispiel-Response

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

{
    "data": {
        "source": "OECD SDMX long-term interest rates (IRLT, monthly; live)",
        "service": "worldbonds-api",
        "endpoints": {
            "GET /v1/meta": "This document.",
            "GET /v1/yields": "All countries' latest long-term yield, ranked, + spread over the German Bund.",
            "GET /v1/country": "One country's long-term yield + recent monthly history (code=USA, or ISO-2 like US).",
            "GET /v1/spreads": "Every country ranked by spread over a benchmark (vs=DEU or USA)."
        },
        "description": "Live long-term (≈10-year) government bond interest rates for ~44 countries side by side, from the OECD's official statistics in a single live call: the US, Germany, UK, Japan, Canada, Australia, Brazil, Switzerland and dozens more, each with its latest rate and the month it covers; every country ranked by yield with its spread over the German Bund; one country's rate with recent monthly history; and every country ranked by its spread over a chosen benchmark (Germany or the US). Live, no key, nothing stored. Distinct from single-country central-bank and yield-curve APIs — this is the cross-country sovereign-yield comparison across the developed world.",
        "upstream_status": "ok",
        "countries_available": 44
    },
    "meta": {
        "timestamp": "2026-06-09T11:38:42.499Z",
        "request_id": "f23b607a-ac2d-45df-9252-b090449bcf64"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}