v56

latestOpenAPI 3.0.0raw.githubusercontent.com2026-07-215245616.9 KB

Fetch Markets

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.

get/api/{exchange}/fetchMarkets

Path parameters

exchange'polymarket' | 'kalshi' | 'kalshi-demo' | 'limitless' | 'probable' | 'baozi' | 'myriad' | 'opinion' | 'metaculus' | 'smarkets' | 'polymarket_us' | 'gemini-titan' | 'hyperliquid' | 'suibets' | 'rain' | 'hunch' | 'router' required

The prediction market exchange to target.

Query parameters

limitnumber

Maximum number of results to return

offsetnumber

Pagination offset — number of results to skip

sort'volume' | 'liquidity' | 'newest'

Sort order for results

status'active' | 'inactive' | 'closed' | 'all'

Filter by market status (default: 'active', 'inactive' and 'closed' are interchangeable)

searchIn'title' | 'description' | 'both'

Where to search (default: 'title')

querystring

For keyword search

slugstring

For slug/ticker lookup

marketIdstring

Direct lookup by market ID

outcomeIdstring

Reverse lookup -- find market containing this outcome

eventIdstring

Find markets belonging to an event

pagenumber

For pagination (used by Limitless)

similarityThresholdnumber

For semantic search (used by Limitless)

sourceExchangestring

Filter by source venue (e.g. 'polymarket', 'kalshi', 'myriad'). exchange is an alias.

exchangestring

Alias for sourceExchange.

Response

Fetch Markets response

successboolean

Example response

{
  "success": true
}