Get Economic Indicator Data
Fetches historical data for a specific economic indicator (e.g., real GDP, CPI, unemployment rate). The indicator name should be provided in kebab-case (e.g., 'real-gdp').
Path parameters
The name of the economic indicator in kebab-case. Examples: gdp, real-gdp, nominal-potential-gdp, real-gdp-per-capita, federal-funds, cpi, inflation-rate, inflation, retail-sales, consumer-sentiment, durable-goods, unemployment-rate, total-nonfarm-payroll, initial-claims, industrial-production-total-index, new-privately-owned-housing-units-started-total-units, total-vehicle-sales, retail-money-funds, smoothed-us-recession-probabilities, 3-month-or-90-day-rates-and-yields-certificates-of-deposit, commercial-bank-interest-rate-on-credit-card-plans-all-accounts, 30-year-fixed-rate-mortgage-average, 15-year-fixed-rate-mortgage-average. Refer to data provider documentation for a full list of available indicators.
Query parameters
The starting date for the historical data (YYYY-MM-DD).
The ending date for the historical data (YYYY-MM-DD).
Response
Successful response with an array of historical data points for the indicator.
Example response
[
{
"date": "2023-10-01",
"value": 22749.841
}
]