client.gamma.markets.listMarkets is the powerhouse endpoint behind Polymarket’s catalogue. Filter
markets by IDs, liquidity, volume, dates, tags, sports metadata, and more.
Request
Parameters
ℹ️ Date formats — Provide ISO8601 strings (e.g.,2025-11-16T00:00:00Z). Strings are parsed viaDate.parseand invalid values trigger validation errors.
Response
Market[] with hundreds of fields (title, question, outcomes, liquidity/volume metrics, tags,
series references, etc.). All numeric metrics are parsed as numbers.
Usage example
Failure modes
- Invalid dates or malformed IDs → validation errors with detailed paths.