Skip to main content
GET
cURL

Overview

The hourly sample of the Ornn Token Price Index. Each row is the capture time, the lab, and indexPerMtok. This is the token-weighted blend of that hour’s sample. The settled daily print remains GET /api/otpi. Access is the same: without a key, anthropic, openai, google, and deepseek for the trailing 3 months. A Premium or Full key unlocks all 11 labs and the full history.

Query Parameters

date
string<date>

UTC day in YYYY-MM-DD. Returns every sample captured that day. Omit it, and omit the range, for the latest sample.

startDate
string<date>

Inclusive start of a UTC-day window. Use with endDate.

endDate
string<date>

Inclusive end of a UTC-day window. Use with startDate.

lab
enum<string>

Filter to a single lab. Without a key, only anthropic, openai, google, and deepseek are available.

Available options:
anthropic,
openai,
google,
deepseek,
minimax,
xiaomi,
qwen,
moonshotai,
z-ai,
mistralai,
meta-llama

Response

Hourly sample rows. The latest capture carries a top-level capturedAt. A date query carries that date. A range carries startDate and endDate.