Vai al contenuto
GET /v1/cpi/series

Historical CPI index + YoY series

Provalo dal vivo

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

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

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

Ottieni una chiave API

Frammenti di codice

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

Risposta di esempio

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

{
    "data": {
        "base": "2024 = 100",
        "count": 24,
        "series": [
            {
                "index": 100.209,
                "period": "2024 May",
                "period_iso": "2024-05",
                "change_yoy_pct": 3.12
            },
            {
                "index": 100.104,
                "period": "2024 Jun",
                "period_iso": "2024-06",
                "change_yoy_pct": 2.52
            },
            {
                "index": 99.818,
                "period": "2024 Jul",
                "period_iso": "2024-07",
                "change_yoy_pct": 2.46
            },
            {
                "index": 100.414,
                "period": "2024 Aug",
                "period_iso": "2024-08",
                "change_yoy_pct": 2.17
            },
            {
                "index": 100.645,
                "period": "2024 Sep",
                "period_iso": "2024-09",
                "change_yoy_pct": 1.89
            },
            {
                "index": 100.119,
                "period": "2024 Oct",
                "period_iso": "2024-10",
                "change_yoy_pct": 1.16
            },
            {
                "index": 100.387,
                "period": "2024 Nov",
                "period_iso": "2024-11",
                "change_yoy_pct": 1.6
            },
            {
                "index": 100.661,
                "period": "2024 Dec",
                "period_iso": "2024-12",
                "change_yoy_pct": 1.5
            },
            {
                "index": 99.908,
                "period": "2025 Jan",
                "period_iso": "2025-01",
                "change_yoy_pct": 1.17
            },
            {
                "index": 100.677,
                "period": "2025 Feb",
                "period_iso": "2025-02",
                "change_yoy_pct": 0.92
            },
            {
                "index": 100.599,
                "period": "2025 Mar",
                "period_iso": "2025-03",
                "change_yoy_pct": 0.89
            },
            {
                "index": 100.283,
                "period": "2025 Apr",
                "period_iso": "2025-04",
                "change_yoy_pct": 0.86
            },
            {
                "index": 100.978,
                "period": "2025 May",
                "period_iso": "2025-05",
                "change_yoy_pct": 0.77
            },
            {
                "index": 100.9,
                "period": "2025 Jun",
                "period_iso": "2025-06",
                "change_yoy_pct": 0.8
            },
            {
                "index": 100.447,
                "period": "2025 Jul",
                "period_iso": "2025-07",
                "change_yoy_pct": 0.63
            },
            {
                "index": 100.963,
                "period": "2025 Aug",
                "period_iso": "2025-08",
                "change_yoy_pct": 0.55
            },
            {
          
…