Aller au contenu
GET /v1/country

One central bank policy rate + history

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/bis-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/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_..."}
)

Exemple de réponse

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

{
    "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
}