{
"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-17T05: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-17T11: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-17T05: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-17T11: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-17T05:25:00Z"
}
]
}
curl --location --request GET 'https://zylalabs.com/api/15035/economic+data+api/39751/inflation+api?mode=latest&countries=US,DE,BG&indicators=inflation,unemployment&limit=5' --header 'Authorization: Bearer YOUR_API_KEY'
{
"count": 5,
"items": [
{
"date": "2026-11-02",
"curve": "nominal",
"yields": {
"1M": 4.05,
"1.5M": 4.09,
"2M": 4.16,
"3M": 4.21,
"4M": 4.19,
"6M": 4.25,
"1Y": 4.38,
"2Y": 4.59,
"3Y": 4.65,
"5Y": 4.7,
"7Y": 4.79,
"10Y": 4.91,
"20Y": 5.31,
"30Y": 5.28
},
"spreads": {
"10Y-2Y": 0.32,
"10Y-3M": 0.7,
"30Y-5Y": 0.58,
"2Y-3M": 0.38
},
"inverted10y2y": false,
"inverted10y3m": false,
"source": "U.S. Treasury, Daily Treasury Par Yield Curve Rates",
"sourceUrl": "https://home.treasury.gov/resource-center/data-chart-center/interest-rates/TextView?type=daily_treasury_yield_curve&field_tdr_date_value=2026",
"unit": "percent"
},
{
"date": "2026-11-03",
"curve": "nominal",
"yields": {
"1M": 4.03,
"1.5M": 4.09,
"2M": 4.15,
"3M": 4.21,
"4M": 4.18,
"6M": 4.26,
"1Y": 4.4,
"2Y": 4.61,
"3Y": 4.68,
"5Y": 4.74,
"7Y": 4.83,
"10Y": 4.95,
"20Y": 5.35,
"30Y": 5.32
},
"spreads": {
"10Y-2Y": 0.34,
"10Y-3M": 0.74,
"30Y-5Y": 0.58,
"2Y-3M": 0.4
},
"inverted10y2y": false,
"inverted10y3m": false,
"source": "U.S. Treasury, Daily Treasury Par Yield Curve Rates",
"sourceUrl": "https://home.treasury.gov/resource-center/data-chart-center/interest-rates/TextView?type=daily_treasury_yield_curve&field_tdr_date_value=2026",
"unit": "percent"
},
{
"date": "2026-11-04",
"curve": "nominal",
"yields": {
"1M": 4.01,
"1.5M": 4.08,
"2M": 4.15,
"3M": 4.21,
"4M": 4.2,
"6M": 4.25,
"1Y": 4.39,
"2Y": 4.58,
"3Y": 4.64,
"5Y": 4.69,
"7Y": 4.77,
"10Y": 4.9,
"20Y": 5.3,
"30Y": 5.28
},
"spreads": {
"10Y-2Y": 0.32,
"10Y-3M": 0.69,
"30Y-5Y": 0.59,
"2Y-3M": 0.37
},
"inverted10y2y": false,
"inverted10y3m": false,
"source": "U.S. Treasury, Daily Treasury Par Yield Curve Rates",
"sourceUrl": "https://home.treasury.gov/resource-center/data-chart-center/interest-rates/TextView?type=daily_treasury_yield_curve&field_tdr_date_value=2026",
"unit": "percent"
},
{
"date": "2026-11-05",
"curve": "nominal",
"yields": {
"1M": 4.03,
"1.5M": 4.07,
"2M": 4.15,
"3M": 4.17,
"4M": 4.16,
"6M": 4.19,
"1Y": 4.28,
"2Y": 4.46,
"3Y": 4.53,
"5Y": 4.59,
"7Y": 4.7,
"10Y": 4.84,
"20Y": 5.27,
"30Y": 5.25
},
"spreads": {
"10Y-2Y": 0.38,
"10Y-3M": 0.67,
"30Y-5Y": 0.66,
"2Y-3M": 0.29
},
"inverted10y2y": false,
"inverted10y3m": false,
"source": "U.S. Treasury, Daily Treasury Par Yield Curve Rates",
"sourceUrl": "https://home.treasury.gov/resource-center/data-chart-center/interest-rates/TextView?type=daily_treasury_yield_curve&field_tdr_date_value=2026",
"unit": "percent"
},
{
"date": "2026-11-06",
"curve": "nominal",
"yields": {
"1M": 4.02,
"1.5M": 4.07,
"2M": 4.15,
"3M": 4.19,
"4M": 4.19,
"6M": 4.23,
"1Y": 4.33,
"2Y": 4.51,
"3Y": 4.59,
"5Y": 4.64,
"7Y": 4.74,
"10Y": 4.86,
"20Y": 5.29,
"30Y": 5.26
},
"spreads": {
"10Y-2Y": 0.35,
"10Y-3M": 0.67,
"30Y-5Y": 0.62,
"2Y-3M": 0.32
},
"inverted10y2y": false,
"inverted10y3m": false,
"source": "U.S. Treasury, Daily Treasury Par Yield Curve Rates",
"sourceUrl": "https://home.treasury.gov/resource-center/data-chart-center/interest-rates/TextView?type=daily_treasury_yield_curve&field_tdr_date_value=2026",
"unit": "percent"
}
]
}
curl --location --request GET 'https://zylalabs.com/api/15035/economic+data+api/39752/treasury+yields+api?mode=history&curve=nominal&frequency=daily&limit=5' --header 'Authorization: Bearer YOUR_API_KEY'
注册后,每个开发者都会被分配一个个人 API 访问密钥,这是一个唯一的字母和数字组合,用于访问我们的 API 端点。要使用 经济数据 API 进行身份验证,只需在 Authorization 标头中包含您的 bearer token。
| 标头 | 描述 |
|---|---|
授权
|
必需
应为 Bearer access_key. 订阅后,请查看上方的"您的 API 访问密钥"。
|
一项订阅中的宏观数据:自1990年以来的美国国债收益率曲线、名义收益率、实际收益率、短期票据、长期收益率、利差和倒挂,以及217个国家的通胀数据、世界银行消费价格指数,加上每月的欧盟统计局调和消费者价格指数和通胀计算器
一个订阅中的宏观数据:美国国债收益率曲线(名义、实际、短期债券、自1990年以来的长期债券、利差和倒挂)以及217个国家的通胀(世界银行CPI),加上每月的欧盟统计局HICP和通胀计算器
每个请求最多100个结果 使用限制参数进行设置
每个请求从公共源收集实时数据 相同的请求可以从缓存中服务最长达6小时
列表参数接受多个用逗号分隔的值,例如:伦敦,巴黎
端点接受这些查询参数,全部为可选:模式,国家,指标,指标,开始年份,结束年份,开始月份,结束月份,金额,国家,从年份,到年份,从月份,到月份,限制。模式:最新 = 每个国家和指标最新的年度值(欧盟国家还会获得最新的月度HICP);历史 = 每个国家和年份一行;每月 = 欧盟统计局每月HICP(欧盟/欧洲经济区/候选国);调整 = 从一年(或一个月)获得的金额在另一年(或月)中的价值,使用官方数据。国家:ISO2(美国,德国,保加利亚),ISO3(美国,保加利亚)或英文名称(德国)。最多50个。为空 = 美国,德国,英国,日本,保加利亚。多个值:用逗号分隔。
该端点接受以下查询参数,均为可选:模式,曲线,日期,开始日期,结束日期,期限,频率,限制。模式:最新 = 最新收益率曲线;日期 = 一天(假期或周末返回前一个工作日并说明);历史 = 开始和结束日期之间的每个工作日;利差 = 仅利差时间序列;倒挂 = 在范围内10年期减去2年期或10年期减去3个月期为负的时期。曲线:名义 = 每日面值收益率曲线(1个月至30年,自1990年起);实际 = 实际收益率曲线/TIPS(5年期至30年期,自2003年起);票据 = 国库券银行贴现率和票息等值利率(自2002年起);长期 = 长期综合和20年期CMT(自2000年起)