REST APIFinance & Macro

FRED API (Federal Reserve Economic Data)

FRED API (Federal Reserve Economic Data) is a rest api from Federal Reserve Bank of St. Louis providing finance & macro data. FRED is the St. Louis Fed's authoritative, free database of U.S. and international macroeconomic time series, exposed via a REST API. For a Polymarket bot it is the ground-truth feed for resolving and pricing FOMC, CPI, jobs, and recession markets — pulling the official CPI, fed funds rate, treasury yields, and unemployment figures that those markets settle against.

At a glance

ProviderFederal Reserve Bank of St. Louis
TypeREST API
CategoryFinance & Macro
Real-timeNo — request/response
AuthAPI key
PricingFree (requires a free API key) — Free: full access to all ~825,000+ series at no cost, No paid tiers or usage charges — single comprehensive access level, Requires a free API key from a fredaccount.stlouisfed.org login, Rate-limited to 120 requests/minute (request an exception by contacting the Fed)

What data it provides

  • CPI for All Urban Consumers (CPIAUCSL) — core/headline inflation for CPI markets
  • Effective Federal Funds Rate (FEDFUNDS) and target range — for FOMC rate-decision markets
  • 10-Year & other Treasury Constant Maturity yields (DGS10, DGS2) — yield-curve / recession signals
  • Civilian Unemployment Rate (UNRATE) and nonfarm payrolls — jobs-report markets
  • Real GDP (GDPC1) and other recession indicators (e.g. SAHM rule, yield-curve spreads)
  • Series metadata, vintages/revisions (ALFRED), releases, categories, and tags

Features

  • ~825,000+ economic time series from 120+ sources, 300+ releases
  • Long history depth — many series go back decades (e.g. CPI to 1947)
  • Rate limit of 120 requests/minute; HTTP 429 on exceed
  • JSON or XML output; endpoints for series, observations, releases, categories, search
  • Vintage/as-of-date data via the ALFRED archival endpoints (point-in-time accuracy)
  • Mature client SDKs (Python fredapi/fedfred, R fredr) and v2 bulk-release retrieval

Links

Use it in a bot

Other finance & macro data sources

Listed, not endorsed. Pricing and capabilities change without notice — check the provider's own documentation before you depend on anything here. Browse the full data resources directory or the strategy database.
Join Discord