Skip to Content
API ReferenceObservationsVintages (revision history)

Observation Vintages

GET /v1/observations/vintages lists the revision history of a series: for each period, every value it has had, oldest first, with the time each was current. It is the record behind point-in-time reads, in the shape of FRED’s ALFRED. This endpoint requires an API key or x402 payment, at the same price as observations.

Request

curl "https://api.creativeforesight.io/v1/observations/vintages?indicator=GDP&region=US&limit=2" \ -H "Authorization: Bearer $FORESIGHT_API_KEY"

Query parameters

ParameterTypeRequiredDescription
indicatorstringYesIndicator or concept code.
sourcestringNoSource slug for duplicate provider codes.
regionstringNoRegion code. Uses the indicator default region when omitted.
start_datedateNoInclusive lower bound on period_start.
end_datedateNoInclusive upper bound on period_start.
limitintegerNoPeriods per page, 0 to 200. Defaults to 20.
offsetintegerNoPage offset, in periods. Defaults to 0.
orderasc or descNoPeriod order. Defaults to desc.

Vintage object

Each period carries vintages, oldest first; the last one is the current value.

FieldTypeDescription
valuenumber or nullThe value, in meta.unit.
realtime_startdate-time or nullWhen this value was published (the source’s time, or when Foresight first saw it). null: it was already current when Foresight began recording (meta.recording_started_at).
realtime_enddate-time or nullWhen a later value replaced it. null: still current.
revisioninteger or null0 for the first value Foresight holds, then 1, 2, …
is_preliminaryboolean or nullThe source marked it preliminary or an early estimate.
estimatestring or nulladvance, second or third for BEA’s national accounts.
source_updated_atdate-time or nullWhen the source last updated the data this value comes from (FRED’s series update time, BEA’s table revision date), when the source states one.

Response

{ "data": [ { "period_start": "2026-04-01", "period_end": "2026-06-30", "period_type": "quarterly", "vintages": [ { "value": 32475.21, "realtime_start": "2026-07-30T00:00:00+00:00", "realtime_end": "2026-08-26T00:00:00+00:00", "revision": 0, "is_preliminary": false, "estimate": null, "source_updated_at": null }, { "value": 32486.066, "realtime_start": "2026-08-26T00:00:00+00:00", "realtime_end": "2026-09-30T00:00:00+00:00", "revision": 1, "is_preliminary": false, "estimate": null, "source_updated_at": null }, { "value": 32563.03, "realtime_start": "2026-09-30T00:00:00+00:00", "realtime_end": null, "revision": 2, "is_preliminary": false, "estimate": null, "source_updated_at": "2026-10-29T13:03:33+00:00" } ] } ], "meta": { "indicator": "GDP", "region": "US", "unit": "USD, billions", "total": 318, "limit": 2, "offset": 0, "recording_started_at": "2026-11-19T15:22:05.911146+00:00", "source_attribution": "Contains FRED® data © Federal Reserve Bank of St. Louis" } }

How far back

  • FRED series carry ALFRED’s archive: every value back to when ALFRED began keeping that series. Dates from the archive start at midnight UTC on the day FRED published them.
  • Other sources are recorded from November 19, 2026. A value that was current then has realtime_start: null, because Foresight cannot say since when.
  • Derived cf:* series list the values Foresight computed. To see one as it would have been on a past date, read it with as_of; it is computed from its inputs as known that day.

Errors

StatusCodeMeaning
400INVALID_PARAMETERA query parameter is invalid.
401INVALID_API_KEYNo valid API key and no settled x402 payment.
403CATEGORY_NOT_ALLOWED / REGION_NOT_ALLOWEDThe key does not cover this series or region.
404RESOURCE_NOT_FOUNDThe indicator or region was not found.
429RATE_LIMIT_EXCEEDEDThe key exceeded its one-minute request limit.
Last updated on