Skip to main content
GET
Get Stock OHLC data

Authorizations

X-API-Key
string
header
required

API Key authentication. Example: "your-api-key-here"

Query Parameters

symbol
string
required

Stock symbol (e.g. AAPL, TSLA)

start_time
integer
required

Start time (Unix seconds)

end_time
integer
required

End time (Unix seconds)

interval
enum<string>
required

Interval (1m = 1 month)

Available options:
1min,
2min,
3min,
5min,
10min,
15min,
30min,
45min,
1h,
2h,
4h,
1d,
1w,
1m,
3m,
6m
limit
integer

Limit (default 100)

session
enum<string>

Trading session filter: RTH (9:30-16:00 ET) or ETH (default, includes pre/post market). Intraday only — daily+ intervals always use RTH.

Available options:
RTH,
ETH
include_partial
boolean

Default false: closed bars only. When true and the range reaches the current bucket, the in-progress bar is returned as data[0] (the newest element). Its time_close is the scheduled close, still in the future, and its values keep changing until then. It is built from 1-minute bars, each written once its minute closes, so it trails the live price by about a minute; an end_time before now cuts it there. 1d covers the RTH session only: there is no partial bar before 9:30 ET, on weekends or on market holidays. The 1d value is built from RTH minute bars; the official daily bar stored after the close replaces it and its high/low/volume can differ slightly. limit still caps the total (the oldest bar is dropped). No effect for 1min.

Response

Stock kline data

data
object[]
error
object
metadata
any
pagination
any
request_id
string
success
boolean