{"uid":"cap_NaUWDa-cokMOER0Ply2yM","slug":"financial-datasets-ai-us-inflation-history-series-ac791c20","name":"Financial Datasets AI - US Inflation History Series","description":"Monthly US inflation history for one series by id (CPI all items, core, food, energy, shelter and services less energy, each seasonally adjusted or not; PCE all items and core): the index level with the month-over-month and year-over-year percent changes, newest first. Paginated with next_page_url. Use when an agent needs an inflation series over time. Non-Professional use; Professional use needs a plan at financialdatasets.ai.","url":"https://api.financialdatasets.ai/macro/inflation?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["series"],"properties":{"cursor":{"type":"string","description":"Opaque pagination cursor from a previous response's next_page_url."},"series":{"type":"string","description":"The series id, e.g. cpi_all_sa or pce_core_sa."},"end_date":{"type":"string","description":"The last month to return, inclusive, in YYYY-MM-DD format."},"start_date":{"type":"string","description":"The first month to return, inclusive, in YYYY-MM-DD format; any day inside a month selects that month."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_uDfkIS8L09QUnVdAByWJ2","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns monthly US inflation index levels with month-over-month and year-over-year percent changes for a specified series (CPI, PCE, core, food, energy, shelter, etc.), paginated and newest-first.","exampleAgentPrompt":"Pull the monthly CPI all items seasonally adjusted inflation series (cpi_all_sa) from January 2020 through December 2023, including the month-over-month and year-over-year percent changes.","exampleUseCases":[{"title":"Track post-pandemic inflation surge","prompt":"Give me the monthly CPI all items seasonally adjusted data (cpi_all_sa) from January 2020 to December 2023 so I can see how inflation evolved through the pandemic and recovery period."},{"title":"Analyze core vs energy inflation","prompt":"Fetch the core CPI seasonally adjusted series (cpi_core_sa) and energy CPI series (cpi_energy_sa) from January 2021 through December 2022 — I want to compare how core inflation tracked versus energy prices during that period."},{"title":"Monitor recent PCE inflation for Fed policy research","prompt":"Get me the last 24 months of PCE core inflation data (pce_core_sa) with the year-over-year percent changes so I can see how close we are to the Fed's 2% target."}],"resultDescription":"A paginated list of monthly inflation data points for the requested series, each containing the date, index level, month-over-month percent change, and year-over-year percent change, sorted newest first. The response includes a next_page_url for fetching older data when more pages exist.","failureModes":["Invalid or unrecognized series ID returns an error — must use exact series IDs like cpi_all_sa, pce_core_sa","Date format errors if dates are not provided in YYYY-MM-DD format","Professional-tier series may be blocked for Non-Professional accounts without an appropriate plan","Payment failure (402) if USDC payment via x402 protocol is not properly configured","Empty result set if the date range requested predates available data","Cursor errors if an invalid or expired pagination cursor is provided"],"whenToPreferThis":"Choose this endpoint when you need a time series of US inflation data (CPI or PCE, any sub-index, seasonally adjusted or not) over a date range with both index levels and percent changes precomputed. It is ideal for macroeconomic analysis, Fed policy research, financial modeling, or any agent task requiring structured monthly inflation history rather than a single snapshot. Prefer this over raw FRED data pulls when you want normalized, ready-to-use percent change calculations without post-processing.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-12-02T00:41:02.352Z","isFirstParty":false,"canonicalSlug":"financial-datasets-ai-us-inflation-history-series-ac791c20"}