Skip to main content
POST
Batch historical ticks for up to 5 symbols

Overview

The batch endpoint takes the same query shape as Get Historical Ticks, repeated. Each entry in queries carries its own symbol and its own optional from, to, and limit, so the windows do not have to match.

Request

queries must contain between 1 and 5 entries. A request with zero queries, or with more than five, is rejected with 400.
Per-query limit follows the same rule as the single-symbol endpoint: 0 or omitted means 10,000, and larger values are clamped to 10,000.

Response

data.results holds one HistoryResponse per query, in the order the queries were sent. A symbol with no ticks in its window comes back with count: 0 and an empty ticks array — it is not dropped from the array and does not fail the request.
As on every prediction-market endpoint, yesPrice and noPrice are exact decimals serialized as strings — parse them with a decimal type, not a float.

Example

Errors

  • 400 — malformed JSON, empty queries, more than 5 queries, or a query missing symbol
  • 502 — the upstream data store was unavailable

Body

application/json
queries
object[]
required
Required array length: 1 - 5 elements

Response

Batch history results

Standard success envelope used by all success responses. data is endpoint-specific.

success
boolean
required
Example:

true

data
object