{"uid":"cap_Z_rFu5yH88ZsUbyNPFbvO","slug":"mercury402-fred-series-data-api-66e56e99","name":"Mercury402 FRED Series Data API","description":"76 live pay-per-call financial data APIs for AI agents. Treasury, FRED, forex, spreads, breakeven inflation, macro bundles, and composite dashboards. USDC on Base.","url":"https://api.mercury402.com/v1/fred/%7Bseries_id%7D","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"date":{"type":"string","description":"Single date observation (YYYY-MM-DD)"},"limit":{"type":"integer","description":"Max observations to return"},"observation_end":{"type":"string","description":"End date for range query (YYYY-MM-DD)"},"observation_start":{"type":"string","description":"Start date for range query (YYYY-MM-DD)"}}},"responseSchema":{"type":"json","example":{"series_id":"UNRATE","observations":[{"date":"2024-01-01","value":"3.7"}],"realtime_end":"2026-03-11","realtime_start":"2026-03-11"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","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.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_F196BFg81DvRRdOxynCo7","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches Federal Reserve Economic Data (FRED) time-series observations for a specified series ID, optionally filtered by date range or limited in count.","exampleAgentPrompt":"Pull the FRED series UNRATE (unemployment rate) for me from January 1, 2020 through December 31, 2023, returning up to 50 observations.","exampleUseCases":[{"title":"Unemployment trend analysis","prompt":"Get me the unemployment rate data from FRED — series UNRATE — for the last five years, from January 1, 2019 to December 31, 2023, with up to 60 observations, so I can chart the trend."},{"title":"Inflation indicator spot check","prompt":"Look up the FRED series CPIAUCSL for a single date, January 1, 2024, to get the latest CPI reading."},{"title":"Macro dashboard enrichment","prompt":"Fetch the FRED series FEDFUNDS — the federal funds rate — from March 1, 2022 through March 1, 2025, limit to 36 observations, so I can add it to my macro dashboard."}],"resultDescription":"Returns a JSON object containing the FRED series ID, a list of observations (each with a date and value), and realtime start/end timestamps indicating data vintage.","failureModes":["Invalid or unknown series_id returns an error or empty observations array","Date range with no available data returns empty observations","Malformed date strings (not YYYY-MM-DD) may cause query errors","Payment failure (insufficient USDC balance) results in 402 response before data is returned","Rate limits or upstream FRED API unavailability may cause timeouts"],"whenToPreferThis":"Choose this endpoint when you need structured, pay-per-call access to specific FRED economic time-series data without managing a FRED API key, especially in autonomous agent workflows that use x402 micropayments on Base. It's ideal when you need a single series by ID with optional date filtering and want machine-readable JSON output compatible with agent pipelines.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:34:57.859Z","isFirstParty":false}