{"uid":"cap_DkrCAiHtb2dI6cVt20vmQ","slug":"fred-macro-economic-api-gateway-b05efab6","name":"FRED Macro Economic API Gateway","description":"Automated macro observations pipeline gated via Base USDC microtransactions. Designed for AI agents.","url":"https://dawn-dew-d9ae.reigharnold.workers.dev/api/econ","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":{"const":"http"},"method":{"enum":["GET"]}}}}},"responseSchema":{"type":"json","example":{"series":"UNRATE","status":"success","observations":[]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_SbkwPN34WBu-5XVFBw0d6","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","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) macroeconomic observations via a pay-per-call USDC microtransaction gateway designed for AI agents.","exampleAgentPrompt":"Pull the latest UNRATE unemployment rate observations from the FRED macro data gateway so I can see how employment has been trending.","exampleUseCases":[{"title":"Unemployment rate trend analysis","prompt":"Fetch the most recent unemployment rate observations from the FRED macro gateway so I can analyze how UNRATE has changed over the past few months."},{"title":"Inflation monitoring for portfolio decisions","prompt":"Get me the latest CPI inflation observations from the FRED economic data pipeline so I can factor current inflation into my investment analysis."},{"title":"Automated macro dashboard data feed","prompt":"Pull the current macroeconomic indicators from the FRED gateway — I need fresh observations for GDP and interest rates to update my economic dashboard."}],"resultDescription":"Returns a JSON object containing the requested FRED economic series identifier, a success status, and an array of time-series observations (data points) for the specified macroeconomic indicator.","failureModes":["Payment not processed — USDC microtransaction via x402 protocol fails, blocking data access","Invalid or unrecognized FRED series identifier returns empty observations array","Network timeout or Cloudflare Worker downtime results in no response","Malformed request missing required input fields returns an error","Rate limiting or insufficient USDC balance prevents repeated calls"],"whenToPreferThis":"Choose this endpoint when an AI agent needs programmatic, pay-as-you-go access to FRED macroeconomic time-series data without managing API keys or subscriptions. It is ideal for agentic pipelines that require real economic indicators (unemployment, CPI, GDP, interest rates) on-demand with USDC microtransaction billing, especially in automated or low-touch workflows where x402 payment protocol is already supported.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:31:58.146Z","isFirstParty":false}