search_markets
Search Polymarket prediction markets by text query to retrieve key metadata including prices, volume, liquidity, and CLOB token IDs for real-time market discovery.
Instructions
Search Polymarket prediction markets by text query. Returns market metadata including question, prices, volume, liquidity, and CLOB token IDs. Uses the Gamma API for real-time market discovery. Chain with: get_clob_market(conditionId) for live order books, get_live_prices(clobTokenIds) for token-level pricing, get_market_open_interest for capital locked, or get_market_resolution for oracle status.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Number of results (1-100) | |
| query | Yes | Search text (e.g. 'Trump', 'Bitcoin', 'World Cup') | |
| active | No | Filter: only active markets | |
| closed | No | Filter: only closed/resolved markets | |
| orderBy | No | Sort field | |
| ascending | No | Sort ascending (default: descending) |