Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Run statistical forecasts on macroeconomic indicators.
curl -X POST https://macrobymark.com/api/forecast/run \ -H "X-API-Key: YOUR_KEY" \ -H "Content-Type: application/json" \ -d '{ "slug": "us-cpi-all-items", "model": "arima", "horizon": 12, "vintage": { "mode": "latest" } }'
curl -X POST https://macrobymark.com/api/forecast/run \ -H "X-API-Key: YOUR_KEY" \ -H "Content-Type: application/json" \ -d '{ "slug": "us-cpi-all-items", "model": "arima", "horizon": 6, "vintage": { "mode": "specific", "date": "2024-01-15" } }'
# CSV curl -G "https://macrobymark.com/api/forecast/run/{cacheKey}/csv" \ -H "X-API-Key: YOUR_KEY" # JSON curl -G "https://macrobymark.com/api/forecast/run/{cacheKey}/json" \ -H "X-API-Key: YOUR_KEY"