Naar de inhoud
GET /v1/riesgo-pais

Country risk (EMBI spread) latest + 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/argentina-api

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

Verkrijg een API-sleutel

Codefragmenten

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

Voorbeeldrespons

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

{
    "data": {
        "date": "2026-06-08",
        "name": "Country Risk (EMBI spread)",
        "unit": "basis points",
        "value": 494,
        "recent": [
            {
                "date": "2026-04-28",
                "basis_points": 584
            },
            {
                "date": "2026-04-29",
                "basis_points": 573
            },
            {
                "date": "2026-04-30",
                "basis_points": 567
            },
            {
                "date": "2026-05-01",
                "basis_points": 539
            },
            {
                "date": "2026-05-04",
                "basis_points": 558
            },
            {
                "date": "2026-05-05",
                "basis_points": 554
            },
            {
                "date": "2026-05-06",
                "basis_points": 514
            },
            {
                "date": "2026-05-07",
                "basis_points": 522
            },
            {
                "date": "2026-05-08",
                "basis_points": 510
            },
            {
                "date": "2026-05-11",
                "basis_points": 496
            },
            {
                "date": "2026-05-12",
                "basis_points": 511
            },
            {
                "date": "2026-05-13",
                "basis_points": 523
            },
            {
                "date": "2026-05-14",
                "basis_points": 525
            },
            {
                "date": "2026-05-15",
                "basis_points": 538
            },
            {
                "date": "2026-05-18",
                "basis_points": 543
            },
            {
                "date": "2026-05-19",
                "basis_points": 547
            },
            {
                "date": "2026-05-20",
                "basis_points": 524
            },
            {
                "date": "2026-05-21",
                "basis_points": 516
            },
            {
                "date": "2026-05-22",
                "basis_points": 514
            },
            {
                "date": "2026-05-25",
                "basis_points": 514
            },
            {
                "date": "2026-05-26",
                "basis_points": 508
            },
            {
                "date": "2026-05-27",
                "basis_points": 500
            },
            {
                "date": "2026-05-28",
                "basis_points": 494
            },
            {
                "date": "2026-05-29",
                "basis_points": 493
            },
            {
                "date": "2026-06-01",
                "basis_points": 490
            },
            {
                "date": "2026-06-02",
                "basis_points": 488
            },
            {
                "date": "2026-06-03",
                "basis_points": 492
            },
            {
                "date": "2026-06-04",
 
…