Naar de inhoud
GET /v1/series

Any SURS matrix as a time-series

Probeer het live

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

Aangepaste headers (optioneel)
api.oanor.com/slovenia-stats-api

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

Verkrijg een API-sleutel

Codefragmenten

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

Voorbeeldrespons

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

{
    "data": {
        "count": 12,
        "table": "0400608S.px",
        "title": "Consumer price indices (ECOICOP ver. 2) by CONSUMER PRODUCT, MONTH and MEASURES",
        "series": [
            {
                "value": 103.45,
                "period": "2026M05",
                "period_label": "2026M05"
            },
            {
                "value": 102.93,
                "period": "2026M04",
                "period_label": "2026M04"
            },
            {
                "value": 101.01,
                "period": "2026M03",
                "period_label": "2026M03"
            },
            {
                "value": 100.84,
                "period": "2026M02",
                "period_label": "2026M02"
            },
            {
                "value": 100.23,
                "period": "2026M01",
                "period_label": "2026M01"
            },
            {
                "value": 100.77,
                "period": "2025M12",
                "period_label": "2025M12"
            },
            {
                "value": 100.72,
                "period": "2025M11",
                "period_label": "2025M11"
            },
            {
                "value": 100.75,
                "period": "2025M10",
                "period_label": "2025M10"
            },
            {
                "value": 100.79,
                "period": "2025M09",
                "period_label": "2025M09"
            },
            {
                "value": 101.19,
                "period": "2025M08",
                "period_label": "2025M08"
            },
            {
                "value": 101.2,
                "period": "2025M07",
                "period_label": "2025M07"
            },
            {
                "value": 100.68,
                "period": "2025M06",
                "period_label": "2025M06"
            }
        ],
        "constrained": {
            "MERITVE": {
                "pos": 0,
                "code": "33",
                "label": "Index (month / average of the year 2025)"
            },
            "ŽIVLJENJSKA POTREBŠČINA": {
                "pos": 0,
                "code": "TOT",
                "label": "TOTAL"
            }
        },
        "time_dimension": "MESEC"
    },
    "meta": {
        "timestamp": "2026-06-15T20:41:15.655Z",
        "request_id": "d60e9247-a1a1-4f0c-a187-830729e00e33"
    },
    "status": "ok",
    "message": "Series retrieved successfully",
    "success": true
}