Finance
FRED (St. Louis Fed) logo

FRED (St. Louis Fed) API

fred.stlouisfed.org

FRED - US economic time-series for GDP, inflation, unemployment, rates, and housing.

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_sentimentread2 credits / call

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

    limit
    integer
  • Credit Spreads

    fr_credit_spreadsread2 credits / call

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

    limit
    integer
  • Energy Prices

    fr_energy_pricesread2 credits / call

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

    limit
    integer
  • Fed Dashboard

    fr_fed_dashboardread2 credits / call

    Returns fed funds rate, balance sheet, reverse repos, bank reserves, and monetary base.

    limit
    integer
  • FX Rates

    fr_fx_ratesread3 credits / call

    Returns major currency exchange rates and the trade-weighted dollar index.

    limit
    integer
  • GDP Dashboard

    fr_gdp_dashboardread2 credits / call

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

    limit
    integer
  • Housing Dashboard

    fr_housing_dashboardread2 credits / call

    Returns mortgage rates, home prices, housing starts, building permits, and homeownership rate.

    limit
    integer
  • Inflation Dashboard

    fr_inflation_dashboardread2 credits / call

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

    limit
    integer
  • Labor Dashboard

    fr_labor_dashboardread2 credits / call

    Returns unemployment, payrolls, jobless claims, participation, wages, and job openings.

    limit
    integer
  • Market Indicators

    fr_market_indicatorsread2 credits / call

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

    limit
    integer
  • Money Supply

    fr_money_supplyread2 credits / call

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

    limit
    integer
  • Multi Series Data

    fr_multi_seriesread1 credit / call

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

    series_ids
    array · required
    limit
    integer
  • Series Data

    fr_seriesread1 credit / call

    Returns time-series observations for any FRED economic indicator.

    series_id
    string · required
    limit
    integer
    start_date
    string
    end_date
    string
  • Series Search

    fr_search_seriesread1 credit / call

    Returns FRED series matching a keyword or category search.

    query
    string · required
    limit
    integer
    category
    string
  • Yield Curve

    fr_yield_curveread3 credits / call

    Returns the current US Treasury yield curve 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