get_markets
Find and filter prediction markets by status, category, or search query. Supports sorting and pagination for easy browsing.
Instructions
List and search prediction markets. Supports filtering by status/category, full-text search, sorting, and pagination.
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": "get_markets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number for pagination (default: 1) | |
| search | No | Search markets by question text | |
| status | No | Filter markets by status (default: active) | |
| category | No | Filter by category (e.g., 'politics', 'crypto', 'sports') | |
| order_by | No | Sort field (default: end_date) | |
| per_page | No | Markets per page (default: 20) | |
| order_direction | No | Sort direction (default: asc) |