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.
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) |