Skip to main content
GET
Get chart

Path Parameters

series
string
required

The line: chance:<outcome_id> for an outcome's YES chance (NO is the scale minus each value; an outcome id no HIP-4 asset can have, above 419496729, is 400), or mark:<coin> for a perp's mark as Hyperliquid names it.

Pattern: ^(chance:(0|[1-9][0-9]{0,7}|[1-3][0-9]{8}|40[0-9]{7}|41[0-8][0-9]{6}|419[0-3][0-9]{5}|4194[0-8][0-9]{4}|41949[0-5][0-9]{3}|419496[0-6][0-9]{2}|4194967[01][0-9]|41949672[0-9])|mark:[A-Za-z0-9:._-]{1,40})$

Query Parameters

range
enum<string>

A window ending now (or at the line's end): Live is the last 60 seconds, 1W 7 days, 1M 30 days, ALL the line's whole record from its first recorded value (with market, that market's chance line's), at least 60 seconds.

Available options:
Live,
5M,
15M,
1H,
6H,
1D,
1W,
1M,
ALL
market
string

Only with a mark: line: the outcome id of the market it is drawn for. Its end is then that market's expiry or recorded settlement, as for the market's own chance line, and range=ALL starts at that market's first record instead of the coin's; other windows are unchanged.

Pattern: ^[1-9][0-9]{0,9}$
from
string<date-time>

Start of an explicit window, with to: UTC to the second, as 2026-11-18T19:30:00Z, on the grid step its span picks (the span at most 366 days), not before 2026-10-18.

to
string<date-time>

End of an explicit window, with from, in the same spelling and on the same step, after from and at most a day from now.

Response

The line on the server's grid. Totalis records every change of a chance or perp mark: second detail for seven days, minute detail from 2026-10-18 18:53 UTC on, forever. The grid's step is the shortest of a fixed ladder (250 ms up to 28 days, aligned to Unix time) that covers the window in at most 240 buckets. A step under a minute draws second detail while the window's first day of it is kept (until eight days after that day's start, and not before Totalis began recording the line's feed); otherwise the window comes on a one-minute grid of minute closes. Each bucket carries the first, lowest, highest and last value it saw at their real times, in time order, and where the line became unknown; a value held into a bucket shows at its start. Everything before through is final; continue the bucket that holds it from live points at or after through, and the result equals a later read. A line with no record is empty, never a guessed value, and nothing before 2026-10-18 18:53 UTC is drawn.

One chart line on the server's grid.

series
string
required

The line asked for.

Pattern: ^(chance:(0|[1-9][0-9]{0,7}|[1-3][0-9]{8}|40[0-9]{7}|41[0-8][0-9]{6}|419[0-3][0-9]{5}|4194[0-8][0-9]{4}|41949[0-5][0-9]{3}|419496[0-6][0-9]{2}|4194967[01][0-9]|41949672[0-9])|mark:[A-Za-z0-9:._-]{1,40})$
scale
enum<string>
required

What one whole unit is: 10^18 for a chance (NO is scale minus each YES value, its low the YES high), 10^6 for a mark.

Available options:
1000000000000000000,
1000000
reducer
integer
required

The reduction this body was cut with: per bucket and known stretch, first, lowest, highest and last value at their real times, in time order, a value serving several roles once, the earliest on a tie. A stretch held from before a bucket starts at the bucket's start; a null ends one where it was recorded, and a null at the bucket's start leaves the held value out; a value equal to the one held is no change. A client continuing the partial bucket uses the same one; the backend's shared reducer fixture holds its cases.

grid
object
required

The grid the server picked, about 240 buckets: under a minute from second detail, otherwise from minute closes.

through
integer
required

Everything before it is final: the last recorded minute edge on minute grids (the close of the minute ending at it is final, in the bucket before it), the last recorded bucket edge on finer ones, or end. A point at or after it comes from the live lane.

Required range: 0 <= x <= 9007199254740991
entering
string | null
required

The value held at grid.from, null when unknown there. When through precedes grid.from it is the value held at through: the live lane's points from through to grid.from move it without drawing anything.

Pattern: ^(0|[1-9][0-9]{0,18})$
points
object
required

Every bucket before the one holding through, reduced: each known stretch's first, lowest, highest and last value, and a null where the line became unknown.

partial
Start · object | null
required

The bucket holding through, as reduced over [start, through); null when through is past the window.

end
integer | null
required

Where an ended line stops (the market's expiry or recorded settlement, the earlier, once passed; for a mark line, that of the market it was asked for): nothing at or after it is drawn. Between grid edges it cuts the last bucket to [its start, end). Null before. Until the settlement is recorded an end from the expiry may still move or go back to null when the expiry is revised (final false, cached as a live line); from the settlement on it is the earlier of the expiry in effect then and the settlement, and never moves. The chart read is the only source of a line's end: read again when the market stream shows the market expired, postponed or settled.

Required range: 0 <= x <= 9007199254740991
final
boolean
required

True once end can no longer move: the market's settlement recorded it. False while end is null, comes from the expiry alone, or belongs to a settlement recorded before Totalis kept its end (read from the catalog's expiry now, cached as a live line).