Setup
Put them in your environment or
.env; Data APIs covers the other ways.
Notes
- Every endpoint answers XML unless file_type=json is passed.
- Dates are YYYY-MM-DD. realtime_start/realtime_end select the vintage (ALFRED real-time period) and default to today, so values are the latest revision unless set.
- Paging is limit/offset; most list endpoints cap limit at 1000, series observations at 100000.
Endpoints
Search economic series
Get series metadata
Get series observations
- Values are strings; a missing observation is ’.’.
- frequency cannot be higher than the series’ native frequency (an error), and aggregation only works with xml or json output.
- csv output arrives as a zip holding the csv and a README.