Skip to main content
GET
cURL

Overview

The Closed Source and Open Source Token Indexes: per weight class, the labs’ settled OTPI, each weighted by the tokens it priced that day, in USD per million tokens. Returns each class’s latest settled day by default, or a startDate/endDate range; class limits the response to closed or open. Without a key, the trailing 3 months; a Premium or Full key returns the complete history. A day on which a class could not be priced is omitted for that class, not returned as null or zero. The response includes access: "public-3mo" | "premium" | "full".

Query Parameters

class
enum<string>

closed or open. Omit for both. Any other value returns 400.

Available options:
closed,
open
startDate
string<date>

Inclusive start of a settlement-date range in YYYY-MM-DD. Use with endDate. Without a key, compute a date within the trailing 3 months at request time.

endDate
string<date>

Inclusive end of a settlement-date range in YYYY-MM-DD. Use with startDate.

Response

One row per class per settled day, oldest first. labsPriced is how many labs in the class carried that day's value.