/marketwatch/quotes/history
MarketWatch
/marketwatch/quotes/history
Get historical OHLCV bars for a ticker symbol
Price: 1 credit
💡 AI Hint: Get historical price bars (date_at/open/high/low/close/volume) for a stock, index, or fund. Choose interval (1d/1wk/1mo) and range (1m to 10y). Bars are returned oldest-first.
⚠️ Common errors: 412: Symbol not found or no historical data available
POST
/marketwatch/quotes/history
Authorizations
API token from the dashboard
Headers
Body
application/json
Ticker symbol
Minimum string length:
1Examples:
"AAPL"
"TSLA"
"SPX"
Maximum number of bars to return
Required range:
x >= 1Max scrapping execution timeout (in seconds)
Required range:
20 <= x <= 1500Bar interval: 1d, 1wk, or 1mo
Available options:
1d, 1wk, 1mo Time range: 1m, 3m, 6m, 1y, 3y, 5y, or 10y
Available options:
1m, 3m, 6m, 1y, 3y, 5y, 10y