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

Settlements

GET /v1/settlements
Every contract the exchange has settled, and its settlement price, newest first: by expiry, then underlying key, then specifier. It is a page at a time.
query underlyinginteger
Only this underlying key's contracts.
query expiryinteger
Only contracts of this expiry, in engine milliseconds.
query limitintegerdefault: 100
At most 100, or 1,000 with a premium account's session.
query beforestring
The next cursor the page before named.
{ "position": 918274, "through": 1834, "settled": [{ "underlyingKey": 1, "specifier": 859008923130267914, "expiryMs": 200003600000, "price": 742000 }], "next": "200003600000.1.859008923130267914" }
price is the settlement price, in micros. position is the stream position the answer is complete to, and through the input sequence. next is present when there is another page: pass it back as ?before=.