Fetch markets with optional filtering, search, or slug lookup. Always hits the exchange API — results reflect the live state at the time of the call.
Required when calling the hosted API directly (curl, requests, fetch). SDK users pass credentials via constructor params instead.
The prediction market exchange to target.
polymarket, kalshi, kalshi-demo, limitless, probable, baozi, myriad, opinion, metaculus, smarkets, polymarket_us Maximum number of results to return
Pagination offset — number of results to skip
Sort order for results
volume, liquidity, newest Filter by market status (default: 'active', 'inactive' and 'closed' are interchangeable)
active, inactive, closed, all Where to search (default: 'title')
title, description, both For keyword search
For slug/ticker lookup
Direct lookup by market ID
Reverse lookup -- find market containing this outcome
Find markets belonging to an event
For pagination (used by Limitless)
For semantic search (used by Limitless)