Concepts
Foresight API normalizes provider-specific economic data into a small resource model.
Sources
A source is a data provider or derived-data publisher. Examples include public providers such as FRED, BLS, BEA, and BIS, plus Creative Foresight itself.
Source records include a stable slug, display name, provider metadata, category, documentation URL, and active indicator count.
Indicators
An indicator is a named time series such as UNRATE or cf:labor_composite. Indicator records include the source, category, subcategory, access_tier, unit, frequency, active state, default region, and available regions.
Some providers reuse codes. Use the source query parameter when a code is ambiguous.
Categories are taxonomy only. The top-level category is one of 13 fixed domains: macro, labor, prices, markets, housing, government-finance, demographics, business, energy, crypto, health, environment, or education. subcategory is a meaningful kebab-case second level within that domain.
Access is controlled by access_tier, not by category. free indicators are available to free-tier keys. premium indicators require an unrestricted key, a key granting creative-foresight, or x402 payment on payable endpoints.
Observations
Observations are dated values for an indicator and region. Each row is one period:
| Field | Meaning |
|---|---|
period_start | First day of the period. |
period_end | Last day of the period. |
period_type | daily, weekly, monthly, quarterly or annual. A series holds one period type; ask for another with frequency=. |
value | Numeric value, or null when the source publishes a gap. |
The response’s meta names the indicator, region, unit and source attribution once for all rows. Units come from one vocabulary across every source.
Regions
Regions identify geography. National series commonly use US. County and subnational series use FIPS-style codes where applicable.
GET /v1/regions can filter by type and parent, which lets clients discover available counties for a state or local regions under a parent geography.
Revisions
Sources revise their numbers. BEA publishes GDP for a quarter three times in three months (the advance, second and third estimates) and revises it again each year; BLS revises payrolls twice after the first print. Foresight keeps every value a period has had:
- Each row carries
revision(how many earlier values the period had),is_preliminary(the source marks it preliminary or an early estimate it will revise),estimate(advance,secondorthirdwhere the source names it) andsource_updated_at(when the source last updated the data it comes from). as_of=YYYY-MM-DDreads a series as it was published by the end of that day: each period at the value it had then, and no period published later. This is what a backtest needs. Today’s GDP for 2008 is not what anyone saw in 2008, and a signal computed from revised data looks better than it could have been in real time.GET /v1/observations/vintageslists every value of each period with when it was current.
FRED series reach back through ALFRED, FRED’s archive of past releases. Other sources are recorded from November 19, 2026; an as_of date before a series’ recorded history returns 400 with details.earliest_as_of instead of a guess.
The cf:* derived layer
Creative Foresight original indicators use cf:* codes and access_tier: "premium". These are derived series no provider publishes directly.
Every derived value traces back to the public series behind it, and those series stay queryable through the same API — so agents and applications get a stable signal whose underlying data chain stays auditable.
The full catalog — what each series measures, its inputs, and cadence — is on Derived Indicators.