Skip to main content
GET
GET /historical - Fetch historical OHLC bars

Query Parameters

symbol
string
required

Symbol to fetch (e.g., "ES", "NQ", "ESH6", "NQH6")

data_type
string

Data type: "ohlc" (default: "ohlc")

interval
string

OHLC interval: "15s", "30s", "1m", "2m", "3m", "5m", "15m", "30m", "1h", "4h", "1d", "1w" (default: "1m")

limit
integer

Limit number of records (default: 5000, max: 10000)

Required range: x >= 0
days_back
integer<int32>

How many days back to fetch (default: 30, max: 365)

Required range: x >= 0
start
string | null

Start time (ISO 8601 format, e.g., "2026-01-20T16:00:00Z")

end
string | null

End time (ISO 8601 format, defaults to now)

Response

Historical OHLC data

Response for historical OHLC data

bars
object[]
required
count
integer
required
Required range: x >= 0
end
string
required
interval
string
required
start
string
required
success
boolean
required
symbol
string
required