Skip to main content
Federal Reserve Economic Data API providing 800,000+ time series on GDP, inflation, unemployment, interest rates, and more. Best for macroeconomic research, trend analysis, and building data-driven financial context. Unlike BLS or BEA which cover narrow domains, FRED aggregates data from dozens of sources into a single searchable interface. 2 example endpoints available through Lava’s AI Gateway. See the FRED API docs for full documentation.
This provider is managed — no additional setup required.
This is a catch-all provider — any valid URL under https://api.stlouisfed.org/fred is supported. FRED economic data API. Construct URL as https://api.stlouisfed.org/fred/{endpoint}. Common endpoints: /series/observations?series_id=GDP, /series/search?search_text=inflation, /releases, /category. Auth params (api_key, file_type) are added automatically. The endpoints below are curated examples.

Endpoints

Get time series observations

GET https://api.stlouisfed.org/fred/series/observations?series_id=GDP&file_type=json — Free
const data = await lava.gateway('https://api.stlouisfed.org/fred/series/observations?series_id=GDP&file_type=json', { method: 'GET' });

Search for time series

GET https://api.stlouisfed.org/fred/series/search?search_text=inflation&file_type=json — Free
const data = await lava.gateway('https://api.stlouisfed.org/fred/series/search?search_text=inflation&file_type=json', { method: 'GET' });

Next Steps

All Providers

Browse all supported AI providers

Forward Proxy

Learn how to construct proxy URLs and authenticate requests