/stooq/quotes/history
Stooq
/stooq/quotes/history
Get historical OHLCV bars for a ticker symbol
Price: 1 credit
💡 AI Hint: Get historical price bars (date/open/high/low/close/volume) for stocks, indices, forex, or futures. Choose interval: daily, weekly, or monthly. Optionally filter by date range (date_from/date_to in YYYY-MM-DD). Returns bars sorted newest-first.
⚠️ Common errors: 412: Symbol not found or no historical data available
POST
/stooq/quotes/history
Authorizations
API token from the dashboard
Headers
Body
application/json
Ticker symbol
Minimum string length:
1Examples:
"AAPL.US"
"^SPX"
"EURUSD"
Maximum number of bars to return
Required range:
x >= 1Max scrapping execution timeout (in seconds)
Required range:
20 <= x <= 1500Bar interval
Available options:
daily, weekly, monthly Start date in YYYY-MM-DD format
Pattern:
^\d{4}-\d{2}-\d{2}$End date in YYYY-MM-DD format
Pattern:
^\d{4}-\d{2}-\d{2}$