search_markets
Search Polymarket markets by keyword and retrieve bid/ask, spread, and outcome IDs. Uses the site's actual search backend since the standard /markets?search= ignores the query.
Instructions
Search Polymarket markets by keyword via the site's real search backend (Gamma's own /markets?search= is a no-op and ignores the query). Returns a flat list of markets with best bid/ask, spread and outcome/token ids, flattened out of their parent events.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of markets to return. | |
| query | Yes | Free-text search query. | |
| include_closed | No | Include markets already closed/resolved. |