Agent-readable docs index: /llms.txt. Full docs in one file: /llms-full.txt. Download /docs.zip to grep all markdown files locally.

Reference price

GET /v1/reference/{underlyingKey}
The underlying's reference price, newest first, a page at a time.
query sinceinteger
Engine milliseconds: the oldest point wanted. Defaults to an hour ago; 0 for all.
query beforeinteger
Engine milliseconds: the ts of the last point of the page before. The next page is the points before it.
query limitintegerdefault: 100
At most 100, or 1,000 with a premium account's session.
query envelope1
Wrap as {"position", "points"}.
[{ "ts": 199990001000, "price": 742000 }]