A valid request URL is required to generate request examples
{ "success": true, "data": { "markets": [ { "id": "mkt_bmZsOjIwMjYtMTAtMTE6REVOLUxBQwpzcHJlYWQ6Z2FtZTpERU46LTMuNQpERU4", "title": "Denver Broncos at Los Angeles Chargers: DEN -3.5, Denver Broncos -3.5", "outcome": "DEN", "line": "-3.5", "fixture": { "key": "nfl:2026-10-11:DEN-LAC", "sport": "football", "league": "nfl", "title": "Denver Broncos at Los Angeles Chargers", "starts_at": "2026-10-11T20:25:00.000Z", "scheduled_date": "2026-10-11", "participants": [ "Denver Broncos", "Los Angeles Chargers" ], "teams": [ { "key": "DEN", "name": "Denver Broncos", "role": "away" }, { "key": "LAC", "name": "Los Angeles Chargers", "role": "home" } ] }, "group": { "key": "spread:game:DEN:-3.5", "kind": "spread", "label": "DEN -3.5", "period": "game", "subject": "DEN", "stat": null, "line": "-3.5" }, "legs": [ { "venue": "hyperliquid", "ticker": "<venue ticker>", "side": "yes", "status": "open", "tradable": true, "resolution": { "source": null, "rules": "Resolves YES if the Denver Broncos win by more than 3.5 points, overtime included.", "end_date": "2026-10-12T04:00:00.000Z", "url": null } }, { "venue": "polymarket", "ticker": "<venue ticker>", "side": "yes", "status": "open", "tradable": true, "resolution": { "source": null, "rules": "Resolves to Denver Broncos if they win by more than 3.5 points, overtime included.", "end_date": "2026-10-12T04:00:00.000Z", "url": null } } ], "equivalence": "verified" }, { "id": "mkt_bmZsOjIwMjYtMTAtMTE6REVOLUxBQwpzcHJlYWQ6Z2FtZTpERU46LTMuNQpMQUM", "title": "Denver Broncos at Los Angeles Chargers: DEN -3.5, Los Angeles Chargers +3.5", "outcome": "LAC", "line": "3.5", "fixture": { "key": "nfl:2026-10-11:DEN-LAC", "sport": "football", "league": "nfl", "title": "Denver Broncos at Los Angeles Chargers", "starts_at": "2026-10-11T20:25:00.000Z", "scheduled_date": "2026-10-11", "participants": [ "Denver Broncos", "Los Angeles Chargers" ], "teams": [ { "key": "DEN", "name": "Denver Broncos", "role": "away" }, { "key": "LAC", "name": "Los Angeles Chargers", "role": "home" } ] }, "group": { "key": "spread:game:DEN:-3.5", "kind": "spread", "label": "DEN -3.5", "period": "game", "subject": "DEN", "stat": null, "line": "-3.5" }, "legs": [ { "venue": "hyperliquid", "ticker": "<venue ticker>", "side": "no", "status": "open", "tradable": true, "resolution": { "source": null, "rules": "Resolves YES if the Denver Broncos win by more than 3.5 points, overtime included.", "end_date": "2026-10-12T04:00:00.000Z", "url": null } }, { "venue": "polymarket", "ticker": "<venue ticker>", "side": "no", "status": "open", "tradable": true, "resolution": { "source": null, "rules": "Resolves to Denver Broncos if they win by more than 3.5 points, overtime included.", "end_date": "2026-10-12T04:00:00.000Z", "url": null } } ], "equivalence": "verified" }, { "id": "mkt_bmZsOjIwMjYtMTAtMTE6REVOLUxBQwpzcHJlYWQ6Z2FtZTpERU46LTMuNQpERU4", "title": "Denver Broncos at Los Angeles Chargers: DEN -3.5, Denver Broncos -3.5", "outcome": "DEN", "line": "-3.5", "fixture": { "key": "nfl:2026-10-11:DEN-LAC", "sport": "football", "league": "nfl", "title": "Denver Broncos at Los Angeles Chargers", "starts_at": "2026-10-11T20:25:00.000Z", "scheduled_date": "2026-10-11", "participants": [ "Denver Broncos", "Los Angeles Chargers" ], "teams": [ { "key": "DEN", "name": "Denver Broncos", "role": "away" }, { "key": "LAC", "name": "Los Angeles Chargers", "role": "home" } ] }, "group": { "key": "spread:game:DEN:-3.5", "kind": "spread", "label": "DEN -3.5", "period": "game", "subject": "DEN", "stat": null, "line": "-3.5" }, "legs": [ { "venue": "hyperliquid", "ticker": "<venue ticker>", "side": "yes", "status": "open", "tradable": true, "resolution": { "source": null, "rules": "Resolves YES if the Denver Broncos win by more than 3.5 points, overtime included.", "end_date": "2026-10-12T04:00:00.000Z", "url": null } }, { "venue": "polymarket", "ticker": "<venue ticker>", "side": "yes", "status": "open", "tradable": true, "resolution": { "source": null, "rules": "Resolves to Denver Broncos if they win by more than 3.5 points, overtime included.", "end_date": "2026-10-12T04:00:00.000Z", "url": null } } ], "equivalence": "verified" }, { "id": "mkt_bmZsOjIwMjYtMTAtMTE6REVOLUxBQwpzcHJlYWQ6Z2FtZTpERU46LTMuNQpMQUM", "title": "Denver Broncos at Los Angeles Chargers: DEN -3.5, Los Angeles Chargers +3.5", "outcome": "LAC", "line": "3.5", "fixture": { "key": "nfl:2026-10-11:DEN-LAC", "sport": "football", "league": "nfl", "title": "Denver Broncos at Los Angeles Chargers", "starts_at": "2026-10-11T20:25:00.000Z", "scheduled_date": "2026-10-11", "participants": [ "Denver Broncos", "Los Angeles Chargers" ], "teams": [ { "key": "DEN", "name": "Denver Broncos", "role": "away" }, { "key": "LAC", "name": "Los Angeles Chargers", "role": "home" } ] }, "group": { "key": "spread:game:DEN:-3.5", "kind": "spread", "label": "DEN -3.5", "period": "game", "subject": "DEN", "stat": null, "line": "-3.5" }, "legs": [ { "venue": "hyperliquid", "ticker": "<venue ticker>", "side": "no", "status": "open", "tradable": true, "resolution": { "source": null, "rules": "Resolves YES if the Denver Broncos win by more than 3.5 points, overtime included.", "end_date": "2026-10-12T04:00:00.000Z", "url": null } }, { "venue": "polymarket", "ticker": "<venue ticker>", "side": "no", "status": "open", "tradable": true, "resolution": { "source": null, "rules": "Resolves to Denver Broncos if they win by more than 3.5 points, overtime included.", "end_date": "2026-10-12T04:00:00.000Z", "url": null } } ], "equivalence": "verified" } ], "next_cursor": null, "livemode": true }, "meta": { "timestampMs": 1791741600000, "requestId": "5b0d7f3e-2c61-4e8a-b947-1d3a6e0f8c25" }}
Markets
List markets
Canonical sports markets, each with the Kalshi, Polymarket, Polymarket US and Hyperliquid legs that trade the same outcome. Filter by league, sport, status, start time or text, or look up the markets of one venue symbol. Pass next_cursor back as cursor for the next page.
GET
/
markets
Error
A valid request URL is required to generate request examples
{ "success": true, "data": { "markets": [ { "id": "mkt_bmZsOjIwMjYtMTAtMTE6REVOLUxBQwpzcHJlYWQ6Z2FtZTpERU46LTMuNQpERU4", "title": "Denver Broncos at Los Angeles Chargers: DEN -3.5, Denver Broncos -3.5", "outcome": "DEN", "line": "-3.5", "fixture": { "key": "nfl:2026-10-11:DEN-LAC", "sport": "football", "league": "nfl", "title": "Denver Broncos at Los Angeles Chargers", "starts_at": "2026-10-11T20:25:00.000Z", "scheduled_date": "2026-10-11", "participants": [ "Denver Broncos", "Los Angeles Chargers" ], "teams": [ { "key": "DEN", "name": "Denver Broncos", "role": "away" }, { "key": "LAC", "name": "Los Angeles Chargers", "role": "home" } ] }, "group": { "key": "spread:game:DEN:-3.5", "kind": "spread", "label": "DEN -3.5", "period": "game", "subject": "DEN", "stat": null, "line": "-3.5" }, "legs": [ { "venue": "hyperliquid", "ticker": "<venue ticker>", "side": "yes", "status": "open", "tradable": true, "resolution": { "source": null, "rules": "Resolves YES if the Denver Broncos win by more than 3.5 points, overtime included.", "end_date": "2026-10-12T04:00:00.000Z", "url": null } }, { "venue": "polymarket", "ticker": "<venue ticker>", "side": "yes", "status": "open", "tradable": true, "resolution": { "source": null, "rules": "Resolves to Denver Broncos if they win by more than 3.5 points, overtime included.", "end_date": "2026-10-12T04:00:00.000Z", "url": null } } ], "equivalence": "verified" }, { "id": "mkt_bmZsOjIwMjYtMTAtMTE6REVOLUxBQwpzcHJlYWQ6Z2FtZTpERU46LTMuNQpMQUM", "title": "Denver Broncos at Los Angeles Chargers: DEN -3.5, Los Angeles Chargers +3.5", "outcome": "LAC", "line": "3.5", "fixture": { "key": "nfl:2026-10-11:DEN-LAC", "sport": "football", "league": "nfl", "title": "Denver Broncos at Los Angeles Chargers", "starts_at": "2026-10-11T20:25:00.000Z", "scheduled_date": "2026-10-11", "participants": [ "Denver Broncos", "Los Angeles Chargers" ], "teams": [ { "key": "DEN", "name": "Denver Broncos", "role": "away" }, { "key": "LAC", "name": "Los Angeles Chargers", "role": "home" } ] }, "group": { "key": "spread:game:DEN:-3.5", "kind": "spread", "label": "DEN -3.5", "period": "game", "subject": "DEN", "stat": null, "line": "-3.5" }, "legs": [ { "venue": "hyperliquid", "ticker": "<venue ticker>", "side": "no", "status": "open", "tradable": true, "resolution": { "source": null, "rules": "Resolves YES if the Denver Broncos win by more than 3.5 points, overtime included.", "end_date": "2026-10-12T04:00:00.000Z", "url": null } }, { "venue": "polymarket", "ticker": "<venue ticker>", "side": "no", "status": "open", "tradable": true, "resolution": { "source": null, "rules": "Resolves to Denver Broncos if they win by more than 3.5 points, overtime included.", "end_date": "2026-10-12T04:00:00.000Z", "url": null } } ], "equivalence": "verified" }, { "id": "mkt_bmZsOjIwMjYtMTAtMTE6REVOLUxBQwpzcHJlYWQ6Z2FtZTpERU46LTMuNQpERU4", "title": "Denver Broncos at Los Angeles Chargers: DEN -3.5, Denver Broncos -3.5", "outcome": "DEN", "line": "-3.5", "fixture": { "key": "nfl:2026-10-11:DEN-LAC", "sport": "football", "league": "nfl", "title": "Denver Broncos at Los Angeles Chargers", "starts_at": "2026-10-11T20:25:00.000Z", "scheduled_date": "2026-10-11", "participants": [ "Denver Broncos", "Los Angeles Chargers" ], "teams": [ { "key": "DEN", "name": "Denver Broncos", "role": "away" }, { "key": "LAC", "name": "Los Angeles Chargers", "role": "home" } ] }, "group": { "key": "spread:game:DEN:-3.5", "kind": "spread", "label": "DEN -3.5", "period": "game", "subject": "DEN", "stat": null, "line": "-3.5" }, "legs": [ { "venue": "hyperliquid", "ticker": "<venue ticker>", "side": "yes", "status": "open", "tradable": true, "resolution": { "source": null, "rules": "Resolves YES if the Denver Broncos win by more than 3.5 points, overtime included.", "end_date": "2026-10-12T04:00:00.000Z", "url": null } }, { "venue": "polymarket", "ticker": "<venue ticker>", "side": "yes", "status": "open", "tradable": true, "resolution": { "source": null, "rules": "Resolves to Denver Broncos if they win by more than 3.5 points, overtime included.", "end_date": "2026-10-12T04:00:00.000Z", "url": null } } ], "equivalence": "verified" }, { "id": "mkt_bmZsOjIwMjYtMTAtMTE6REVOLUxBQwpzcHJlYWQ6Z2FtZTpERU46LTMuNQpMQUM", "title": "Denver Broncos at Los Angeles Chargers: DEN -3.5, Los Angeles Chargers +3.5", "outcome": "LAC", "line": "3.5", "fixture": { "key": "nfl:2026-10-11:DEN-LAC", "sport": "football", "league": "nfl", "title": "Denver Broncos at Los Angeles Chargers", "starts_at": "2026-10-11T20:25:00.000Z", "scheduled_date": "2026-10-11", "participants": [ "Denver Broncos", "Los Angeles Chargers" ], "teams": [ { "key": "DEN", "name": "Denver Broncos", "role": "away" }, { "key": "LAC", "name": "Los Angeles Chargers", "role": "home" } ] }, "group": { "key": "spread:game:DEN:-3.5", "kind": "spread", "label": "DEN -3.5", "period": "game", "subject": "DEN", "stat": null, "line": "-3.5" }, "legs": [ { "venue": "hyperliquid", "ticker": "<venue ticker>", "side": "no", "status": "open", "tradable": true, "resolution": { "source": null, "rules": "Resolves YES if the Denver Broncos win by more than 3.5 points, overtime included.", "end_date": "2026-10-12T04:00:00.000Z", "url": null } }, { "venue": "polymarket", "ticker": "<venue ticker>", "side": "no", "status": "open", "tradable": true, "resolution": { "source": null, "rules": "Resolves to Denver Broncos if they win by more than 3.5 points, overtime included.", "end_date": "2026-10-12T04:00:00.000Z", "url": null } } ], "equivalence": "verified" } ], "next_cursor": null, "livemode": true }, "meta": { "timestampMs": 1791741600000, "requestId": "5b0d7f3e-2c61-4e8a-b947-1d3a6e0f8c25" }}
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
symbol
string
Look up the markets one venue symbol trades: a leg ticker (pm:…, hl:…, pmus:… or a Kalshi market ticker), a Polymarket condition id or token id, or a Hyperliquid book coin (#…). The start window, cursor and other filters except venue do not apply.
Required string length: 1 - 200
search
string
Words matched the way the Lean app search matches them: every word against Kalshi, Polymarket, Polymarket US and Hyperliquid market and event titles in any letter case, the last word as a prefix, with common team nicknames and small typos tried when few markets match. Only markets with a leg that matches are listed, in the usual start order, and the other filters and cursor apply as without it. A search covers the venue markets of the fixtures in the start window, at most 10,000 matching ones, open ones first and then by start, so narrow broad words with league, sport or the start window. To list a whole league, use league.
Required string length: 1 - 100
category
enum<string>
Market category. Every listed market is sports today.
Available options:
sports
sport
string
Only fixtures of this sport, such as football.
Required string length: 1 - 32
league
string
Required string length: 1 - 32
Example:
"nfl"
fixture
string
Only markets of this fixture, by its exact fixture.key. The start window still applies, so a fixture that starts outside it lists nothing.
Required string length: 1 - 512
group
string
Only markets of propositions with this exact group.key, such as moneyline:game. With fixture, lists one proposition of one fixture; without it, that proposition in every fixture the other filters keep.
Required string length: 1 - 200
venue
enum<string>
Only markets with a leg on this venue.
Available options:
kalshi,
polymarket,
polymarket_us,
hyperliquid
status
enum<string>
open: at least one venue leg is tradable. closed: no leg is, including markets whose legs are only unopened or resolving.
Available options:
open,
closed
starts_after
string<date-time>
Only fixtures starting at or after this time. Defaults to 12 hours ago.
starts_before
string<date-time>
Only fixtures starting before this time. Defaults to 30 days ahead, so season futures such as a championship final are listed only when this is set past their start. Their market ids resolve at any time.
limit
integer
default:50
Required range: 1 <= x <= 200
cursor
string
Required string length: 1 - 512
Response
Canonical markets with their venue legs
Option 1
Option 2
success
enum<boolean>
required
Available options:
true
data
object
required
Hide child attributes
data.markets
object[]
required
Hide child attributes
data.markets.id
string
required
Minimum string length: 1
data.markets.title
string
required
Minimum string length: 1
data.markets.outcome
string
required
Minimum string length: 1
data.markets.line
string | null
required
Pattern: ^-?\d+(?:\.\d+)?$
data.markets.fixture
object
required
Hide child attributes
data.markets.fixture.key
string
required
Minimum string length: 1
data.markets.fixture.sport
string
required
Minimum string length: 1
data.markets.fixture.league
string
required
Minimum string length: 1
data.markets.fixture.title
string
required
Minimum string length: 1
data.markets.fixture.starts_at
string<date-time>
required
data.markets.fixture.scheduled_date
string | null
required
Pattern: ^\d{4}-\d{2}-\d{2}$
data.markets.fixture.participants
string[]
required
Minimum string length: 1
data.markets.fixture.teams
object[]
required
Hide child attributes
data.markets.fixture.teams.key
string
required
Minimum string length: 1
data.markets.fixture.teams.name
string
required
Minimum string length: 1
data.markets.fixture.teams.role
enum<string>
required
Available options:
home,
away,
competitor
data.markets.group
object
required
Hide child attributes
data.markets.group.key
string
required
Minimum string length: 1
data.markets.group.kind
enum<string>
required
Available options:
moneyline,
spread,
total,
team_total,
prop
data.markets.group.label
string
required
Minimum string length: 1
data.markets.group.period
string
required
Minimum string length: 1
data.markets.group.subject
string | null
required
data.markets.group.stat
string | null
required
data.markets.group.line
string | null
required
Pattern: ^-?\d+(?:\.\d+)?$
data.markets.legs
object[]
required
Hide child attributes
data.markets.legs.venue
enum<string>
required
Available options:
kalshi,
polymarket,
polymarket_us,
hyperliquid
data.markets.legs.ticker
string
required
Minimum string length: 1
data.markets.legs.side
enum<string>
required
Available options:
yes,
no
data.markets.legs.status
enum<string> | null
required
The venue market status: unopened, open, closed, resolving or resolved; null until Lean has recorded the venue market. The platform shows a live book for every status but closed and resolved.
Available options:
unopened,
open,
closed,
resolving,
resolved
data.markets.legs.tradable
boolean
required
Whether the venue takes orders on this leg now: status is open, the venue has not marked the market untradable, and the API trades on its venue. An unopened or resolving leg is live but not tradable.
data.markets.legs.resolution
object
required
How this venue resolves its market.
Hide child attributes
data.markets.legs.resolution.source
string | null
required
How the venue's resolution was recorded, such as the oracle event; null until it resolves.
data.markets.legs.resolution.rules
string | null
required
The venue's resolution rules verbatim, secondary rules after a blank line.
data.markets.legs.resolution.end_date
string<date-time> | null
required
When the venue market is scheduled to close, if the venue gives one.
data.markets.legs.resolution.url
string<uri> | null
required
The venue's public page for this market, when it can be built from stored data.
data.markets.legs.fees
object | null
required
What this venue charges a fill, as POST /v1/orders/preview prices it; null on Kalshi and Polymarket US, and when the venue's fee terms for the market are not recorded.
Hide child attributes
data.markets.legs.fees.formula
enum<string>
required
price_curve: every fill, buy or sell, pays quantity × rate × (price × (1 − price))^exponent. notional_on_exit: a buy pays nothing; a sell pays quantity × price × rate, and each winning share pays rate × $1 at settlement.
Available options:
price_curve,
notional_on_exit
data.markets.legs.fees.taker_rate
string
required
The rate, as a fraction of 1, a fill that takes liquidity pays.
Pattern: ^\d+(?:\.\d+)?$
data.markets.legs.fees.maker_rate
string
required
The rate, as a fraction of 1, a resting order pays when it fills.
Pattern: ^\d+(?:\.\d+)?$
data.markets.legs.fees.exponent
integer | null
required
The exponent of price_curve; null for notional_on_exit.
data.markets.equivalence
enum<string>
required
single_venue: one leg. verified: a reviewer confirmed each venue market is the same proposition; rules text can still differ, so read each leg resolution.rules. unreviewed: at least one leg is not reviewed yet.
Available options:
single_venue,
verified,
unreviewed
data.next_cursor
string | null
required
Required string length: 1 - 512
data.livemode
boolean
required
meta
object
required
Hide child attributes
meta.timestampMs
integer
required
Required range: x >= 0
meta.requestId
string
required
Minimum string length: 1
meta.traceId
string
Minimum string length: 1
meta.cachedAtMs
integer
Required range: x >= 0
meta.source
enum<string>
Available options:
cache,
database,
clickhouse,
upstream,
fallback,
internal
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Lean API","colors":{"primary":"#2F5BFF","light":"#8EA6FF","dark":"#3D66FF"},"logo":{"light":"https://mintcdn.com/lean/aK_dPkAAQjEsgndO/logo/light.svg?fit=max\u0026auto=format\u0026n=aK_dPkAAQjEsgndO\u0026q=85\u0026s=6f5d064937ce6cfedc8198e9ba927287","dark":"https://mintcdn.com/lean/aK_dPkAAQjEsgndO/logo/dark.svg?fit=max\u0026auto=format\u0026n=aK_dPkAAQjEsgndO\u0026q=85\u0026s=6d4c29348beb6f1c14aa1aecb4003afd","href":"/"},"api":{"params":{"expanded":"all"},"playground":{"display":"interactive"},"examples":{"defaults":"all","languages":["curl","python","javascript"],"prefill":true}},"appearance":{"default":"light"},"background":{"color":{"light":"#FFFFFF","dark":"#0C0F17"}},"navbar":{"links":[{"href":"https://lean.mintlify.site/api-reference/openapi.json","label":"OpenAPI spec"}],"primary":{"type":"button","label":"Quickstart","href":"/quickstart"}},"footer":{"links":[{"header":"Lean API v0.1","items":[{"label":"Limitations","href":"/"},{"label":"Changelog","href":"/changelog"},{"label":"OpenAPI spec","href":"https://lean.mintlify.site/api-reference/openapi.json"}]}]},"fonts":{"family":"Geist"},"styling":{"codeblocks":"dark","latex":false},"contextual":{"options":["copy","view","chatgpt","claude","mcp"],"display":"header"},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"lean","hasAudioNarration":false,"actualSubdomain":"lean","customDomains":[],"gitSource":{"type":"github","owner":"nivasaurus","repo":"lean-api-docs-demo","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":"","_id":"6ae2d9189e92e136d8b49833"},"entitlements":{"AI_CHAT":{"status":"DISABLED"},"WEB_MCP":{"status":"DISABLED"},"NARRATION":{"status":"DISABLED"}},"buildId":"6afba544821a1e85a5162553","clientVersion":"0.0.4177","searchFilterCounts":[{"language":"default","tag":"API reference","count":62},{"language":"default","tag":"Guides","count":32},{"language":"default","tag":"Orders","count":13},{"language":"default","tag":"Use cases","count":13},{"language":"default","tag":"API keys","count":11},{"language":"default","tag":"Account","count":9},{"language":"default","tag":"Markets","count":7},{"language":"default","tag":"Get started","count":7},{"language":"default","tag":"Transfers","count":5},{"language":"default","tag":"Limit chases","count":4}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":true},"customCss":[{"filePath":"style.css","content":"/* cyrillic-ext */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrodmgPn.woff2) format('woff2');\n unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n/* cyrillic */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrMdmgPn.woff2) format('woff2');\n unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n/* symbols2 */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFg08vz7ehw.woff2) format('woff2');\n unicode-range: U+2000-2001, U+2004-2008, U+200A, U+23B8-23BD, U+2500-259F;\n}\n/* vietnamese */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrgdmgPn.woff2) format('woff2');\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrkdmgPn.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrcdmg.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* cyrillic-ext */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrodmgPn.woff2) format('woff2');\n unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n/* cyrillic */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrMdmgPn.woff2) format('woff2');\n unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n/* symbols2 */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFg08vz7ehw.woff2) format('woff2');\n unicode-range: U+2000-2001, U+2004-2008, U+200A, U+23B8-23BD, U+2500-259F;\n}\n/* vietnamese */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrgdmgPn.woff2) format('woff2');\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrkdmgPn.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrcdmg.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n:root{--lean-ink: #09090b;--lean-ink-2: #2b2d34;--lean-slate: #5d6270;--lean-faint: #8a8f9c;--lean-line: #e7e8ec;--lean-line-2: #f0f1f4;--lean-mist: #f7f8fa;--lean-cobalt: #2f5bff;--lean-cobalt-ink: #1f43d6;--lean-night: #0c0f17;--lean-night-2: #131826;--lean-night-line: #1f2536}code,pre,kbd{font-family:'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace}.prose h1,.prose h2,.prose h3{letter-spacing:-0.025em;font-weight:600}.prose h2{padding-top:28px;border-top:1px solid var(--lean-line)}.dark .prose h2{border-top-color:#ffffff14}.prose :not(pre)>code{font-size:.86em;background:var(--lean-mist);border:1px solid var(--lean-line-2);padding:1px 5px;border-radius:5px;color:var(--lean-ink-2)}.dark .prose :not(pre)>code{background:#ffffff0d;border-color:#ffffff14;color:#e6e9f2}.prose table{font-size:14px}.prose thead th{font-weight:500;font-size:13px;color:var(--lean-faint);border-bottom:1px solid var(--lean-ink)}.prose tbody td{border-bottom:1px solid var(--lean-line-2);vertical-align:top}.dark .prose thead th{border-bottom-color:#ffffff55}.dark .prose tbody td{border-bottom-color:#ffffff12}#content-area:has(.lean-hero)>#header{display:none}#content-area:has(.lean-hero)>#content{margin-top:0}.lean-hero{background:var(--lean-night);color:#fff;border-radius:18px;padding:56px 48px;margin:8px 0 56px;border:1px solid var(--lean-night-line);background-image:radial-gradient(1200px 400px at 85% -10%, #2f5bff33, transparent 60%)}.lean-kicker{display:inline-flex;align-items:center;gap:10px;font-size:13px;color:#b9c1d4;border:1px solid #ffffff1f;background:#ffffff08;border-radius:999px;padding:5px 14px 5px 6px;margin-bottom:24px}.lean-kicker b{font:500 11.5px/1 'Geist Mono', monospace;color:#fff;background:var(--lean-cobalt);border-radius:999px;padding:5px 8px}.lean-hero h1.lean-title{font-size:clamp(36px, 4.6vw, 56px);line-height:1.04;letter-spacing:-0.045em;font-weight:600;margin:0 0 20px;max-width:14ch;color:#fff;border:0;padding:0}.lean-lede{font-size:18px;line-height:1.6;color:#aeb6c8;max-width:48ch;margin:0 0 32px}.lean-cta{display:flex;gap:12px;flex-wrap:wrap}.lean-btn{display:inline-flex;align-items:center;height:40px;padding:0 18px;border-radius:10px;font-size:14.5px;font-weight:500;text-decoration:none!important;border:1px solid transparent}.lean-btn-primary{background:var(--lean-cobalt);color:#fff!important}.lean-btn-primary:hover{background:var(--lean-cobalt-ink)}.lean-btn-ghost{color:#fff!important;border-color:#ffffff2e;background:#ffffff08}.lean-btn-ghost:hover{background:#ffffff14;border-color:#ffffff44}.lean-facts{display:flex;flex-wrap:wrap;gap:20px 36px;margin-top:44px;padding-top:24px;border-top:1px solid #ffffff14;color:#8d95a8;font-size:13.5px}.lean-facts strong{display:block;color:#fff;font-weight:500;font-size:15px;margin-bottom:2px}.lean-steps{list-style:none;margin:24px 0 8px;padding:0!important;display:grid;grid-template-columns:repeat(5, minmax(0, 1fr));border-top:1px solid var(--lean-ink)}.dark .lean-steps{border-top-color:#ffffff55}.lean-steps li{padding:20px 20px 4px 0;margin:0!important}.lean-steps li+li{padding-left:20px;border-left:1px solid var(--lean-line)}.dark .lean-steps li+li{border-left-color:#ffffff14}.lean-steps li::marker{content:none}.lean-step-n{font:500 13px/1 'Geist Mono', monospace;color:var(--lean-faint);display:block;margin-bottom:28px}.lean-steps h3{font-size:16px;margin:0 0 6px;border:0;padding:0}.lean-steps p{margin:0 0 14px;color:var(--lean-slate);font-size:14px;line-height:1.6}.dark .lean-steps p{color:#9aa2b5}.lean-chip{display:inline-flex;flex-wrap:wrap;gap:8px;align-items:center;max-width:100%;padding:7px 10px;border-radius:8px;background:var(--lean-mist);border:1px solid var(--lean-line);font:500 12.5px/1.2 'Geist Mono', monospace;color:var(--lean-ink-2)!important;text-decoration:none!important;border-bottom-width:1px!important}.lean-chip:hover{border-color:#cfd3dc;color:var(--lean-ink)!important}.lean-chip code{background:none!important;border:0!important;padding:0!important;font:inherit!important;color:inherit!important}.dark .lean-chip{background:var(--lean-night-2);border-color:var(--lean-night-line);color:#d5dae6!important}.dark .lean-chip:hover{border-color:#3a4258;color:#fff!important}.lean-verb{font:600 10.5px/1 'Geist Mono', monospace;letter-spacing:.02em;padding:3px 5px;border-radius:4px}.lean-verb-get{color:#0f8a5f;background:#e7f6ef}.lean-verb-post{color:#2f5bff;background:#eef2ff}.dark .lean-verb-get{color:#4fd1a0;background:#0f8a5f26}.dark .lean-verb-post{color:#8ea6ff;background:#2f5bff26}@media (max-width: 1279px){.lean-steps{grid-template-columns:repeat(2, minmax(0, 1fr))}.lean-steps li,.lean-steps li+li{padding:20px 20px 16px 0;border-left:0;border-bottom:1px solid var(--lean-line)}.dark .lean-steps li,.dark .lean-steps li+li{border-bottom-color:#ffffff14}.lean-step-n{margin-bottom:14px}}@media (max-width: 700px){.lean-hero{padding:40px 24px}.lean-steps{grid-template-columns:1fr}}body,body *{-webkit-hyphens:none!important;hyphens:none!important}"}],"page":{"pagePath":"api-reference/markets/list-markets","slug":"/api-reference/markets/list-markets","pageMetadata":{"title":"List markets","openapi":"api-reference/openapi.json GET /markets","description":"Canonical sports markets, each with the Kalshi, Polymarket, Polymarket US and Hyperliquid legs that trade the same outcome. Filter by league, sport, status, start time or text, or look up the markets of one venue symbol. Pass `next_cursor` back as `cursor` for the next page.","href":"/api-reference/markets/list-markets"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.p, {\n children: [\"Canonical sports markets, each with the Kalshi, Polymarket, Polymarket US and Hyperliquid legs that trade the same outcome. Filter by league, sport, status, start time or text, or look up the markets of one venue symbol. Pass \", _jsx(_components.code, {\n children: \"next_cursor\"\n }), \" back as \", _jsx(_components.code, {\n children: \"cursor\"\n }), \" for the next page.\"]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"codeStyling":"dark","config":{},"pageMetadata":{"title":"List markets","openapi":"api-reference/openapi.json GET /markets","description":"Canonical sports markets, each with the Kalshi, Polymarket, Polymarket US and Hyperliquid legs that trade the same outcome. Filter by league, sport, status, start time or text, or look up the markets of one venue symbol. Pass `next_cursor` back as `cursor` for the next page.","href":"/api-reference/markets/list-markets"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"listMarkets","summary":"List markets","description":"Canonical sports markets, each with the Kalshi, Polymarket, Polymarket US and Hyperliquid legs that trade the same outcome. Filter by league, sport, status, start time or text, or look up the markets of one venue symbol. Pass `next_cursor` back as `cursor` for the next page.","tags":["Markets"],"parameters":["fb0bb51c-92ff-4c23-8ac7-545d98ad4126","e8263fb0-79d3-4172-8b4c-53a0d44c6e0f","4c230ecf-8690-470a-a5a7-10d9f47b09c2","72e893b4-d28f-40e4-a69c-a87639a8f92b","6c781768-c76f-4dbf-895f-61660f4d423d","ae51b471-9974-4ff9-8a89-de805eada4bf","37a323ee-4082-4cc8-b485-c152bda2eeba","545ca6ab-8871-4c30-b096-a740bc443589","da053ea0-5f9a-41c6-86ee-0d36a61c9c8f","ced0146c-c829-45db-9b67-9bd751df9049","60e573a3-cc0e-463a-9b06-1cfb64a4b89f","d3db6857-65ad-4b3d-9b74-6567dd6f91f1","6d9914b7-16f5-49bc-9545-9e04892c516f"],"responses":{"200":"0f7a660e-ca3d-40fb-b5f4-d6d1502425f0","400":"f9e0aa29-bc80-497a-ba4e-9d9bb84edede","401":"67c4e4e6-95a1-42d2-889a-1b6604caa6cf","403":"c0911771-9ef4-4994-ad4c-1c5d53cac711","429":"287e2f5d-679e-486b-9e49-7df2595ef943","500":"d8d51e27-ce7c-4395-ace2-2adb57868db3","503":"5ce774e5-8df6-4073-95f2-44f8097629a1"},"method":"get","type":"path","servers":["b9d200f3-058d-4de6-ac62-d3daef380488"],"security":["c7e5b678-a356-44de-a8fa-4ee7f0d1c1fd"],"path":"/markets","baseUrlOptions":["{baseUrl}/v1"],"title":"List markets","codeSamples":[],"requestExampleLanguages":["bash","python","javascript"],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated","prefillPlaygroundWithExample":true,"prefillPlaygroundExamples":[]},"dependencies":{"parameters":{"fb0bb51c-92ff-4c23-8ac7-545d98ad4126":{"schema":{"type":"string","minLength":1,"maxLength":200,"description":"Look up the markets one venue symbol trades: a leg `ticker` (`pm:…`, `hl:…`, `pmus:…` or a Kalshi market ticker), a Polymarket condition id or token id, or a Hyperliquid book coin (`#…`). The start window, cursor and other filters except `venue` do not apply.","isRequired":false,"uniqueKey":"","typeLabel":"string"},"required":false,"description":"Look up the markets one venue symbol trades: a leg `ticker` (`pm:…`, `hl:…`, `pmus:…` or a Kalshi market ticker), a Polymarket condition id or token id, or a Hyperliquid book coin (`#…`). The start window, cursor and other filters except `venue` do not apply.","name":"symbol","in":"query"},"e8263fb0-79d3-4172-8b4c-53a0d44c6e0f":{"schema":{"type":"string","minLength":1,"maxLength":100,"description":"Words matched the way the Lean app search matches them: every word against Kalshi, Polymarket, Polymarket US and Hyperliquid market and event titles in any letter case, the last word as a prefix, with common team nicknames and small typos tried when few markets match. Only markets with a leg that matches are listed, in the usual start order, and the other filters and `cursor` apply as without it. A search covers the venue markets of the fixtures in the start window, at most 10,000 matching ones, open ones first and then by start, so narrow broad words with `league`, `sport` or the start window. To list a whole league, use `league`.","isRequired":false,"uniqueKey":"","typeLabel":"string"},"required":false,"description":"Words matched the way the Lean app search matches them: every word against Kalshi, Polymarket, Polymarket US and Hyperliquid market and event titles in any letter case, the last word as a prefix, with common team nicknames and small typos tried when few markets match. Only markets with a leg that matches are listed, in the usual start order, and the other filters and `cursor` apply as without it. A search covers the venue markets of the fixtures in the start window, at most 10,000 matching ones, open ones first and then by start, so narrow broad words with `league`, `sport` or the start window. To list a whole league, use `league`.","name":"search","in":"query"},"4c230ecf-8690-470a-a5a7-10d9f47b09c2":{"schema":{"type":"string","enum":["sports"],"description":"Market category. Every listed market is `sports` today.","isRequired":false,"uniqueKey":"","typeLabel":"enum\u003cstring>"},"required":false,"description":"Market category. Every listed market is `sports` today.","name":"category","in":"query"},"72e893b4-d28f-40e4-a69c-a87639a8f92b":{"schema":{"type":"string","minLength":1,"maxLength":32,"description":"Only fixtures of this sport, such as `football`.","isRequired":false,"uniqueKey":"","typeLabel":"string"},"required":false,"description":"Only fixtures of this sport, such as `football`.","name":"sport","in":"query"},"6c781768-c76f-4dbf-895f-61660f4d423d":{"schema":{"type":"string","minLength":1,"maxLength":32,"example":"nfl","isRequired":false,"uniqueKey":"","typeLabel":"string"},"required":false,"name":"league","in":"query"},"ae51b471-9974-4ff9-8a89-de805eada4bf":{"schema":{"type":"string","minLength":1,"maxLength":512,"description":"Only markets of this fixture, by its exact `fixture.key`. The start window still applies, so a fixture that starts outside it lists nothing.","isRequired":false,"uniqueKey":"","typeLabel":"string"},"required":false,"description":"Only markets of this fixture, by its exact `fixture.key`. The start window still applies, so a fixture that starts outside it lists nothing.","name":"fixture","in":"query"},"37a323ee-4082-4cc8-b485-c152bda2eeba":{"schema":{"type":"string","minLength":1,"maxLength":200,"description":"Only markets of propositions with this exact `group.key`, such as `moneyline:game`. With `fixture`, lists one proposition of one fixture; without it, that proposition in every fixture the other filters keep.","isRequired":false,"uniqueKey":"","typeLabel":"string"},"required":false,"description":"Only markets of propositions with this exact `group.key`, such as `moneyline:game`. With `fixture`, lists one proposition of one fixture; without it, that proposition in every fixture the other filters keep.","name":"group","in":"query"},"545ca6ab-8871-4c30-b096-a740bc443589":{"schema":{"type":"string","enum":["kalshi","polymarket","polymarket_us","hyperliquid"],"description":"Only markets with a leg on this venue.","isRequired":false,"uniqueKey":"","typeLabel":"enum\u003cstring>"},"required":false,"description":"Only markets with a leg on this venue.","name":"venue","in":"query"},"da053ea0-5f9a-41c6-86ee-0d36a61c9c8f":{"schema":{"type":"string","enum":["open","closed"],"description":"`open`: at least one venue leg is `tradable`. `closed`: no leg is, including markets whose legs are only `unopened` or `resolving`.","isRequired":false,"uniqueKey":"","typeLabel":"enum\u003cstring>"},"required":false,"description":"`open`: at least one venue leg is `tradable`. `closed`: no leg is, including markets whose legs are only `unopened` or `resolving`.","name":"status","in":"query"},"ced0146c-c829-45db-9b67-9bd751df9049":{"schema":{"type":"string","format":"date-time","description":"Only fixtures starting at or after this time. Defaults to 12 hours ago.","isRequired":false,"uniqueKey":"","typeLabel":"string\u003cdate-time>"},"required":false,"description":"Only fixtures starting at or after this time. Defaults to 12 hours ago.","name":"starts_after","in":"query"},"60e573a3-cc0e-463a-9b06-1cfb64a4b89f":{"schema":{"type":"string","format":"date-time","description":"Only fixtures starting before this time. Defaults to 30 days ahead, so season futures such as a championship final are listed only when this is set past their start. Their market ids resolve at any time.","isRequired":false,"uniqueKey":"","typeLabel":"string\u003cdate-time>"},"required":false,"description":"Only fixtures starting before this time. Defaults to 30 days ahead, so season futures such as a championship final are listed only when this is set past their start. Their market ids resolve at any time.","name":"starts_before","in":"query"},"d3db6857-65ad-4b3d-9b74-6567dd6f91f1":{"schema":{"type":"integer","minimum":1,"maximum":200,"default":50,"isRequired":false,"uniqueKey":"","typeLabel":"integer"},"required":false,"name":"limit","in":"query","example":2},"6d9914b7-16f5-49bc-9545-9e04892c516f":{"schema":{"type":"string","minLength":1,"maxLength":512,"isRequired":false,"uniqueKey":"","typeLabel":"string"},"required":false,"name":"cursor","in":"query"}},"responses":{"0f7a660e-ca3d-40fb-b5f4-d6d1502425f0":{"description":"Canonical markets with their venue legs","content":{"application/json":{"schema":{"oneOf":[{"type":"object","required":["success","data","meta"],"properties":{"success":{"type":"boolean","enum":[true],"isRequired":true,"uniqueKey":"oneOf.0.success","typeLabel":"enum\u003cboolean>"},"data":{"type":"object","properties":{"markets":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"oneOf.0.data.markets.items.[INDEX].id","typeLabel":"string"},"title":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"oneOf.0.data.markets.items.[INDEX].title","typeLabel":"string"},"outcome":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"oneOf.0.data.markets.items.[INDEX].outcome","typeLabel":"string"},"line":{"oneOf":[{"type":"string","pattern":"^-?\\d+(?:\\.\\d+)?$","isRequired":true,"uniqueKey":"oneOf.0.data.markets.items.[INDEX].line.oneOf.0","typeLabel":"string"},{"type":"null","pattern":"^-?\\d+(?:\\.\\d+)?$","isRequired":true,"uniqueKey":"oneOf.0.data.markets.items.[INDEX].line.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.0.data.markets.items.[INDEX].line","typeLabel":"string | null"},"fixture":{"type":"object","properties":{"key":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"oneOf.0.data.markets.items.[INDEX].fixture.key","typeLabel":"string"},"sport":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"oneOf.0.data.markets.items.[INDEX].fixture.sport","typeLabel":"string"},"league":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"oneOf.0.data.markets.items.[INDEX].fixture.league","typeLabel":"string"},"title":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"oneOf.0.data.markets.items.[INDEX].fixture.title","typeLabel":"string"},"starts_at":{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"oneOf.0.data.markets.items.[INDEX].fixture.starts_at","typeLabel":"string\u003cdate-time>"},"scheduled_date":{"oneOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","isRequired":true,"uniqueKey":"oneOf.0.data.markets.items.[INDEX].fixture.scheduled_date.oneOf.0","typeLabel":"string"},{"type":"null","pattern":"^\\d{4}-\\d{2}-\\d{2}$","isRequired":true,"uniqueKey":"oneOf.0.data.markets.items.[INDEX].fixture.scheduled_date.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.0.data.markets.items.[INDEX].fixture.scheduled_date","typeLabel":"string | null"},"participants":{"type":"array","items":{"type":"string","minLength":1,"uniqueKey":"oneOf.0.data.markets.items.[INDEX].fixture.participants.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"oneOf.0.data.markets.items.[INDEX].fixture.participants","typeLabel":"string[]"},"teams":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"oneOf.0.data.markets.items.[INDEX].fixture.teams.items.[INDEX].key","typeLabel":"string"},"name":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"oneOf.0.data.markets.items.[INDEX].fixture.teams.items.[INDEX].name","typeLabel":"string"},"role":{"type":"string","enum":["home","away","competitor"],"isRequired":true,"uniqueKey":"oneOf.0.data.markets.items.[INDEX].fixture.teams.items.[INDEX].role","typeLabel":"enum\u003cstring>"}},"required":["key","name","role"],"uniqueKey":"oneOf.0.data.markets.items.[INDEX].fixture.teams.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"oneOf.0.data.markets.items.[INDEX].fixture.teams","typeLabel":"object[]"}},"required":["key","sport","league","title","starts_at","scheduled_date","participants","teams"],"isRequired":true,"uniqueKey":"oneOf.0.data.markets.items.[INDEX].fixture","typeLabel":"object"},"group":{"type":"object","properties":{"key":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"oneOf.0.data.markets.items.[INDEX].group.key","typeLabel":"string"},"kind":{"type":"string","enum":["moneyline","spread","total","team_total","prop"],"isRequired":true,"uniqueKey":"oneOf.0.data.markets.items.[INDEX].group.kind","typeLabel":"enum\u003cstring>"},"label":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"oneOf.0.data.markets.items.[INDEX].group.label","typeLabel":"string"},"period":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"oneOf.0.data.markets.items.[INDEX].group.period","typeLabel":"string"},"subject":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"oneOf.0.data.markets.items.[INDEX].group.subject.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"oneOf.0.data.markets.items.[INDEX].group.subject.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.0.data.markets.items.[INDEX].group.subject","typeLabel":"string | null"},"stat":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"oneOf.0.data.markets.items.[INDEX].group.stat.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"oneOf.0.data.markets.items.[INDEX].group.stat.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.0.data.markets.items.[INDEX].group.stat","typeLabel":"string | null"},"line":{"oneOf":[{"type":"string","pattern":"^-?\\d+(?:\\.\\d+)?$","isRequired":true,"uniqueKey":"oneOf.0.data.markets.items.[INDEX].group.line.oneOf.0","typeLabel":"string"},{"type":"null","pattern":"^-?\\d+(?:\\.\\d+)?$","isRequired":true,"uniqueKey":"oneOf.0.data.markets.items.[INDEX].group.line.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.0.data.markets.items.[INDEX].group.line","typeLabel":"string | null"}},"required":["key","kind","label","period","subject","stat","line"],"isRequired":true,"uniqueKey":"oneOf.0.data.markets.items.[INDEX].group","typeLabel":"object"},"legs":{"type":"array","items":{"type":"object","properties":{"venue":{"type":"string","enum":["kalshi","polymarket","polymarket_us","hyperliquid"],"isRequired":true,"uniqueKey":"oneOf.0.data.markets.items.[INDEX].legs.items.[INDEX].venue","typeLabel":"enum\u003cstring>"},"ticker":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"oneOf.0.data.markets.items.[INDEX].legs.items.[INDEX].ticker","typeLabel":"string"},"side":{"type":"string","enum":["yes","no"],"isRequired":true,"uniqueKey":"oneOf.0.data.markets.items.[INDEX].legs.items.[INDEX].side","typeLabel":"enum\u003cstring>"},"status":{"oneOf":[{"type":"string","enum":["unopened","open","closed","resolving","resolved"],"description":"The venue market status: `unopened`, `open`, `closed`, `resolving` or `resolved`; null until Lean has recorded the venue market. The platform shows a live book for every status but `closed` and `resolved`.","isRequired":true,"uniqueKey":"oneOf.0.data.markets.items.[INDEX].legs.items.[INDEX].status.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["unopened","open","closed","resolving","resolved"],"description":"The venue market status: `unopened`, `open`, `closed`, `resolving` or `resolved`; null until Lean has recorded the venue market. The platform shows a live book for every status but `closed` and `resolved`.","isRequired":true,"uniqueKey":"oneOf.0.data.markets.items.[INDEX].legs.items.[INDEX].status.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.0.data.markets.items.[INDEX].legs.items.[INDEX].status","typeLabel":"enum\u003cstring> | null"},"tradable":{"type":"boolean","description":"Whether the venue takes orders on this leg now: `status` is `open`, the venue has not marked the market untradable, and the API trades on its venue. An `unopened` or `resolving` leg is live but not tradable.","isRequired":true,"uniqueKey":"oneOf.0.data.markets.items.[INDEX].legs.items.[INDEX].tradable","typeLabel":"boolean"},"resolution":{"type":"object","properties":{"source":{"oneOf":[{"type":"string","description":"How the venue's resolution was recorded, such as the oracle event; null until it resolves.","isRequired":true,"uniqueKey":"oneOf.0.data.markets.items.[INDEX].legs.items.[INDEX].resolution.source.oneOf.0","typeLabel":"string"},{"type":"null","description":"How the venue's resolution was recorded, such as the oracle event; null until it resolves.","isRequired":true,"uniqueKey":"oneOf.0.data.markets.items.[INDEX].legs.items.[INDEX].resolution.source.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.0.data.markets.items.[INDEX].legs.items.[INDEX].resolution.source","typeLabel":"string | null"},"rules":{"oneOf":[{"type":"string","description":"The venue's resolution rules verbatim, secondary rules after a blank line.","isRequired":true,"uniqueKey":"oneOf.0.data.markets.items.[INDEX].legs.items.[INDEX].resolution.rules.oneOf.0","typeLabel":"string"},{"type":"null","description":"The venue's resolution rules verbatim, secondary rules after a blank line.","isRequired":true,"uniqueKey":"oneOf.0.data.markets.items.[INDEX].legs.items.[INDEX].resolution.rules.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.0.data.markets.items.[INDEX].legs.items.[INDEX].resolution.rules","typeLabel":"string | null"},"end_date":{"oneOf":[{"type":"string","format":"date-time","description":"When the venue market is scheduled to close, if the venue gives one.","isRequired":true,"uniqueKey":"oneOf.0.data.markets.items.[INDEX].legs.items.[INDEX].resolution.end_date.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"When the venue market is scheduled to close, if the venue gives one.","isRequired":true,"uniqueKey":"oneOf.0.data.markets.items.[INDEX].legs.items.[INDEX].resolution.end_date.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.0.data.markets.items.[INDEX].legs.items.[INDEX].resolution.end_date","typeLabel":"string\u003cdate-time> | null"},"url":{"oneOf":[{"type":"string","format":"uri","description":"The venue's public page for this market, when it can be built from stored data.","isRequired":true,"uniqueKey":"oneOf.0.data.markets.items.[INDEX].legs.items.[INDEX].resolution.url.oneOf.0","typeLabel":"string\u003curi>"},{"type":"null","format":"uri","description":"The venue's public page for this market, when it can be built from stored data.","isRequired":true,"uniqueKey":"oneOf.0.data.markets.items.[INDEX].legs.items.[INDEX].resolution.url.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.0.data.markets.items.[INDEX].legs.items.[INDEX].resolution.url","typeLabel":"string\u003curi> | null"}},"required":["source","rules","end_date","url"],"description":"How this venue resolves its market.","isRequired":true,"uniqueKey":"oneOf.0.data.markets.items.[INDEX].legs.items.[INDEX].resolution","typeLabel":"object"},"fees":{"oneOf":[{"type":"object","properties":{"formula":{"type":"string","enum":["price_curve","notional_on_exit"],"description":"`price_curve`: every fill, buy or sell, pays quantity × rate × (price × (1 − price))^exponent. `notional_on_exit`: a buy pays nothing; a sell pays quantity × price × rate, and each winning share pays rate × $1 at settlement.","isRequired":true,"uniqueKey":"oneOf.0.data.markets.items.[INDEX].legs.items.[INDEX].fees.oneOf.0.formula","typeLabel":"enum\u003cstring>"},"taker_rate":{"type":"string","pattern":"^\\d+(?:\\.\\d+)?$","description":"The rate, as a fraction of 1, a fill that takes liquidity pays.","isRequired":true,"uniqueKey":"oneOf.0.data.markets.items.[INDEX].legs.items.[INDEX].fees.oneOf.0.taker_rate","typeLabel":"string"},"maker_rate":{"type":"string","pattern":"^\\d+(?:\\.\\d+)?$","description":"The rate, as a fraction of 1, a resting order pays when it fills.","isRequired":true,"uniqueKey":"oneOf.0.data.markets.items.[INDEX].legs.items.[INDEX].fees.oneOf.0.maker_rate","typeLabel":"string"},"exponent":{"oneOf":[{"type":"integer","description":"The exponent of `price_curve`; null for `notional_on_exit`.","isRequired":true,"uniqueKey":"oneOf.0.data.markets.items.[INDEX].legs.items.[INDEX].fees.oneOf.0.exponent.oneOf.0","typeLabel":"integer"},{"type":"null","description":"The exponent of `price_curve`; null for `notional_on_exit`.","isRequired":true,"uniqueKey":"oneOf.0.data.markets.items.[INDEX].legs.items.[INDEX].fees.oneOf.0.exponent.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.0.data.markets.items.[INDEX].legs.items.[INDEX].fees.oneOf.0.exponent","typeLabel":"integer | null"}},"required":["formula","taker_rate","maker_rate","exponent"],"description":"What this venue charges a fill, as `POST /v1/orders/preview` prices it; null on Kalshi and Polymarket US, and when the venue's fee terms for the market are not recorded.","isRequired":true,"uniqueKey":"oneOf.0.data.markets.items.[INDEX].legs.items.[INDEX].fees.oneOf.0","typeLabel":"object"},{"type":"null","properties":{"formula":{"type":"string","enum":["price_curve","notional_on_exit"],"description":"`price_curve`: every fill, buy or sell, pays quantity × rate × (price × (1 − price))^exponent. `notional_on_exit`: a buy pays nothing; a sell pays quantity × price × rate, and each winning share pays rate × $1 at settlement."},"taker_rate":{"type":"string","pattern":"^\\d+(?:\\.\\d+)?$","description":"The rate, as a fraction of 1, a fill that takes liquidity pays."},"maker_rate":{"type":"string","pattern":"^\\d+(?:\\.\\d+)?$","description":"The rate, as a fraction of 1, a resting order pays when it fills."},"exponent":{"oneOf":[{"type":"integer","description":"The exponent of `price_curve`; null for `notional_on_exit`."},{"type":"null","description":"The exponent of `price_curve`; null for `notional_on_exit`."}]}},"required":["formula","taker_rate","maker_rate","exponent"],"description":"What this venue charges a fill, as `POST /v1/orders/preview` prices it; null on Kalshi and Polymarket US, and when the venue's fee terms for the market are not recorded.","isRequired":true,"uniqueKey":"oneOf.0.data.markets.items.[INDEX].legs.items.[INDEX].fees.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.0.data.markets.items.[INDEX].legs.items.[INDEX].fees","typeLabel":"object | null"}},"required":["venue","ticker","side","status","tradable","resolution","fees"],"uniqueKey":"oneOf.0.data.markets.items.[INDEX].legs.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"oneOf.0.data.markets.items.[INDEX].legs","typeLabel":"object[]"},"equivalence":{"type":"string","enum":["single_venue","verified","unreviewed"],"description":"`single_venue`: one leg. `verified`: a reviewer confirmed each venue market is the same proposition; rules text can still differ, so read each leg `resolution.rules`. `unreviewed`: at least one leg is not reviewed yet.","isRequired":true,"uniqueKey":"oneOf.0.data.markets.items.[INDEX].equivalence","typeLabel":"enum\u003cstring>"}},"required":["id","title","outcome","line","fixture","group","legs","equivalence"],"uniqueKey":"oneOf.0.data.markets.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"oneOf.0.data.markets","typeLabel":"object[]"},"next_cursor":{"oneOf":[{"type":"string","minLength":1,"maxLength":512,"isRequired":true,"uniqueKey":"oneOf.0.data.next_cursor.oneOf.0","typeLabel":"string"},{"type":"null","minLength":1,"maxLength":512,"isRequired":true,"uniqueKey":"oneOf.0.data.next_cursor.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.0.data.next_cursor","typeLabel":"string | null"},"livemode":{"type":"boolean","isRequired":true,"uniqueKey":"oneOf.0.data.livemode","typeLabel":"boolean"}},"required":["markets","next_cursor","livemode"],"isRequired":true,"uniqueKey":"oneOf.0.data","typeLabel":"object"},"meta":{"type":"object","properties":{"timestampMs":{"type":"integer","minimum":0,"isRequired":true,"uniqueKey":"oneOf.0.meta.timestampMs","typeLabel":"integer"},"requestId":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"oneOf.0.meta.requestId","typeLabel":"string"},"traceId":{"type":"string","minLength":1,"uniqueKey":"oneOf.0.meta.traceId","typeLabel":"string"},"cachedAtMs":{"type":"integer","minimum":0,"uniqueKey":"oneOf.0.meta.cachedAtMs","typeLabel":"integer"},"source":{"type":"string","enum":["cache","database","clickhouse","upstream","fallback","internal"],"uniqueKey":"oneOf.0.meta.source","typeLabel":"enum\u003cstring>"}},"required":["timestampMs","requestId"],"isRequired":true,"uniqueKey":"oneOf.0.meta","typeLabel":"object"}},"uniqueKey":"oneOf.0","typeLabel":"object"},{"type":"object","required":["success","error","meta"],"properties":{"success":{"type":"boolean","enum":[false],"isRequired":true,"uniqueKey":"oneOf.1.success","typeLabel":"enum\u003cboolean>"},"error":{"type":"object","properties":{"code":{"type":"string","enum":["VALIDATION_ERROR","NOT_FOUND","UNAUTHORIZED","FORBIDDEN","CONFLICT","UPSTREAM_ERROR","RATE_LIMITED","INTERNAL_ERROR","FEATURE_DISABLED","CONDITIONAL_SELL_REJECTED","CONDITIONAL_SELL_ACTIVE"],"isRequired":true,"uniqueKey":"oneOf.1.error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"oneOf.1.error.message","typeLabel":"string"},"details":{"oneOf":[{},{"type":"null","uniqueKey":"oneOf.1.error.details.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.error.details","typeLabel":"null"}},"required":["code","message"],"isRequired":true,"uniqueKey":"oneOf.1.error","typeLabel":"object"},"meta":{"type":"object","properties":{"timestampMs":{"type":"integer","minimum":0,"isRequired":true,"uniqueKey":"oneOf.1.meta.timestampMs","typeLabel":"integer"},"requestId":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"oneOf.1.meta.requestId","typeLabel":"string"},"traceId":{"type":"string","minLength":1,"uniqueKey":"oneOf.1.meta.traceId","typeLabel":"string"},"cachedAtMs":{"type":"integer","minimum":0,"uniqueKey":"oneOf.1.meta.cachedAtMs","typeLabel":"integer"},"source":{"type":"string","enum":["cache","database","clickhouse","upstream","fallback","internal"],"uniqueKey":"oneOf.1.meta.source","typeLabel":"enum\u003cstring>"}},"required":["timestampMs","requestId"],"isRequired":true,"uniqueKey":"oneOf.1.meta","typeLabel":"object"}},"uniqueKey":"oneOf.1","typeLabel":"object"}],"uniqueKey":"","typeLabel":"object"},"examples":{"Spread markets":{"title":"Spread markets","summary":"Both sides of DEN -3.5","value":{"success":true,"data":{"markets":[{"id":"mkt_bmZsOjIwMjYtMTAtMTE6REVOLUxBQwpzcHJlYWQ6Z2FtZTpERU46LTMuNQpERU4","title":"Denver Broncos at Los Angeles Chargers: DEN -3.5, Denver Broncos -3.5","outcome":"DEN","line":"-3.5","fixture":{"key":"nfl:2026-10-11:DEN-LAC","sport":"football","league":"nfl","title":"Denver Broncos at Los Angeles Chargers","starts_at":"2026-10-11T20:25:00.000Z","scheduled_date":"2026-10-11","participants":["Denver Broncos","Los Angeles Chargers"],"teams":[{"key":"DEN","name":"Denver Broncos","role":"away"},{"key":"LAC","name":"Los Angeles Chargers","role":"home"}]},"group":{"key":"spread:game:DEN:-3.5","kind":"spread","label":"DEN -3.5","period":"game","subject":"DEN","stat":null,"line":"-3.5"},"legs":[{"venue":"hyperliquid","ticker":"\u003cvenue ticker>","side":"yes","status":"open","tradable":true,"resolution":{"source":null,"rules":"Resolves YES if the Denver Broncos win by more than 3.5 points, overtime included.","end_date":"2026-10-12T04:00:00.000Z","url":null}},{"venue":"polymarket","ticker":"\u003cvenue ticker>","side":"yes","status":"open","tradable":true,"resolution":{"source":null,"rules":"Resolves to Denver Broncos if they win by more than 3.5 points, overtime included.","end_date":"2026-10-12T04:00:00.000Z","url":null}}],"equivalence":"verified"},{"id":"mkt_bmZsOjIwMjYtMTAtMTE6REVOLUxBQwpzcHJlYWQ6Z2FtZTpERU46LTMuNQpMQUM","title":"Denver Broncos at Los Angeles Chargers: DEN -3.5, Los Angeles Chargers +3.5","outcome":"LAC","line":"3.5","fixture":{"key":"nfl:2026-10-11:DEN-LAC","sport":"football","league":"nfl","title":"Denver Broncos at Los Angeles Chargers","starts_at":"2026-10-11T20:25:00.000Z","scheduled_date":"2026-10-11","participants":["Denver Broncos","Los Angeles Chargers"],"teams":[{"key":"DEN","name":"Denver Broncos","role":"away"},{"key":"LAC","name":"Los Angeles Chargers","role":"home"}]},"group":{"key":"spread:game:DEN:-3.5","kind":"spread","label":"DEN -3.5","period":"game","subject":"DEN","stat":null,"line":"-3.5"},"legs":[{"venue":"hyperliquid","ticker":"\u003cvenue ticker>","side":"no","status":"open","tradable":true,"resolution":{"source":null,"rules":"Resolves YES if the Denver Broncos win by more than 3.5 points, overtime included.","end_date":"2026-10-12T04:00:00.000Z","url":null}},{"venue":"polymarket","ticker":"\u003cvenue ticker>","side":"no","status":"open","tradable":true,"resolution":{"source":null,"rules":"Resolves to Denver Broncos if they win by more than 3.5 points, overtime included.","end_date":"2026-10-12T04:00:00.000Z","url":null}}],"equivalence":"verified"},{"id":"mkt_bmZsOjIwMjYtMTAtMTE6REVOLUxBQwpzcHJlYWQ6Z2FtZTpERU46LTMuNQpERU4","title":"Denver Broncos at Los Angeles Chargers: DEN -3.5, Denver Broncos -3.5","outcome":"DEN","line":"-3.5","fixture":{"key":"nfl:2026-10-11:DEN-LAC","sport":"football","league":"nfl","title":"Denver Broncos at Los Angeles Chargers","starts_at":"2026-10-11T20:25:00.000Z","scheduled_date":"2026-10-11","participants":["Denver Broncos","Los Angeles Chargers"],"teams":[{"key":"DEN","name":"Denver Broncos","role":"away"},{"key":"LAC","name":"Los Angeles Chargers","role":"home"}]},"group":{"key":"spread:game:DEN:-3.5","kind":"spread","label":"DEN -3.5","period":"game","subject":"DEN","stat":null,"line":"-3.5"},"legs":[{"venue":"hyperliquid","ticker":"\u003cvenue ticker>","side":"yes","status":"open","tradable":true,"resolution":{"source":null,"rules":"Resolves YES if the Denver Broncos win by more than 3.5 points, overtime included.","end_date":"2026-10-12T04:00:00.000Z","url":null}},{"venue":"polymarket","ticker":"\u003cvenue ticker>","side":"yes","status":"open","tradable":true,"resolution":{"source":null,"rules":"Resolves to Denver Broncos if they win by more than 3.5 points, overtime included.","end_date":"2026-10-12T04:00:00.000Z","url":null}}],"equivalence":"verified"},{"id":"mkt_bmZsOjIwMjYtMTAtMTE6REVOLUxBQwpzcHJlYWQ6Z2FtZTpERU46LTMuNQpMQUM","title":"Denver Broncos at Los Angeles Chargers: DEN -3.5, Los Angeles Chargers +3.5","outcome":"LAC","line":"3.5","fixture":{"key":"nfl:2026-10-11:DEN-LAC","sport":"football","league":"nfl","title":"Denver Broncos at Los Angeles Chargers","starts_at":"2026-10-11T20:25:00.000Z","scheduled_date":"2026-10-11","participants":["Denver Broncos","Los Angeles Chargers"],"teams":[{"key":"DEN","name":"Denver Broncos","role":"away"},{"key":"LAC","name":"Los Angeles Chargers","role":"home"}]},"group":{"key":"spread:game:DEN:-3.5","kind":"spread","label":"DEN -3.5","period":"game","subject":"DEN","stat":null,"line":"-3.5"},"legs":[{"venue":"hyperliquid","ticker":"\u003cvenue ticker>","side":"no","status":"open","tradable":true,"resolution":{"source":null,"rules":"Resolves YES if the Denver Broncos win by more than 3.5 points, overtime included.","end_date":"2026-10-12T04:00:00.000Z","url":null}},{"venue":"polymarket","ticker":"\u003cvenue ticker>","side":"no","status":"open","tradable":true,"resolution":{"source":null,"rules":"Resolves to Denver Broncos if they win by more than 3.5 points, overtime included.","end_date":"2026-10-12T04:00:00.000Z","url":null}}],"equivalence":"verified"}],"next_cursor":null,"livemode":true},"meta":{"timestampMs":1791741600000,"requestId":"5b0d7f3e-2c61-4e8a-b947-1d3a6e0f8c25"}}}},"exampleType":"examples"}},"exampleType":"examples"},"f9e0aa29-bc80-497a-ba4e-9d9bb84edede":{"description":"API error","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[false],"isRequired":true,"uniqueKey":"success","typeLabel":"enum\u003cboolean>"},"error":{"type":"object","properties":{"code":{"type":"string","enum":["VALIDATION_ERROR","NOT_FOUND","UNAUTHORIZED","FORBIDDEN","CONFLICT","UPSTREAM_ERROR","RATE_LIMITED","INTERNAL_ERROR","FEATURE_DISABLED","CONDITIONAL_SELL_REJECTED","CONDITIONAL_SELL_ACTIVE"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"details":{"oneOf":[{},{"type":"null","uniqueKey":"error.details.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.details","typeLabel":"null"}},"required":["code","message"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"},"meta":{"type":"object","properties":{"timestampMs":{"type":"integer","minimum":0,"isRequired":true,"uniqueKey":"meta.timestampMs","typeLabel":"integer"},"requestId":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"meta.requestId","typeLabel":"string"},"traceId":{"type":"string","minLength":1,"uniqueKey":"meta.traceId","typeLabel":"string"},"cachedAtMs":{"type":"integer","minimum":0,"uniqueKey":"meta.cachedAtMs","typeLabel":"integer"},"source":{"type":"string","enum":["cache","database","clickhouse","upstream","fallback","internal"],"uniqueKey":"meta.source","typeLabel":"enum\u003cstring>"}},"required":["timestampMs","requestId"],"isRequired":true,"uniqueKey":"meta","typeLabel":"object"}},"required":["success","error","meta"],"uniqueKey":"","typeLabel":"object"},"examples":{"Invalid request":{"title":"Invalid request","summary":"A field failed validation","value":{"success":false,"error":{"code":"VALIDATION_ERROR","message":"Invalid request","details":[{"path":"limit","message":"Number must be less than or equal to 200"},{"path":"limit","message":"Number must be less than or equal to 200"}]},"meta":{"timestampMs":1791741600000,"requestId":"5b0d7f3e-2c61-4e8a-b947-1d3a6e0f8c25"}}}},"exampleType":"examples"}},"exampleType":"examples"},"67c4e4e6-95a1-42d2-889a-1b6604caa6cf":{"description":"Missing, invalid, expired or revoked API key","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[false],"isRequired":true,"uniqueKey":"success","typeLabel":"enum\u003cboolean>"},"error":{"type":"object","properties":{"code":{"type":"string","enum":["VALIDATION_ERROR","NOT_FOUND","UNAUTHORIZED","FORBIDDEN","CONFLICT","UPSTREAM_ERROR","RATE_LIMITED","INTERNAL_ERROR","FEATURE_DISABLED","CONDITIONAL_SELL_REJECTED","CONDITIONAL_SELL_ACTIVE"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"details":{"oneOf":[{},{"type":"null","uniqueKey":"error.details.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.details","typeLabel":"null"}},"required":["code","message"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"},"meta":{"type":"object","properties":{"timestampMs":{"type":"integer","minimum":0,"isRequired":true,"uniqueKey":"meta.timestampMs","typeLabel":"integer"},"requestId":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"meta.requestId","typeLabel":"string"},"traceId":{"type":"string","minLength":1,"uniqueKey":"meta.traceId","typeLabel":"string"},"cachedAtMs":{"type":"integer","minimum":0,"uniqueKey":"meta.cachedAtMs","typeLabel":"integer"},"source":{"type":"string","enum":["cache","database","clickhouse","upstream","fallback","internal"],"uniqueKey":"meta.source","typeLabel":"enum\u003cstring>"}},"required":["timestampMs","requestId"],"isRequired":true,"uniqueKey":"meta","typeLabel":"object"}},"required":["success","error","meta"],"uniqueKey":"","typeLabel":"object"},"examples":{"Unknown key":{"title":"Unknown key","summary":"Unknown, expired or revoked key","value":{"success":false,"error":{"code":"UNAUTHORIZED","message":"Invalid, expired or revoked API key"},"meta":{"timestampMs":1791741600000,"requestId":"5b0d7f3e-2c61-4e8a-b947-1d3a6e0f8c25"}}},"Missing key":{"title":"Missing key","summary":"No Authorization header","value":{"success":false,"error":{"code":"UNAUTHORIZED","message":"Missing API key"},"meta":{"timestampMs":1791741600000,"requestId":"5b0d7f3e-2c61-4e8a-b947-1d3a6e0f8c25"}}}},"exampleType":"examples"}},"exampleType":"examples"},"c0911771-9ef4-4994-ad4c-1c5d53cac711":{"description":"The key lacks the scope this route needs","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[false],"isRequired":true,"uniqueKey":"success","typeLabel":"enum\u003cboolean>"},"error":{"type":"object","properties":{"code":{"type":"string","enum":["VALIDATION_ERROR","NOT_FOUND","UNAUTHORIZED","FORBIDDEN","CONFLICT","UPSTREAM_ERROR","RATE_LIMITED","INTERNAL_ERROR","FEATURE_DISABLED","CONDITIONAL_SELL_REJECTED","CONDITIONAL_SELL_ACTIVE"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"details":{"oneOf":[{},{"type":"null","uniqueKey":"error.details.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.details","typeLabel":"null"}},"required":["code","message"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"},"meta":{"type":"object","properties":{"timestampMs":{"type":"integer","minimum":0,"isRequired":true,"uniqueKey":"meta.timestampMs","typeLabel":"integer"},"requestId":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"meta.requestId","typeLabel":"string"},"traceId":{"type":"string","minLength":1,"uniqueKey":"meta.traceId","typeLabel":"string"},"cachedAtMs":{"type":"integer","minimum":0,"uniqueKey":"meta.cachedAtMs","typeLabel":"integer"},"source":{"type":"string","enum":["cache","database","clickhouse","upstream","fallback","internal"],"uniqueKey":"meta.source","typeLabel":"enum\u003cstring>"}},"required":["timestampMs","requestId"],"isRequired":true,"uniqueKey":"meta","typeLabel":"object"}},"required":["success","error","meta"],"uniqueKey":"","typeLabel":"object"},"examples":{"Missing scope":{"title":"Missing scope","summary":"The key lacks the read scope","value":{"success":false,"error":{"code":"FORBIDDEN","message":"This API key lacks the read scope"},"meta":{"timestampMs":1791741600000,"requestId":"5b0d7f3e-2c61-4e8a-b947-1d3a6e0f8c25"}}}},"exampleType":"examples"}},"exampleType":"examples"},"287e2f5d-679e-486b-9e49-7df2595ef943":{"description":"API error","headers":{"Retry-After":{"description":"Seconds remaining in the upstream read cooldown, when available","schema":{"type":"integer","minimum":0}}},"content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[false],"isRequired":true,"uniqueKey":"success","typeLabel":"enum\u003cboolean>"},"error":{"type":"object","properties":{"code":{"type":"string","enum":["VALIDATION_ERROR","NOT_FOUND","UNAUTHORIZED","FORBIDDEN","CONFLICT","UPSTREAM_ERROR","RATE_LIMITED","INTERNAL_ERROR","FEATURE_DISABLED","CONDITIONAL_SELL_REJECTED","CONDITIONAL_SELL_ACTIVE"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"details":{"oneOf":[{},{"type":"null","uniqueKey":"error.details.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.details","typeLabel":"null"}},"required":["code","message"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"},"meta":{"type":"object","properties":{"timestampMs":{"type":"integer","minimum":0,"isRequired":true,"uniqueKey":"meta.timestampMs","typeLabel":"integer"},"requestId":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"meta.requestId","typeLabel":"string"},"traceId":{"type":"string","minLength":1,"uniqueKey":"meta.traceId","typeLabel":"string"},"cachedAtMs":{"type":"integer","minimum":0,"uniqueKey":"meta.cachedAtMs","typeLabel":"integer"},"source":{"type":"string","enum":["cache","database","clickhouse","upstream","fallback","internal"],"uniqueKey":"meta.source","typeLabel":"enum\u003cstring>"}},"required":["timestampMs","requestId"],"isRequired":true,"uniqueKey":"meta","typeLabel":"object"}},"required":["success","error","meta"],"uniqueKey":"","typeLabel":"object"},"examples":{"Rate limited":{"title":"Rate limited","summary":"Over 5 requests a second; wait for Retry-After","value":{"success":false,"error":{"code":"RATE_LIMITED","message":"Too many requests for this API key"},"meta":{"timestampMs":1791741600000,"requestId":"5b0d7f3e-2c61-4e8a-b947-1d3a6e0f8c25"}}}},"exampleType":"examples"}},"exampleType":"examples"},"d8d51e27-ce7c-4395-ace2-2adb57868db3":{"description":"API error","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[false],"isRequired":true,"uniqueKey":"success","typeLabel":"enum\u003cboolean>"},"error":{"type":"object","properties":{"code":{"type":"string","enum":["VALIDATION_ERROR","NOT_FOUND","UNAUTHORIZED","FORBIDDEN","CONFLICT","UPSTREAM_ERROR","RATE_LIMITED","INTERNAL_ERROR","FEATURE_DISABLED","CONDITIONAL_SELL_REJECTED","CONDITIONAL_SELL_ACTIVE"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"details":{"oneOf":[{},{"type":"null","uniqueKey":"error.details.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.details","typeLabel":"null"}},"required":["code","message"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"},"meta":{"type":"object","properties":{"timestampMs":{"type":"integer","minimum":0,"isRequired":true,"uniqueKey":"meta.timestampMs","typeLabel":"integer"},"requestId":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"meta.requestId","typeLabel":"string"},"traceId":{"type":"string","minLength":1,"uniqueKey":"meta.traceId","typeLabel":"string"},"cachedAtMs":{"type":"integer","minimum":0,"uniqueKey":"meta.cachedAtMs","typeLabel":"integer"},"source":{"type":"string","enum":["cache","database","clickhouse","upstream","fallback","internal"],"uniqueKey":"meta.source","typeLabel":"enum\u003cstring>"}},"required":["timestampMs","requestId"],"isRequired":true,"uniqueKey":"meta","typeLabel":"object"}},"required":["success","error","meta"],"uniqueKey":"","typeLabel":"object"},"examples":{"Internal error":{"title":"Internal error","summary":"Unexpected server error","value":{"success":false,"error":{"code":"INTERNAL_ERROR","message":"An internal error occurred."},"meta":{"timestampMs":1791741600000,"requestId":"5b0d7f3e-2c61-4e8a-b947-1d3a6e0f8c25"}}}},"exampleType":"examples"}},"exampleType":"examples"},"5ce774e5-8df6-4073-95f2-44f8097629a1":{"description":"UPSTREAM_ERROR when `search` is set and search is unavailable; retry later","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[false],"isRequired":true,"uniqueKey":"success","typeLabel":"enum\u003cboolean>"},"error":{"type":"object","properties":{"code":{"type":"string","enum":["VALIDATION_ERROR","NOT_FOUND","UNAUTHORIZED","FORBIDDEN","CONFLICT","UPSTREAM_ERROR","RATE_LIMITED","INTERNAL_ERROR","FEATURE_DISABLED","CONDITIONAL_SELL_REJECTED","CONDITIONAL_SELL_ACTIVE"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"details":{"oneOf":[{},{"type":"null","uniqueKey":"error.details.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.details","typeLabel":"null"}},"required":["code","message"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"},"meta":{"type":"object","properties":{"timestampMs":{"type":"integer","minimum":0,"isRequired":true,"uniqueKey":"meta.timestampMs","typeLabel":"integer"},"requestId":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"meta.requestId","typeLabel":"string"},"traceId":{"type":"string","minLength":1,"uniqueKey":"meta.traceId","typeLabel":"string"},"cachedAtMs":{"type":"integer","minimum":0,"uniqueKey":"meta.cachedAtMs","typeLabel":"integer"},"source":{"type":"string","enum":["cache","database","clickhouse","upstream","fallback","internal"],"uniqueKey":"meta.source","typeLabel":"enum\u003cstring>"}},"required":["timestampMs","requestId"],"isRequired":true,"uniqueKey":"meta","typeLabel":"object"}},"required":["success","error","meta"],"uniqueKey":"","typeLabel":"object"},"example":{"success":false,"error":{"code":"UPSTREAM_ERROR","message":"A required service is temporarily unavailable."},"meta":{"timestampMs":1792771200000,"requestId":"7d2c9f4e-1b3a-4e8d-9c6f-2a5b8e0d4f17"}},"examples":{"Example":{"title":"Example","value":{"success":false,"error":{"code":"UPSTREAM_ERROR","message":"A required service is temporarily unavailable."},"meta":{"timestampMs":1792771200000,"requestId":"7d2c9f4e-1b3a-4e8d-9c6f-2a5b8e0d4f17"}}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"c7e5b678-a356-44de-a8fa-4ee7f0d1c1fd":{"apiKey":{"type":"http","scheme":"bearer","description":"A Lean API key, sent as `Authorization: Bearer \u003ckey>`. 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`.","scopes":[],"schemeName":"apiKey"}}},"servers":{"b9d200f3-058d-4de6-ac62-d3daef380488":{"url":"{baseUrl}/v1","description":"Lean API","variables":{"baseUrl":{"default":"https://api.lean.xyz","description":"The Lean API base URL, without /v1. Same value as LEAN_API_URL in the guides."}}}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"A Lean API key, sent as `Authorization: Bearer \u003ckey>`. 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`.","scopes":[],"schemeName":"apiKey"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"A Lean API key, sent as `Authorization: Bearer \u003ckey>`. 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`.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"apiKey","name":"Authorization"}],"title":"apiKey"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"lean","siteName":"Lean API","title":"List markets - Lean API","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-13T23:42:11.071Z","originalFileLocation":"api-reference/markets/list-markets.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"light\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Canonical sports markets, each with the Kalshi, Polymarket, Polymarket US and Hyperliquid legs that trade the same outcome. Filter by league, sport, status, start time or text, or look up the markets of one venue symbol. Pass next_cursor back as cursor for the next page.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Lean API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/lean/_generated/favicon/apple-touch-icon.png?v=3\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/lean/_generated/favicon/favicon-32x32.png?v=3\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/lean/_generated/favicon/favicon-16x16.png?v=3\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/lean/_generated/favicon/favicon.ico?v=3\">\u003cmeta data-mint-head property=\"og:title\" content=\"List markets - Lean API\">\u003cmeta data-mint-head property=\"og:description\" content=\"Canonical sports markets, each with the Kalshi, Polymarket, Polymarket US and Hyperliquid legs that trade the same outcome. Filter by league, sport, status, start time or text, or look up the markets of one venue symbol. Pass next_cursor back as cursor for the next page.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Lean API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://lean.mintlify.app/api-reference/markets/list-markets\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://lean.mintlify.site/_mintlify/api/og/v2?division=Markets\u0026amp;title=List+markets\u0026amp;description=Canonical+sports+markets%2C+each+with+the+Kalshi%2C+Polymarket%2C+Polymarket+US+and+Hyperliquid+legs+that+trade+the+same+outcome.+Filter+by+league%2C+sport%2C+status%2C+sta\u0026amp;theme=479271959554d25dc0271270\u0026amp;signature=6ef77374489e830cf681479b99b746204115ebdf8e922bcdf0a643e9d80913a5\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"List markets - Lean API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Canonical sports markets, each with the Kalshi, Polymarket, Polymarket US and Hyperliquid legs that trade the same outcome. Filter by league, sport, status, start time or text, or look up the markets of one venue symbol. Pass next_cursor back as cursor for the next page.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://lean.mintlify.site/_mintlify/api/og/v2?division=Markets\u0026amp;title=List+markets\u0026amp;description=Canonical+sports+markets%2C+each+with+the+Kalshi%2C+Polymarket%2C+Polymarket+US+and+Hyperliquid+legs+that+trade+the+same+outcome.+Filter+by+league%2C+sport%2C+status%2C+sta\u0026amp;theme=479271959554d25dc0271270\u0026amp;signature=6ef77374489e830cf681479b99b746204115ebdf8e922bcdf0a643e9d80913a5\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"https://mintlify.s3.us-west-1.amazonaws.com/lean/_generated/favicon/browserconfig.xml?v=3\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Lean API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#2F5BFF\">\u003clink data-mint-head rel=\"canonical\" href=\"https://lean.mintlify.app/api-reference/markets/list-markets\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/markets/list-markets.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://lean.mintlify.app/#organization\",\"name\":\"Lean API\",\"url\":\"https://lean.mintlify.app\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/lean/aK_dPkAAQjEsgndO/logo/light.svg?fit=max\u0026auto=format\u0026n=aK_dPkAAQjEsgndO\u0026q=85\u0026s=6f5d064937ce6cfedc8198e9ba927287\"}},{\"@type\":\"WebSite\",\"@id\":\"https://lean.mintlify.app#website\",\"name\":\"Lean API\",\"url\":\"https://lean.mintlify.app\",\"publisher\":{\"@id\":\"https://lean.mintlify.app/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://lean.mintlify.app/api-reference/markets/list-markets#webpage\",\"url\":\"https://lean.mintlify.app/api-reference/markets/list-markets\",\"name\":\"List markets\",\"description\":\"Canonical sports markets, each with the Kalshi, Polymarket, Polymarket US and Hyperliquid legs that trade the same outcome. Filter by league, sport, status, start time or text, or look up the markets of one venue symbol. Pass next_cursor back as cursor for the next page.\",\"dateModified\":\"2026-11-13T23:42:11.071Z\",\"isPartOf\":{\"@id\":\"https://lean.mintlify.app#website\"},\"breadcrumb\":{\"@id\":\"https://lean.mintlify.app/api-reference/markets/list-markets#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://lean.mintlify.app/api-reference/markets/list-markets#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Lean API\",\"item\":\"https://lean.mintlify.app\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"List markets\",\"item\":\"https://lean.mintlify.app/api-reference/markets/list-markets\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://lean.mintlify.app/api-reference/markets/list-markets#apireference\",\"headline\":\"List markets\",\"name\":\"List markets\",\"description\":\"Canonical sports markets, each with the Kalshi, Polymarket, Polymarket US and Hyperliquid legs that trade the same outcome. Filter by league, sport, status, start time or text, or look up the markets of one venue symbol. Pass next_cursor back as cursor for the next page.\",\"url\":\"https://lean.mintlify.app/api-reference/markets/list-markets\",\"mainEntityOfPage\":{\"@id\":\"https://lean.mintlify.app/api-reference/markets/list-markets#webpage\"},\"dateModified\":\"2026-11-13T23:42:11.071Z\",\"publisher\":{\"@id\":\"https://lean.mintlify.app/#organization\"},\"isPartOf\":{\"@id\":\"https://lean.mintlify.app#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Lean API\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Lean API\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/markets/list-markets.md","siteName":"Lean API","nav":{"global":null,"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":""}]},{"tab":"Use cases","pages":[{"title":"Use cases","href":"/use-cases"}]},{"tab":"API reference","groups":[{"group":"Markets","pages":[{"title":"List markets","openapi":"api-reference/openapi.json GET /markets","href":"/api-reference/markets/list-markets"},{"title":"Get a market","openapi":"api-reference/openapi.json GET /markets/{id}","description":"One market by its id, with each venue leg and how that venue resolves it. A market id keeps resolving after its fixture leaves the default list window. A venue symbol that names one market, such as a Polymarket token id or a Hyperliquid book coin, returns that market under its market id.","href":"/api-reference/markets/retrieve-market"},{"title":"Quote a market","openapi":"api-reference/openapi.json GET /markets/{id}/quote","href":"/api-reference/markets/quote-market"},{"title":"Get a market orderbook","openapi":"api-reference/openapi.json GET /markets/{id}/book","href":"/api-reference/markets/retrieve-market-book"},{"title":"Get recent trades","openapi":"api-reference/openapi.json GET /markets/{id}/trades","href":"/api-reference/markets/list-market-trades"},{"title":"Get price candles","openapi":"api-reference/openapi.json GET /markets/{id}/candles","href":"/api-reference/markets/get-market-candles"},{"title":"Get prices","openapi":"api-reference/openapi.json GET /prices","href":"/api-reference/markets/list-prices"}]},{"group":"Orders","pages":[{"title":"Preview an order","openapi":"api-reference/openapi.json POST /orders/preview","href":"/api-reference/orders/preview-order"},{"title":"Preview several orders","openapi":"api-reference/openapi.json POST /orders/preview-batch","href":"/api-reference/orders/preview-orders-batch"},{"title":"Create an order","openapi":"api-reference/openapi.json POST /orders","href":"/api-reference/orders/create-order"},{"title":"List orders","openapi":"api-reference/openapi.json GET /orders","href":"/api-reference/orders/list-orders"},{"title":"Retrieve an order","openapi":"api-reference/openapi.json GET /orders/{id}","href":"/api-reference/orders/retrieve-order"},{"title":"Amend an order","openapi":"api-reference/openapi.json PATCH /orders/{id}","href":"/api-reference/orders/amend-order"},{"title":"Cancel an order","openapi":"api-reference/openapi.json POST /orders/{id}/cancel","href":"/api-reference/orders/cancel-order"},{"title":"Cancel every open order","openapi":"api-reference/openapi.json POST /orders/cancel-all","href":"/api-reference/orders/cancel-all-orders"},{"title":"Set a cancel timer","openapi":"api-reference/openapi.json POST /orders/cancel-after","href":"/api-reference/orders/set-cancel-after"},{"title":"Cancel several orders","openapi":"api-reference/openapi.json POST /orders/cancel-batch","href":"/api-reference/orders/cancel-orders-batch"},{"title":"List fills","openapi":"api-reference/openapi.json GET /fills","href":"/api-reference/orders/list-fills"},{"title":"Place a routed order","openapi":"api-reference/openapi.json POST /routed-orders","href":"/api-reference/orders/create-routed-order"},{"title":"Execute a routed order","openapi":"api-reference/openapi.json POST /routed-orders/{id}/execute","href":"/api-reference/orders/execute-routed-order"}]},{"group":"Stop losses","pages":[{"title":"Create a stop loss or take profit","openapi":"api-reference/openapi.json POST /stop-losses","href":"/api-reference/stop-losses/create-stop-loss"},{"title":"List stop losses","openapi":"api-reference/openapi.json GET /stop-losses","href":"/api-reference/stop-losses/list-stop-losses"},{"title":"Get a stop loss","openapi":"api-reference/openapi.json GET /stop-losses/{id}","href":"/api-reference/stop-losses/retrieve-stop-loss"},{"title":"Cancel a stop loss","openapi":"api-reference/openapi.json DELETE /stop-losses/{id}","href":"/api-reference/stop-losses/cancel-stop-loss"}]},{"group":"Limit chases","pages":[{"title":"Create a limit chase","openapi":"api-reference/openapi.json POST /limit-chases","href":"/api-reference/limit-chases/create-limit-chase"},{"title":"List limit chases","openapi":"api-reference/openapi.json GET /limit-chases","href":"/api-reference/limit-chases/list-limit-chases"},{"title":"Get a limit chase","openapi":"api-reference/openapi.json GET /limit-chases/{id}","href":"/api-reference/limit-chases/retrieve-limit-chase"},{"title":"Cancel a limit chase","openapi":"api-reference/openapi.json DELETE /limit-chases/{id}","href":"/api-reference/limit-chases/cancel-limit-chase"}]},{"group":"Account","pages":[{"title":"List positions","openapi":"api-reference/openapi.json GET /positions","href":"/api-reference/account/list-positions"},{"title":"Close positions","openapi":"api-reference/openapi.json POST /positions/close","href":"/api-reference/account/close-positions"},{"title":"List balances","openapi":"api-reference/openapi.json GET /balances","href":"/api-reference/account/list-balances"},{"title":"Get profit and loss","openapi":"api-reference/openapi.json GET /pnl","href":"/api-reference/account/get-pnl"},{"title":"Get profit and loss history","openapi":"api-reference/openapi.json GET /pnl/history","href":"/api-reference/account/get-pnl-history"},{"title":"Get risk","openapi":"api-reference/openapi.json GET /risk","href":"/api-reference/account/get-risk"},{"title":"Get account configuration","openapi":"api-reference/openapi.json GET /account/config","href":"/api-reference/account/retrieve-account-config"},{"title":"Lower this key's limits","openapi":"api-reference/openapi.json POST /account/limits","href":"/api-reference/account/lower-key-limits"},{"title":"Pause order placement","openapi":"api-reference/openapi.json POST /account/pause","href":"/api-reference/account/pause-trading"}]},{"group":"Deposits","pages":[{"title":"List deposit assets","openapi":"api-reference/openapi.json GET /deposits/assets","href":"/api-reference/deposits/list-deposit-assets"},{"title":"Get deposit addresses","openapi":"api-reference/openapi.json GET /deposits/addresses","href":"/api-reference/deposits/list-deposit-addresses"},{"title":"Create deposit addresses","openapi":"api-reference/openapi.json POST /deposits/addresses","href":"/api-reference/deposits/create-deposit-addresses"}]},{"group":"Withdrawals","pages":[{"title":"Withdraw cash","openapi":"api-reference/openapi.json POST /withdrawals","href":"/api-reference/withdrawals/create-withdrawal"},{"title":"List withdrawals","openapi":"api-reference/openapi.json GET /withdrawals","href":"/api-reference/withdrawals/list-withdrawals"},{"title":"Get a withdrawal","openapi":"api-reference/openapi.json GET /withdrawals/{id}","href":"/api-reference/withdrawals/retrieve-withdrawal"}]},{"group":"Transfers","pages":[{"title":"Quote a transfer","openapi":"api-reference/openapi.json POST /transfers/quote","href":"/api-reference/transfers/quote-transfer"},{"title":"Create a transfer","openapi":"api-reference/openapi.json POST /transfers","href":"/api-reference/transfers/create-transfer"},{"title":"Execute a transfer","openapi":"api-reference/openapi.json POST /transfers/{id}/execute","href":"/api-reference/transfers/execute-transfer"},{"title":"List transfers","openapi":"api-reference/openapi.json GET /transfers","href":"/api-reference/transfers/list-transfers"},{"title":"Get a transfer","openapi":"api-reference/openapi.json GET /transfers/{id}","href":"/api-reference/transfers/retrieve-transfer"}]},{"group":"Streaming","pages":[{"title":"Create a stream ticket","openapi":"api-reference/openapi.json POST /ws/token","href":"/api-reference/streaming/create-stream-ticket"},{"title":"WebSocket","href":"/api-reference/streaming/websocket"}]},{"group":"Test mode","pages":[{"title":"Reset test mode","openapi":"api-reference/openapi.json POST /test/reset","href":"/api-reference/test-mode/reset-test-mode"}]},{"group":"API keys","pages":[{"title":"Create an API key","openapi":"api-reference/openapi.json POST /api-keys","href":"/api-reference/api-keys/create-api-key"},{"title":"List API keys","openapi":"api-reference/openapi.json GET /api-keys","href":"/api-reference/api-keys/list-api-keys"},{"title":"Revoke an API key","openapi":"api-reference/openapi.json DELETE /api-keys/{id}","href":"/api-reference/api-keys/revoke-api-key"},{"title":"Change an API key's limits","openapi":"api-reference/openapi.json PATCH /api-keys/{id}/limits","href":"/api-reference/api-keys/update-api-key-limits"},{"title":"Pause an API key","openapi":"api-reference/openapi.json PUT /api-keys/{id}/suspension","href":"/api-reference/api-keys/pause-api-key"},{"title":"Resume an API key","openapi":"api-reference/openapi.json DELETE /api-keys/{id}/suspension","href":"/api-reference/api-keys/resume-api-key"},{"title":"Get a trading account's API limits","openapi":"api-reference/openapi.json GET /api-keys/accounts/{tradingAccountId}/limits","href":"/api-reference/api-keys/retrieve-account-limits"},{"title":"Set a trading account's API limits","openapi":"api-reference/openapi.json PUT /api-keys/accounts/{tradingAccountId}/limits","href":"/api-reference/api-keys/update-account-limits"},{"title":"List trading pauses","openapi":"api-reference/openapi.json GET /api-keys/suspensions","href":"/api-reference/api-keys/list-trading-pauses"},{"title":"Pause API trading on a trading account","openapi":"api-reference/openapi.json PUT /api-keys/accounts/{tradingAccountId}/suspension","href":"/api-reference/api-keys/pause-account-api-trading"},{"title":"Resume API trading on a trading account","openapi":"api-reference/openapi.json DELETE /api-keys/accounts/{tradingAccountId}/suspension","href":"/api-reference/api-keys/resume-account-api-trading"}]}]}]},"basePath":"","title":"List markets - Lean API","deploymentId":"dpl_HhUetB7eHHDAmK9T1Teip38TgFx9","buildId":"dpl_HhUetB7eHHDAmK9T1Teip38TgFx9","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-jJHA3WSo.js","utils-DbZn3Mjn.js","cloneDeep-CnBnaSyy.js","_Uint8Array-CMQtTgBR.js","isObject-FP1Yky1u.js","utils-Bl2DvzOJ.js","addUniqueKeysToSchema-BwOLo9p1.js","snippetPresets-BBiPpKa-.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-C0px4Tml.js","isEqual-zAyttAAO.js","usePlaygroundInputsStore-Dell6dGw.js","shallow-0VKqkSqN.js","getApiPlaygroundDisplay-CP_ctPEB.js","CodeSnippet-5L35ic0s.js","CodeSnippets-DOXbNhJw.js","Page-DRLI_2Ue.js","getPastedJson-VhzT9m2P.js","icon-CD8_AtCO.js","MethodPill-DGgOMftG.js","DuplicateIcon-DZ6A_EtN.js","createIcon-DUl4oM5f.js","DynamicMarkdown-BGHukeRM.js","SectionHeading-ChrEUs8u.js","axios-vUo_bRtp.js","Markdown-Dj-na-_-.js","dist-C5gjFYHe.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","katex-YMM-FMeD.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js","AssistantPageLink-DEBW87tT.js"]}