Finance
FRED (St. Louis Fed) logo

FRED (St. Louis Fed) API

fred.stlouisfed.org

FRED — 500,000+ US economic time-series. GDP, inflation, unemployment, interest rates, yield curves, money supply, housing, energy prices, and more.

Actions
15
Category
Finance
Login
Not required
Output
JSON

Call the FRED (St. Louis Fed) API

Submit a task, then poll the job until it settles. This example runs fr_consumer_sentiment.

curl -X POST https://api.anakin.io/v1/wire/task \
  -H "X-API-Key: $ANAKIN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "action_id": "fr_consumer_sentiment",
    "params": {
      "limit": 10
    }
  }'

15 actions on fred.stlouisfed.org

Read

  • Consumer Sentiment

    fr_consumer_sentimentread1 credit / call

    Michigan consumer sentiment, expectations, consumer confidence, and retail sales indicators.

    limit
    integer
  • Credit Spreads

    fr_credit_spreadsread1 credit / call

    High yield OAS, investment grade spreads, BAA-AAA spread, and TED spread.

    limit
    integer
  • Energy Prices

    fr_energy_pricesread1 credit / call

    WTI crude, Brent crude, natural gas, gasoline, and heating oil prices.

    limit
    integer
  • FX Rates

    fr_fx_ratesread1 credit / call

    Major currency exchange rates: USD/EUR, USD/GBP, USD/JPY, USD/CNY, trade-weighted dollar index, and more.

    limit
    integer
  • Fed Dashboard

    fr_fed_dashboardread1 credit / call

    Fed funds rate, balance sheet, reverse repos, bank reserves, discount window, and monetary base.

    limit
    integer
  • GDP Dashboard

    fr_gdp_dashboardread1 credit / call

    GDP, real GDP, GDP growth, personal income, consumer spending, industrial production, and retail sales.

    limit
    integer
  • Housing Dashboard

    fr_housing_dashboardread1 credit / call

    Mortgage rates, home prices (Case-Shiller), housing starts, building permits, and homeownership rate.

    limit
    integer
  • Inflation Dashboard

    fr_inflation_dashboardread1 credit / call

    CPI, Core CPI, PCE, Core PCE, PPI, import prices, breakeven inflation rates, and shelter costs.

    limit
    integer
  • Labor Dashboard

    fr_labor_dashboardread1 credit / call

    Unemployment, nonfarm payrolls, jobless claims, labor force participation, wages, and job openings.

    limit
    integer
  • Market Indicators

    fr_market_indicatorsread1 credit / call

    VIX, high yield spreads, TED spread, financial stress index, and leading economic indicators.

    limit
    integer
  • Money Supply

    fr_money_supplyread1 credit / call

    M1, M2, monetary base, velocity of money, bank credit, and commercial bank deposits.

    limit
    integer
  • Multi Series

    fr_multi_seriesread1 credit / call

    Fetch multiple FRED series in one call for comparison or dashboard building.

    series_ids
    array · required
    limit
    integer
  • Search Series

    fr_search_seriesread1 credit / call

    Search the FRED series library by keyword or category.

    query
    string · required
    limit
    integer
    category
    string
  • Series Data

    fr_seriesread1 credit / call

    Fetch time-series observations for any FRED economic indicator (UNRATE, GDP, FEDFUNDS, DGS10, CPIAUCSL, etc.).

    series_id
    string · required
    limit
    integer
    start_date
    string
    end_date
    string
  • Yield Curve

    fr_yield_curveread1 credit / call

    Current US Treasury yield curve (1M to 30Y) with historical comparison and inversion detection.

    limit
    integer

FRED (St. Louis Fed) API questions

Is there an API for FRED (St. Louis Fed)?
FRED (St. Louis Fed) does not offer a public data API for this, but Anakin Wire provides 15 maintained endpoints for fred.stlouisfed.org. You call Anakin's REST API with an action ID and parameters and get structured JSON back; Anakin handles the browser, proxies, anti-bot, and parsing.
How do I scrape FRED (St. Louis Fed) data?
POST to https://api.anakin.io/v1/wire/task with your API key, the action ID, and its parameters, then poll GET /v1/wire/jobs/{id} until the job settles. There is nothing to install and no scraper to maintain — when fred.stlouisfed.org changes its markup, Anakin updates the action.
Do I need a FRED (St. Louis Fed) account?
No. Every FRED (St. Louis Fed) action listed here runs anonymously — no account and no credentials required.
What does the FRED (St. Louis Fed) API cost?
Usage-based credits, charged per call and refunded automatically when a job fails. New accounts start with 300 free credits and no card. See anakin.io/pricing for the current rates.

More Finance APIs

All Finance sites