Skip to main content
Economic dataUS1 credit per run

FRED economic data

Observations for one FRED time series (GDP, CPI, unemployment rate and 800,000+ more) from the Federal Reserve Bank of St. Louis, newest first.

What goes in, what comes back

Input

The request body: the fields of params, then run options that sit next to params.

FRED economic data input parameters
FieldTypeNotes
params.series_idstringFRED series id.
params.observation_startstringFirst date to include (YYYY-MM-DD).
params.observation_endstringLast date to include (YYYY-MM-DD).
maxResultsnumberMost observations to return, newest first (1 to 1000, default 100). Sent next to params, not inside it.
previewbooleantrue returns up to 5 rows and costs nothing. Sent next to params, not inside it.

Result

Every row in rows has these fields.

FRED economic data result fields
FieldTypeNotes
series_idstring
titlestring
datestringObservation date (YYYY-MM-DD)
valuenumberNull when FRED reports no value
unitsstring
frequencystring
seasonal_adjustmentstring

Sample request

  • US unemployment rate, last 24 months: {"params":{"series_id":"UNRATE"},"maxResults":24}
  • GDP since 2020: {"params":{"series_id":"GDP","observation_start":"2020-01-01"}}

Every snippet reads your key from SUPERSCRAPER_API_KEY.

Cost: 1 credit per run that returns rows; previews and empty runs are free. Add "preview": true to see up to 5 rows first.

Currently unavailable

This source is not switched on yet. A run answers 503 source_unavailable and costs nothing. GET /v1/sources shows which sources are available.
curl -X POST https://api.superscraper.dev/v1/sources/fred/run \
  -H "Authorization: Bearer $SUPERSCRAPER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"params":{"series_id":"UNRATE"},"maxResults":24}'

Get a key

Free to start. 1 credit per run that returns rows; previews and empty runs are free.