Which series can I request?
Use GET /indicators for the catalog. Each entry includes id, name, country, source, unit, and whether a server-side key is required.
GDP, inflation, employment, and rates from three government sources, with latest values and cached history for dashboards and agents.
This calls GET /series/:id/latest for World Bank series that do not need a server-side key. Pick a catalog id to see the current value.
Loading latest value...
Why Economic Indicators API
Latest in one hop
GET /series/:id/latest returns the current observation without pulling a full window.
History with a cap
GET /series/:id accepts limit 1 to 60 (default 12). BLS series cap at 5 observations.
Three official sources
FRED, World Bank, and BLS behind one catalog so dashboards do not juggle three clients.
Keyless World Bank
World Bank series work without an upstream key. FRED and BLS use server-side keys.
Catalog discovery
GET /indicators lists id, name, country, source, unit, and requiresApiKey.
Long-TTL cache
fromCache and updatedAt tell you when the series was last assembled.
/api/v1/economic-indicators
Latest value
Most recent observation for a catalog id, plus cache status.
History
Observation window. limit 1 to 60, default 12. BLS caps at 5.
Catalog
Every series with source, unit, and whether a server-side key is needed.
Interest rates
Bundled Fed Funds (FRED) and US real interest rate (World Bank).
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes | Catalog indicator id path parameter, e.g. us_gdp_growth. |
| limit | integer | no | History observations 1 to 60, default 12. BLS caps at 5. |
Error reference
Invalid limit or malformed indicator id.
Missing or invalid gateway API key. Send x-api-key or api_key with every request.
Indicator id is not in the catalog, or the route does not exist.
More than 200 requests in a 15-minute window.
Upstream source failed or returned no observations.
Example error response
{
"success": false,
"error": "Unknown indicator",
"correlationId": "req_abc123"
}FAQ
Use GET /indicators for the catalog. Each entry includes id, name, country, source, unit, and whether a server-side key is required.
GET /series/:id/latest returns the most recent date/value pair plus cache status. GET /series/:id returns history with limit 1 to 60 (default 12).
Not on your side. World Bank series are keyless. FRED and BLS use server-side keys and are flagged requiresApiKey in the catalog. Unknown ids return 404.
BLS series cap at 5 observations regardless of a higher limit. Other sources honor limit up to 60.
Send your Datpaq API key as an x-api-key header or an api_key query parameter. Keys are created in the Datpaq dashboard and a free tier is included.
GDP, inflation, employment, and rates from FRED, World Bank, and BLS, with caching that keeps dashboards fast.