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®ion=US&limit=2" \
-H "Authorization: Bearer $FORESIGHT_API_KEY"Query parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
indicator | string | Yes | Indicator or concept code. |
source | string | No | Source slug for duplicate provider codes. |
region | string | No | Region code. Uses the indicator default region when omitted. |
start_date | date | No | Inclusive lower bound on period_start. |
end_date | date | No | Inclusive upper bound on period_start. |
limit | integer | No | Periods per page, 0 to 200. Defaults to 20. |
offset | integer | No | Page offset, in periods. Defaults to 0. |
order | asc or desc | No | Period order. Defaults to desc. |
Vintage object
Each period carries vintages, oldest first; the last one is the current value.
| Field | Type | Description |
|---|---|---|
value | number or null | The value, in meta.unit. |
realtime_start | date-time or null | When 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_end | date-time or null | When a later value replaced it. null: still current. |
revision | integer or null | 0 for the first value Foresight holds, then 1, 2, … |
is_preliminary | boolean or null | The source marked it preliminary or an early estimate. |
estimate | string or null | advance, second or third for BEA’s national accounts. |
source_updated_at | date-time or null | When 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 withas_of; it is computed from its inputs as known that day.
Errors
| Status | Code | Meaning |
|---|---|---|
400 | INVALID_PARAMETER | A query parameter is invalid. |
401 | INVALID_API_KEY | No valid API key and no settled x402 payment. |
403 | CATEGORY_NOT_ALLOWED / REGION_NOT_ALLOWED | The key does not cover this series or region. |
404 | RESOURCE_NOT_FOUND | The indicator or region was not found. |
429 | RATE_LIMIT_EXCEEDED | The key exceeded its one-minute request limit. |
Last updated on