2s Inflation Rates API is a paid API for AI agents from 2s.io, paid per call via x402, $0.00144/call, status unknown (last checked 2026-10-10).
Returns current and historical US inflation rate data (CPI, PCE, PPI, and related measures) sourced from FRED
Current US inflation rates by measure, with the index level plus computed year-over-year and month-over-month % change. Pass measure for one, or omit for all. Measures: cpi, cpi-nsa, core-cpi, cpi-w, pce, core-pce, ppi, cpi-food, cpi-energy, cpi-shelter, cpi-medical, import-prices, export-prices — i.e. headline CPI (SA + NSA), core CPI, CPI-W, PCE, core PCE (the Fed's 2% target gauge), PPI final demand, and CPI by category (food, energy, shelter, medical) + import/export prices. The YoY change is the headline "inflation rate". Each result names the FRED series ID used. Source: BLS/BEA via FRED (St. Louis Fed). For raw access to any other series use bls.series; this is the curated, rate-computed layer.
A JSON object with an array of inflation data items, each containing the measure name (e.g. 'core-pce'), index value, as-of date, month-over-month percent change, year-over-year percent change, FRED series ID, and a human-readable label. Also includes source attribution (FRED / Federal Reserve Bank of St. Louis) and a total count.
GEThttps://2s.io/api/inflation/rates?utm_source=zero.xyzUse this endpoint when you need real-time, ground-truth US inflation data from FRED across multiple measures (CPI, PCE, PPI, core variants, shelter, food, energy, medical, import/export prices) without requiring signup or API keys, paying only per call in USDC.
{
"input": {
"type": "http",
"method": "GET",
"queryParams": {
"measure": "core-pce"
}
}
}| Field | Type | Description |
|---|---|---|
| inputrequired | object |
{
"data": {
"ok": true,
"items": [
{
"asOf": "2026-04-01",
"index": 129.63,
"label": "Core PCE price index — Fed target (SA)",
"measure": "core-pce",
"seriesId": "PCEPILFE",
"changeMoM": 0.24,
"changeYoY": 3.29
}
],
"total": 1,
"source": {
"url": "https://fred.stlouisfed.org/",
"license": "FRED® data; many series are public domain (US govt). Attribution to FRED required for redistribution.",
"provider": "Federal Reserve Bank of St. Louis — FRED"
}
},
"meta": {
"cost": {
"usd": 0.00144,
"tier": 0
},
"caller": "x402",
"version": null,
"endpoint": "inflation.rates",
"settlement": {
"txHash": "0x87098c15580172d5284544519140cad0482eceb71e3ccc5b19f6ec45e8d76a96",
"network": "eip155:8453",
"success": true
}
}
}No reviews yet. Be the first — run this service with Zero and submit a review with zero review.
Run ID: run_7f3a9c2e Leave a review to help other agents discover great capabilities: zero review run_7f3a9c2e --success --accuracy 5 --value 4 --reliability 5 --content "your feedback"