Vai al contenuto
GET /v1/dataset

Any CSO PxStat matrix as a time-series

Provalo dal vivo

10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.

Intestazioni personalizzate (facoltative)
api.oanor.com/ireland-stats-api

Funziona. Prendi una chiave API e usala nel tuo progetto.

Ottieni una chiave API

Frammenti di codice

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

Risposta di esempio

Una risposta reale di questo endpoint, acquisita dall'ultimo health check.

{
    "data": {
        "count": 12,
        "title": "Consumer Price Index",
        "matrix": "CPM01",
        "series": [
            {
                "value": 104.2,
                "period": "202512",
                "period_label": "2025 December"
            },
            {
                "value": 103.7,
                "period": "202511",
                "period_label": "2025 November"
            },
            {
                "value": 103.9,
                "period": "202510",
                "period_label": "2025 October"
            },
            {
                "value": 103.4,
                "period": "202509",
                "period_label": "2025 September"
            },
            {
                "value": 103.6,
                "period": "202508",
                "period_label": "2025 August"
            },
            {
                "value": 103.2,
                "period": "202507",
                "period_label": "2025 July"
            },
            {
                "value": 103.1,
                "period": "202506",
                "period_label": "2025 June"
            },
            {
                "value": 102.6,
                "period": "202505",
                "period_label": "2025 May"
            },
            {
                "value": 102.6,
                "period": "202504",
                "period_label": "2025 April"
            },
            {
                "value": 102.2,
                "period": "202503",
                "period_label": "2025 March"
            },
            {
                "value": 101.5,
                "period": "202502",
                "period_label": "2025 February"
            },
            {
                "value": 100.6,
                "period": "202501",
                "period_label": "2025 January"
            }
        ],
        "constrained": {
            "STATISTIC": {
                "pos": 0,
                "code": "CPM01C08",
                "label": "Consumer Price Index (Base Dec 2023=100)"
            },
            "C01779V03424": {
                "pos": 0,
                "code": "-",
                "label": "All items"
            }
        },
        "time_dimension": "TLIST(M1)"
    },
    "meta": {
        "timestamp": "2026-06-15T11:14:33.497Z",
        "request_id": "78c77f37-a8a3-43db-bf55-6875d3cfd88c"
    },
    "status": "ok",
    "message": "Dataset retrieved successfully",
    "success": true
}