/v1/cpi/annual
Annual-average CPI + inflation per year
Live testen
10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.
Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.
API-Key holenCode-Snippets
curl "https://api.oanor.com/mongolia-stats-api/v1/cpi/annual" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/mongolia-stats-api/v1/cpi/annual", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/mongolia-stats-api/v1/cpi/annual");
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/mongolia-stats-api/v1/cpi/annual",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"base": "2023 = 100",
"count": 17,
"years": [
{
"year": "2010",
"months": 12,
"average_index": 35.52
},
{
"year": "2011",
"months": 12,
"average_index": 38.63,
"annual_avg_change_pct": 8.76
},
{
"year": "2012",
"months": 12,
"average_index": 43.98,
"annual_avg_change_pct": 13.85
},
{
"year": "2013",
"months": 12,
"average_index": 48.65,
"annual_avg_change_pct": 10.62
},
{
"year": "2014",
"months": 12,
"average_index": 54.94,
"annual_avg_change_pct": 12.93
},
{
"year": "2015",
"months": 12,
"average_index": 58.67,
"annual_avg_change_pct": 6.79
},
{
"year": "2016",
"months": 12,
"average_index": 59.13,
"annual_avg_change_pct": 0.78
},
{
"year": "2017",
"months": 12,
"average_index": 61.66,
"annual_avg_change_pct": 4.28
},
{
"year": "2018",
"months": 12,
"average_index": 65.83,
"annual_avg_change_pct": 6.76
},
{
"year": "2019",
"months": 12,
"average_index": 70.66,
"annual_avg_change_pct": 7.34
},
{
"year": "2020",
"months": 12,
"average_index": 73.3,
"annual_avg_change_pct": 3.74
},
{
"year": "2021",
"months": 12,
"average_index": 78.7,
"annual_avg_change_pct": 7.37
},
{
"year": "2022",
"months": 12,
"average_index": 90.62,
"annual_avg_change_pct": 15.15
},
{
"year": "2023",
"months": 12,
"average_index": 100,
"annual_avg_change_pct": 10.35
},
{
"year": "2024",
"months": 12,
"average_index": 106.19,
"annual_avg_change_pct": 6.19
},
{
"year": "2025",
"months": 12,
"average_index": 115.33,
"annual_avg_change_pct": 8.61
},
{
"year": "2026",
"months": 5,
"average_index": 123.14,
…