/v1/cpi/series
Historical CPI index + YoY series
Δοκιμάστε το ζωντανά
10 δωρεάν κλήσεις την ημέρα — χωρίς εγγραφή, χωρίς κλειδί API. Μέσω του gateway του oanor.
Δουλεύει. Πάρε ένα κλειδί API και χρησιμοποίησέ το στο έργο σου.
Λάβετε ένα κλειδί APIΑποσπάσματα κώδικα
curl "https://api.oanor.com/philippines-stats-api/v1/cpi/series" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/philippines-stats-api/v1/cpi/series", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/philippines-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/philippines-stats-api/v1/cpi/series",
headers={"x-oanor-key": "oanor_test_..."}
)
Παράδειγμα απόκρισης
Πραγματική απόκριση αυτού του endpoint, από τον τελευταίο έλεγχο υγείας.
{
"data": {
"base": "2018 = 100",
"count": 24,
"series": [
{
"index": 125.6,
"period": "2024 Jun",
"period_iso": "2024-06",
"change_yoy_pct": 3.72
},
{
"index": 126.5,
"period": "2024 Jul",
"period_iso": "2024-07",
"change_yoy_pct": 4.37
},
{
"index": 126.6,
"period": "2024 Aug",
"period_iso": "2024-08",
"change_yoy_pct": 3.35
},
{
"index": 126.3,
"period": "2024 Sep",
"period_iso": "2024-09",
"change_yoy_pct": 1.94
},
{
"index": 126.5,
"period": "2024 Oct",
"period_iso": "2024-10",
"change_yoy_pct": 2.26
},
{
"index": 127,
"period": "2024 Nov",
"period_iso": "2024-11",
"change_yoy_pct": 2.5
},
{
"index": 127.7,
"period": "2024 Dec",
"period_iso": "2024-12",
"change_yoy_pct": 2.9
},
{
"index": 128.4,
"period": "2025 Jan",
"period_iso": "2025-01",
"change_yoy_pct": 2.88
},
{
"index": 128.1,
"period": "2025 Feb",
"period_iso": "2025-02",
"change_yoy_pct": 2.07
},
{
"index": 127.8,
"period": "2025 Mar",
"period_iso": "2025-03",
"change_yoy_pct": 1.75
},
{
"index": 127.3,
"period": "2025 Apr",
"period_iso": "2025-04",
"change_yoy_pct": 1.43
},
{
"index": 127.2,
"period": "2025 May",
"period_iso": "2025-05",
"change_yoy_pct": 1.27
},
{
"index": 127.3,
"period": "2025 Jun",
"period_iso": "2025-06",
"change_yoy_pct": 1.35
},
{
"index": 127.7,
"period": "2025 Jul",
"period_iso": "2025-07",
"change_yoy_pct": 0.95
},
{
"index": 128.5,
"period": "2025 Aug",
"period_iso": "2025-08",
"change_yoy_pct": 1.5
},
{
"index": 128.5,
"period": "2025 Sep",
"period_iso": "2025-09",
"change_yoy_pct": 1.74
},
{
"index": 128.6,
…