{"uid":"cap_NgrtqKNT0ObrQ9j8LDnM5","slug":"fred-economic-time-series-data-135a6646","name":"FRED Economic Time Series Data","description":"Fetch any of FRED's ~800,000 economic time series by series ID - GDP (GDPC1), CPI (CPIAUCSL), unemployment (UNRATE), fed funds (DFF), and so on. Supports date windowing and the standard FRED units transformations (lin, chg, ch1, pch, pc1, pca, cca, log).","url":"https://agent402.tools/api/fred-series?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"],"type":"string"},"queryParams":{"type":"object","required":["seriesId"],"properties":{"limit":{"type":"number","description":"Max observations, 1-100000 (default 1000)"},"units":{"type":"string","description":"Transformation: lin, chg, ch1, pch, pc1 (YoY %), pca, cca, log"},"endDate":{"type":"string","description":"ISO end date (YYYY-MM-DD), optional"},"seriesId":{"type":"string","description":"FRED series ID, e.g. GDPC1, CPIAUCSL, UNRATE, DFF"},"frequency":{"type":"string","description":"Aggregate to d/w/m/q/sa/a, etc. (optional)"},"startDate":{"type":"string","description":"ISO start date (YYYY-MM-DD), optional"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["seriesId","count","observations","source"],"properties":{"count":{"type":"integer"},"source":{"type":"string"},"seriesId":{"type":"string"},"observations":{"type":"array","items":{"type":"object","properties":{"date":{"type":"string"},"value":{"type":"integer"}}}}}}}}}},"responseSchema":{"type":"json","example":{"count":20,"source":"FRED (St. Louis Fed)","seriesId":"GDPC1","observations":[{"date":"2018-01-01","value":18733}]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_-qnFkIILZ1YiP2RBZ_4hS","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches any of FRED's ~800,000 economic time series by series ID, with optional date windowing and unit transformations","exampleAgentPrompt":"Pull the year-over-year percent change in US real GDP (GDPC1) from FRED from January 2018 through December 2023 — use the pc1 transformation.","exampleUseCases":null,"resultDescription":"Returns a time series of observations from FRED including dates and values, optionally transformed (e.g. percent change year-over-year), for the requested economic indicator within the specified date range and frequency.","failureModes":["Invalid or unknown series ID returns an error — FRED series IDs are case-sensitive (e.g. GDPC1, not gdpc1)","Invalid units transformation string returns an error — must be one of: lin, chg, ch1, pch, pc1, pca, cca, log","Date format errors if startDate/endDate are not in YYYY-MM-DD format","Limit out of range if not between 1 and 100000","Payment failure if USDC balance insufficient for the $0.015 per call fee"],"whenToPreferThis":"Use this endpoint when you need any specific FRED economic indicator by its known series ID, especially when you want date-windowed data or a specific statistical transformation (like year-over-year percent change). Prefer this over general web search when you need structured, machine-readable time series data from the Federal Reserve's official FRED database covering GDP, CPI, unemployment, interest rates, and hundreds of thousands of other series.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T06:51:36.276Z","isFirstParty":false,"canonicalSlug":"fred-economic-time-series-data-135a6646"}