/macrotrends/economic-data
Get historical economic indicator data from Macrotrends by page ID
Price: 1 credit
💡 AI Hint: Retrieve historical time-series for economic indicators (Fed Funds Rate, CPI, GDP, Dow Jones, etc.). Each point has date_at (Unix timestamp in milliseconds) and value (float). Sorted newest-first. Common page IDs: 2015=Fed Funds Rate, 4=CPI, 3=GDP, 1319=Dow Jones. Response headers X-Series-Name, X-Series-Label, X-Series-Currency carry metadata.
⚠️ Common errors: 412: Page ID not found or no data available for the requested interval
Authorizations
API token from the dashboard
Headers
Body
Macrotrends page ID from the URL (e.g. 2015 for Fed Funds Rate)
x >= 12015
4
3
Number of data points to return
x >= 1Max scrapping execution timeout (in seconds)
20 <= x <= 1500Data interval
D, INDEXMONTHLY, ANNUALAVG, ANNUALVALUECHANGE