Open Family Office Datasets Tickers Strategies Portfolios Research Posts About Changelog

The FRED API, and Reading FRED Point in Time

Source

Citation. Federal Reserve Bank of St. Louis. FRED® API documentation, at fred.stlouisfed.org/docs/api/fred. The pages read: series_observations, realtime_period, fred_vs_alfred, series_vintagedates, series_release, release_dates, series, errors and the terms of use. Also ALFRED's help page on downloading data, and the FRED blog post "ALFRED at 15" (2021). The pages carry no version or date. This is documentation, not a study, so it has no data, method or funding to state.

Status. Used. The hourly tick calls fred/series/observations through open_familyoffice/fetchers.py fred(). The review finds that the fetcher reads FRED's latest vintage, and dates each value by its period, not its release. #295 fixes that.

Read. Read on 2026-11-27 through a subagent, from the live pages. Its fetch tool returns quotes of at most 125 characters, so it read each page in several passes. It read the parameter tables of series_observations, series_vintagedates and release_dates in full. It read realtime_period almost sentence by sentence. It read series_release, series, the terms and the rate-limit page in the parts that matter here. I checked the fetcher's code myself.

Summary

Claim. One API serves FRED and ALFRED. By default it returns "what information about the past is available today". Its real-time parameters return a series as it was known at any date in the past.

Method. The documented parameters of fred/series/observations, and their defaults:

The other endpoints:

Findings, as the source reports them.

Setting Number Value
series/observations, by default real-time period today to today
The same observations per request up to 100,000
Vintages per query, JSON, most series limit 2,000
Rate limit (errors) requests a minute before an HTTP 429 120
Release dates (release/dates) time of day none: dates only
Earliest vintage in ALFRED (its download pages) PAYEMS, CPIAUCSL, GDP 1955-05-06, 1972-07-21, 1991-12-04

The docs warn that "release dates are published by data sources and do not necessarily represent when data will be available". The terms say that some series "may be owned by third parties and subject to copyright restrictions". They add: "Copyrighted series contain the word 'Copyright' in their notes". An application must show the notice "This product uses the FRED® API but is not endorsed or certified by the Federal Reserve Bank of St. Louis."

Where the claims go beyond the evidence

Dates, not times. Every real-time and release field is a date. A value released at 8:30 a.m. and one released after the close share a date. A user needs a rule for when on that day a value counts as known.

Release dates are scheduled, not observed. The docs say themselves that a release date may not be when the data was available. A vintage's realtime_start is when ALFRED recorded the value, which is the better date.

ALFRED's history is uneven. The blog says vintages accumulate "only after these data are initially added to FRED", except where earlier ones were filled in. So a series added recently has no point-in-time history before that. GDP's vintages start in 1991, PAYEMS's in 1955.

The output types are named, not defined. series_observations lists the four types. Only ALFRED's help page says what each returns. The docs also don't say whether type 4 needs the wide real-time window. A test should settle it.

Credit. The docs state the defaults plainly, including that the default is today's vintage. They warn about release dates, and they mark copyrighted series.

Use in this repo

The fetcher reads today's vintage, dated by period (#295). fred() sends series_id, api_key, file_type and observation_start, and nothing else.

#295 asks for the full real-time window, keeps every vintage with its window, and dates each value from the day after its realtime_start.

The registry overstates the point-in-time history. registry/datasets/fred.yaml says ALFRED "keeps each series as it was first published, so a backtest can read it point in time". That is true of ALFRED, but the fetcher doesn't use it. #295 changes the description with the fix.

Daily market series need a known-at rule too. Rates, spreads and VIX are rarely revised, but they are dated without a time. A conservative rule is to treat a value as known from the next day's open. The verdict's look-ahead oracle (#12) can test that the harness applies it.

Transforms belong in the project. units and frequency change values on the server, and their treatment of an incomplete period isn't documented. The fetcher should take raw values (units=lin, no frequency) and do any transform in one place in the project.

The site's terms (#296). Pages that show FRED data, or results derived from it, need FRED's notice and a link to its terms. A series whose notes say "Copyright" needs its owner's permission before the site shows it.

Limits. At 120 requests a minute, an hourly tick of a few dozen series is far below the limit. A first pull with the full real-time window returns many rows per observation, but 100,000 rows per request covers most series. The 2,000-vintage limit per JSON query matters only for series revised very often.