Polymarket Markets
polymarket_marketsPolymarket markets, by view. trending (default): top prediction-market events ranked by 24h volume. Returns market title, slug, category, current Yes/No mid quotes, 24h volume, and end_date. Filter by category (Crypto | Sports | Politics | Pop-Culture | Tech | all). Use for 'what's hot on Polymarket' or 'top crypto prediction markets'. search: the recorded markets whose slug contains query (case-insensitive), optionally only active or only closed ones, newest end_date first, paged with limit and offset; rows {active, closed, condition_id, end_date (epoch), neg_risk, slug, tick_size, token_ids}, active / closed derived from the on-chain resolution and Polymarket's own flag (a filter on them is the slower read). market: one market by condition_id in that row shape, a list of 0 or 1 rows, from the recorded markets or else Polymarket's full catalogue (source says which; an unknown id is []). Same data as GET /v1/polymarket/markets and /markets/{condition_id}.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "polymarket_markets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| view | No | `trending` (default): top by 24h volume; `search`: filter the recorded markets; `market`: one market by condition_id. | trending |
| limit | No | Max markets: `trending` default 10, max 30; `search` default 50, max 100 (a larger value is clamped). | |
| query | No | `search` only: case-insensitive substring of the market slug. | |
| active | No | `search` only: true = only active markets, false = only closed ones; omit for all. Not together with `closed`. | |
| closed | No | `search` only: the complement of `active` (true = only closed). Not together with `active`. | |
| offset | No | `search` only: rows to skip, 0 to 10000 (default 0); above 10000 is refused. | |
| category | No | `trending` only: category filter (default all) | |
| condition_id | No | `market` only, required there: the 0x-prefixed condition id. |