Naar de inhoud
GET /v1/country

One central bank policy rate + history

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/bis-api

Het werkt. Haal een API-key op en gebruik hem in je project.

Verkrijg een API-sleutel

Codefragmenten

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

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste health check.

{
    "data": {
        "unit": "% per year",
        "as_of": "2026-05",
        "source": "Bank for International Settlements",
        "country": "United States",
        "history": [
            {
                "date": "2025-06",
                "rate_pct": 4.375
            },
            {
                "date": "2025-07",
                "rate_pct": 4.375
            },
            {
                "date": "2025-08",
                "rate_pct": 4.375
            },
            {
                "date": "2025-09",
                "rate_pct": 4.125
            },
            {
                "date": "2025-10",
                "rate_pct": 3.875
            },
            {
                "date": "2025-11",
                "rate_pct": 3.875
            },
            {
                "date": "2025-12",
                "rate_pct": 3.625
            },
            {
                "date": "2026-01",
                "rate_pct": 3.625
            },
            {
                "date": "2026-02",
                "rate_pct": 3.625
            },
            {
                "date": "2026-03",
                "rate_pct": 3.625
            },
            {
                "date": "2026-04",
                "rate_pct": 3.625
            },
            {
                "date": "2026-05",
                "rate_pct": 3.625
            }
        ],
        "indicator": "Central bank policy rate",
        "country_code": "US",
        "last_change_bps": 0,
        "policy_rate_pct": 3.625
    },
    "meta": {
        "timestamp": "2026-06-09T20:24:50.904Z",
        "request_id": "88afb68f-e95c-4d8d-958c-a4839b9b324c"
    },
    "status": "ok",
    "message": "Country policy rate retrieved successfully",
    "success": true
}