Market Data Endpoints
Public endpoints — no authentication required.
All Models
GET/api/markets
All models with best prices, seller count, and volume.
Returns: model name, best ask (input/output), number of active sellers, 24h and all-time volume.
Cached for 60 seconds (ISR).
Request
bash
Model Order Book
GET/api/markets/:model
Full order book for a specific model.
Returns: all sellers with prices, capacity remaining, health status, and volume. Sorted cheapest-first.
Request
bash
Transaction Feed
GET/api/markets/feed
Live transaction feed. No caching (revalidate=0).
Returns: recent completions with timestamp, model, tokens, price paid, and latency.