Skip to main content
GET
/
v1
/
ticks
/
export
Export Ticks
curl --request GET \
  --url https://api.polydata.live/v1/ticks/export

Documentation Index

Fetch the complete documentation index at: https://docs.polydata.live/llms.txt

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

Streams raw tick data as a downloadable file. Use this for bulk export — the response is streamed as soon as data is available, so you don’t wait for the full result.

Query Parameters

asset_id
string
required
Outcome token ID
start
number
required
Start time (Unix ms)
end
number
required
End time (Unix ms)
format
string
default:"csv"
csv or jsonl

Response

Stream of CSV rows or JSONL lines. The Content-Disposition header tells your client to save as a file.

CSV format

timestamp,event_type,side,best_bid,best_ask,price,size
1776240000035,price_change,YES,0.46,0.47,0.01,10974.76
1776240000036,price_change,YES,0.46,0.47,0.09,2347.0

JSONL format

{"t": 1776240000035, "event": "price_change", "side": "YES", "best_bid": 0.46, "best_ask": 0.47, "price": 0.01, "size": 10974.76}
{"t": 1776240000036, "event": "price_change", "side": "YES", "best_bid": 0.46, "best_ask": 0.47, "price": 0.09, "size": 2347.0}

Example

curl "https://api.polydata.live/v1/ticks/export?asset_id=xxx&start=1776240000000&end=1776326400000&format=csv" \
  -H "Authorization: Bearer pd_live_xxxxx" \
  -o ticks.csv
See the Data Export Guide for full examples including pandas/Polars integration.