Get Historical Prices
Trading
Get Historical Prices
Retrieve newest-first historical YES-price data for an exact market slug or all visible children of a group slug. Interval values are lookback presets, not custom date bounds.
GET
Get Historical Prices
Historical price data is scoped to each market’s lifespan. Each market on
Limitless is a distinct instance with a fixed start and end time, so this
endpoint clips the selected lookback to market creation and the earlier of the
market deadline or the current time.Short-lived markets (for example, hourly or 15-minute crypto markets) therefore
return only a small window of history, typically no longer than the market’s
duration itself. To reconstruct a longer time series for a recurring product,
query across the multiple markets that made up that period (each with its own
slug).
Slug and response variants
Slug resolution checks for an exact market first, including a standalone CLOB market, an AMM market, or one child of a multi-outcome group. An exact market returns one object withtitle, marketStatus, and prices.
If no exact market matches, a visible group slug returns an array containing one object per visible child. Each series reports the group’s status as marketStatus; child order is not guaranteed. A hidden group is treated as missing, while an exact hidden market slug is still resolved.
Every price point is { price, timestamp }. price is a JSON number and timestamp is a decimal Unix epoch-millisecond string, such as "1736944200000". Points within each series are newest first. A resolved CLOB series with retained history starts with its final payout price, timestamped one second after the newest retained point.
Lookback presets
interval selects a lookback preset, not merely the spacing between points. It defaults to 1d. The API does not accept custom from or to bounds.
For a young live market, the service may use a finer preset so the returned series fits the market’s age. Resolved CLOB markets use the finest retained bucket available for their lifespan. A live CLOB series may add its latest event after applying the bucket limit, and a resolved CLOB series may add its final payout point. These choices do not change the requested lookback boundary.
Empty data and freshness
- A CLOB market with no retained price events returns
prices: []. - AMM buckets without trades use a
0.5fallback, so an AMM no-data response contains synthesized points rather than an empty series. - A visible group with no visible children returns
[].
Errors
Path Parameters
Query Parameters
Lookback preset. 1m means one month (30 days). Defaults to 1d.
Available options:
5m, 1h, 6h, 1d, 1w, 1m, all Example:
"1d"
Response
One series for an exact market slug, or an array of visible child series for a group slug
- object
- object[]
Example:
"Will the event happen?"
Newest-first YES prices.
Exact market status for a single response, or group status for every series in a group response.
Available options:
CREATED, DRAFTED, FUNDED, LOCKED, RESOLVED Example:
"FUNDED"