fetchEvent
Fetch a single prediction market event by ID, slug, or keyword search from multiple exchanges like Polymarket and Kalshi. Returns exactly one result or throws an error.
Instructions
Fetch a single event by lookup parameters. Convenience wrapper around fetchEvents() that returns a single result or throws EventNotFound.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| exchange | Yes | The prediction market exchange to target. | |
| query | No | For keyword search | |
| limit | No | Maximum number of results to return | |
| cursor | No | Opaque venue pagination cursor, where supported. | |
| offset | No | Pagination offset — number of results to skip | |
| sort | No | Sort order for results | |
| status | No | Filter by event status (default: 'active', 'inactive' and 'closed' are interchangeable) | |
| searchIn | No | Where to search (default: 'title') | |
| eventId | No | Direct lookup by event ID | |
| slug | No | Lookup by event slug | |
| filter | No | Optional client-side filter applied after fetching | |
| category | No | Filter by category. Each event belongs to a venue-assigned category such as "Sports", "Politics", "Crypto", "Bitcoin", "Soccer", "Economic Policy" (Polymarket) or "Sports", "Mentions" (Kalshi). | |
| tags | No | Filter by tags. Returns events matching ANY of the provided tags. Tags are more specific than categories -- for example a "Politics" event might carry tags ["Politics", "Geopolitics", "Middle East", "Iran"]. Common tags include "Crypto", "Elections", "Fed Rates", "FIFA World Cup", "Trump". | |
| verbose | No | Return full uncompacted response. Default false returns a compact, agent-friendly summary. |