Skip to main content
GET
OHLCV price bars for a symbol and resolution

Authorizations

Authorization
string
header
required

Skylit API key in the Authorization header (Authorization: Bearer <key>). X-API-Key is also accepted. The same key works across Atlas, Heatseeker, and Flowseeker.

Query Parameters

symbol
string
required

Ticker (e.g. SPY).

Example:

"SPY"

resolution
enum<string>
required

Bar size. Intraday minutes or D/W.

Available options:
1,
2,
3,
5,
15,
30,
60,
240,
480,
D,
W
Example:

"D"

from
integer<int64>
required

Window start, Unix seconds (UTC).

Example:

1748131200

to
integer<int64>
required

Window end, Unix seconds (UTC).

Example:

1748736000

countback
integer

When set, return exactly this many bars ending at to (takes precedence over from, per the UDF spec).

Required range: x >= 1
extended
boolean
default:false

Include extended-hours (pre / post-market) bars. Default is regular trading hours only (09:30–16:00 ET).

Response

Bars, or a no_data marker — both 200 per UDF.

s
enum<string>
required

Status flag.

Available options:
ok
t
integer<int64>[]
required

Bar open times, Unix seconds (UTC), oldest-first.

o
number[]
required

Opens.

h
number[]
required

Highs.

l
number[]
required

Lows.

c
number[]
required

Closes.

v
number[]
required

Volumes.

bv
number[]

Buy (aggressor) volume per bar, equities where available.

sv
number[]

Sell (aggressor) volume per bar.

uv
number[]

Unclassified volume per bar.