Stock Data
OHLCV candles
Daily or weekly candles, oldest first. meta.pagination.total counts all candles in the range.
get/stocks/{symbol}/candles
Request
- Base URL: https://stockmarketscan.com/api/v1
- URL: https://stockmarketscan.com/api/v1/stocks/{symbol}/candles
- Auth: one of:
- API key in header X-API-Key
- HTTP bearer
- API key in header X-RapidAPI-Key
Path parameters
symbolstring required
Ticker symbol, case-insensitive.
Query parameters
interval'1d' | '1wk'
Candle interval.
rangestring
1d, 5d, 1y, 2y, 5y, max (10 years), or {N}mo with N from 1 to 240.
limitinteger
cursorstring
Opaque cursor from meta.pagination.next_cursor of the previous page. Omit for the first page.
Headers
If-None-Matchstring
ETag of a previous response. An unchanged resource returns 304 without a body and without a quota charge.
Response
Candles
Example response
{
"data": [
{
"open": 179.9,
"high": 182.4,
"low": 179.1,
"close": 181.85,
"volume": 201345600
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.