Skip to main content
GET
Error

Authorizations

Authorization
string
header
required

A Lean API key, sent as Authorization: Bearer <key>. A test key (lean_sk_test_...) simulates orders and fills with no money; a live key (lean_sk_live_...) trades for real within the key's limits. Every successful response says which mode answered in data.livemode.

Query Parameters

market_ids
string
required

Markets separated by commas, at most 25: market ids from GET /markets or venue symbols that each name one market, such as Polymarket token ids or Hyperliquid book coins. A venue symbol is priced on the one listing it names, as an order naming it would trade, under its market id with that listing in venues. A market id is priced across every listing. Ids naming the same listings are priced once.

Response

Top of book per market, best across venues and per venue

success
enum<boolean>
required
Available options:
true
data
object
required
meta
object
required