{
"count": 5,
"items": [
{
"country": "US",
"countryName": "United States",
"iso3": "USA",
"indicator": "inflation",
"indicatorCode": "FP.CPI.TOTL.ZG",
"value": 2.9495,
"unit": "% per year",
"year": 2024,
"previousValue": 4.1163,
"previousYear": 2023,
"change": -1.1668,
"source": "World Bank, World Development Indicators (FP.CPI.TOTL.ZG), licence CC BY 4.0",
"fetchedAt": "2026-11-16T17:25:00Z"
},
{
"country": "US",
"countryName": "United States",
"iso3": "USA",
"indicator": "unemployment",
"indicatorCode": "SL.UEM.TOTL.ZS",
"value": 4.198,
"unit": "% of labor force",
"year": 2025,
"previousValue": 4.022,
"previousYear": 2024,
"change": 0.176,
"source": "World Bank, World Development Indicators (SL.UEM.TOTL.ZS), licence CC BY 4.0",
"fetchedAt": "2026-11-16T11:25:01Z"
},
{
"country": "DE",
"countryName": "Germany",
"iso3": "DEU",
"indicator": "inflation",
"indicatorCode": "FP.CPI.TOTL.ZG",
"value": 2.1718,
"unit": "% per year",
"year": 2025,
"previousValue": 2.2565,
"previousYear": 2024,
"change": -0.0847,
"monthlyHicp": {
"month": "2026-10",
"yoy": 2.8,
"mom": -0.1,
"index": 103.8,
"indexBase": "Index, 2025=100",
"estimated": true
},
"source": "World Bank, World Development Indicators (FP.CPI.TOTL.ZG), licence CC BY 4.0; Eurostat, HICP monthly data (prc_hicp_minr), (c) European Union, reuse authorised with the source ackn",
"fetchedAt": "2026-11-16T17:25:00Z"
},
{
"country": "DE",
"countryName": "Germany",
"iso3": "DEU",
"indicator": "unemployment",
"indicatorCode": "SL.UEM.TOTL.ZS",
"value": 3.711,
"unit": "% of labor force",
"year": 2025,
"previousValue": 3.4,
"previousYear": 2024,
"change": 0.311,
"source": "World Bank, World Development Indicators (SL.UEM.TOTL.ZS), licence CC BY 4.0",
"fetchedAt": "2026-11-16T11:25:01Z"
},
{
"country": "BG",
"countryName": "Bulgaria",
"iso3": "BGR",
"indicator": "inflation",
"indicatorCode": "FP.CPI.TOTL.ZG",
"value": 4.5808,
"unit": "% per year",
"year": 2025,
"previousValue": 2.4465,
"previousYear": 2024,
"change": 2.1343,
"monthlyHicp": {
"month": "2026-10",
"yoy": 6,
"mom": 0.8,
"index": 106.72,
"indexBase": "Index, 2025=100",
"estimated": true
},
"source": "World Bank, World Development Indicators (FP.CPI.TOTL.ZG), licence CC BY 4.0; Eurostat, HICP monthly data (prc_hicp_minr), (c) European Union, reuse authorised with the source ackn",
"fetchedAt": "2026-11-16T17:25:00Z"
}
]
}
curl --location --request GET 'https://zylalabs.com/api/14991/inflation+api/39459/inflation+api?mode=latest&countries=US,DE,BG&indicators=inflation,unemployment&limit=5' --header 'Authorization: Bearer YOUR_API_KEY'
注册后,每个开发者都会被分配一个个人 API 访问密钥,这是一个唯一的字母和数字组合,用于访问我们的 API 端点。要使用 通货膨胀 API 进行身份验证,只需在 Authorization 标头中包含您的 bearer token。
| 标头 | 描述 |
|---|---|
授权
|
必需
应为 Bearer access_key. 订阅后,请查看上方的"您的 API 访问密钥"。
|
各国的通货膨胀和消费者价格指数数据以JSON格式呈现:217个国家的年度通货膨胀率、CPI、GDP、GDP增长、失业率和人口,以及37个欧洲国家的月度通货膨胀率
按国家的通货膨胀和消费者价格指数数据以JSON格式呈现:217个国家的年度通货膨胀率 CPI GDP GDP增长 失业率和人口,以及37个欧洲国家的月度通货膨胀数据
每个请求最多100个结果。用limit参数设置
每个请求从公共来源收集实时数据 相同的请求可以从缓存中服务最多6小时
参数列表接受多个用逗号分隔的值,例如:london,paris
终端接受这些查询参数,均为可选项:mode、countries、indicators、indicator、startYear、endYear、startMonth、endMonth、amount、country、fromYear、toYear、fromMonth、toMonth、limit。模式:Latest = 每个国家和指标的新年度值(欧盟国家还获得最新的每月HICP);history = 每个国家和年份一行;monthly = 每月的欧盟统计HICP(欧盟/欧洲经济区/候选国);adjust = 一年(或月)内的金额在另一年的价值,使用官方数据。国家:ISO2(US、DE、BG)、ISO3(USA、BGR)或英文名称(德国)。最多50个。为空 = US、DE、GB、JP、BG。多个值:用逗号分隔。
通货膨胀 API 返回 217 个国家的经济指标,例如年度通货膨胀率、消费者物价指数(CPI)、GDP、GDP 增长、失业率和人口数据,以及 37 个欧洲国家的月度通货膨胀数据
响应中的关键字段包括“国家”“国家名称”“指标”“值”“单位”“年份”“先前值”“先前年份”“变化”和“来源”提供了对经济状况的全面洞察
响应以JSON格式结构化,包含一个“count”结果和一个“items”数组,每个项目代表一个国家的经济指标数据,使其易于解析和程序化使用
该端点提供关于通胀率 CPI GDP GDP增长 失业率和人口统计的数据 使用户能够分析不同国家和时间段的经济趋势
用户可以使用可选参数如“国家”、“指标”、“开始年份”、“结束年份”和“限制”来自定义请求,使得根据他们的需求检索特定数据集的查询更加灵活
字段如“value”表示当前测量值(例如,通货膨胀率),“previousValue”表示最后记录的测量值,“change”显示当前值和之前值之间的差异,有助于趋势分析
典型的使用案例包括经济研究、金融分析、政策制定和市场预测,用户利用通货膨胀和经济指标来指导决策和策略
数据来源于世界银行等知名组织,确保高准确性 定期更新和与官方统计进行核对有助于保持所提供信息的质量和可靠性