Skip to main content
GET
/
api
/
v1
/
orderbook-snapshots
/
download
Download orderbook snapshots
curl --request GET \
  --url https://api.probalytics.io/api/v1/orderbook-snapshots/download \
  --header 'Authorization: Bearer <token>'
"<string>"

Documentation Index

Fetch the complete documentation index at: https://docs.probalytics.io/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

API key in the format credential_id:credential_secret.

Example: Authorization: Bearer api_brave_cosmic_falcon:sk_life_AbCdEfGh...

Query Parameters

market_id
string<uuid>

Probalytics internal market UUID. Either market_id or market_platform_id is required.

market_platform_id
string

Platform's native market identifier. Either market_id or market_platform_id is required.

start_time
string<date-time>
required

Start of the time range (RFC 3339).

end_time
string<date-time>
required

End of the time range (RFC 3339).

Response

A Parquet file containing orderbook snapshots interpolated to 1-millisecond resolution (LOCF).

Parquet columns: market_id (UUID), market_platform_id (String), platform (String), outcome (Tuple: id, platform_id, name, index), bids (Array of (price, size) tuples sorted by price descending), asks (Array of (price, size) tuples sorted by price ascending), timestamp (DateTime64(3), millisecond UTC).

The response is of type file.