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.
| Field | Type | Notes |
|---|---|---|
| params.series_id | string | FRED series id. |
| params.observation_start | string | First date to include (YYYY-MM-DD). |
| params.observation_end | string | Last date to include (YYYY-MM-DD). |
| maxResults | number | Most observations to return, newest first (1 to 1000, default 100). Sent next to params, not inside it. |
| preview | boolean | true returns up to 5 rows and costs nothing. Sent next to params, not inside it. |
Result
Every row in rows has these fields.
| Field | Type | Notes |
|---|---|---|
| series_id | string | |
| title | string | |
| date | string | Observation date (YYYY-MM-DD) |
| value | number | Null when FRED reports no value |
| units | string | |
| frequency | string | |
| seasonal_adjustment | string |
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.