/v1/cpi
Singapore CPI (latest month): index, MoM and YoY
Provalo dal vivo
10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.
Funziona. Prendi una chiave API e usala nel tuo progetto.
Ottieni una chiave APIFrammenti di codice
curl "https://api.oanor.com/singapore-stats-api/v1/cpi" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/singapore-stats-api/v1/cpi", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/singapore-stats-api/v1/cpi");
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",
headers={"x-oanor-key": "oanor_test_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo health check.
{
"data": {
"base": "2024 = 100",
"index": 102.052,
"period": "2026 Apr",
"source": "Statistics Singapore (SingStat TableBuilder, table M213751)",
"country": "Singapore",
"indicator": "Consumer Price Index (All Items)",
"period_iso": "2026-04",
"change_mom_pct": -0.34,
"change_yoy_pct": 1.76
},
"meta": {
"timestamp": "2026-06-15T20:40:41.857Z",
"request_id": "de53ea05-ef8a-4a3a-b6df-f6276c5bca8d"
},
"status": "ok",
"message": "Singapore CPI retrieved",
"success": true
}