/v1/country
One economy EER + history + 12m change
Essayez-le en direct
10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.
Ça marche. Récupérez une clé API et utilisez-la dans votre projet.
Obtenez une clé APIExtraits de code
curl "https://api.oanor.com/eer-api/v1/country" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/eer-api/v1/country", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/eer-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/eer-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": {
"base": "index, 2020 = 100",
"type": "real",
"as_of": "2026-04",
"basket": "broad (64 economies)",
"source": "Bank for International Settlements",
"country": "United States",
"history": [
{
"date": "2025-05",
"eer_index": 109.26
},
{
"date": "2025-06",
"eer_index": 108.05
},
{
"date": "2025-07",
"eer_index": 107.28
},
{
"date": "2025-08",
"eer_index": 107.95
},
{
"date": "2025-09",
"eer_index": 107.49
},
{
"date": "2025-10",
"eer_index": 107.69
},
{
"date": "2025-11",
"eer_index": 108.01
},
{
"date": "2025-12",
"eer_index": 106.71
},
{
"date": "2026-01",
"eer_index": 106.35
},
{
"date": "2026-02",
"eer_index": 104.94
},
{
"date": "2026-03",
"eer_index": 107.38
},
{
"date": "2026-04",
"eer_index": 107.06
}
],
"eer_index": 107.06,
"country_code": "US",
"change_12m_pct": -2.01
},
"meta": {
"timestamp": "2026-06-09T20:24:49.103Z",
"request_id": "92041c1f-4c53-416a-80ca-7dc3b16e10bc"
},
"status": "ok",
"message": "Country EER retrieved successfully",
"success": true
}