Ir al contenido
GET /v1/country

One economy EER + history + 12m change

Pruébalo en vivo

10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.

Encabezados personalizados (opcional)
api.oanor.com/eer-api

Funciona. Consigue una clave API y úsala en tu proyecto.

Obtener una clave API

Fragmentos de código

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

Respuesta de ejemplo

Una respuesta real de este endpoint, capturada en la última comprobación de estado.

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