fetchMarket
Search for a single prediction market by ID, slug, keyword, or other criteria across multiple exchanges.
Instructions
Fetch a single market by lookup parameters. Convenience wrapper around fetchMarkets() that returns a single result or throws MarketNotFound.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| exchange | Yes | The prediction market exchange to target. | |
| limit | No | Maximum number of results to return | |
| offset | No | Pagination offset — number of results to skip | |
| sort | No | Sort order for results | |
| status | No | Filter by market status (default: 'active', 'inactive' and 'closed' are interchangeable) | |
| searchIn | No | Where to search (default: 'title') | |
| query | No | For keyword search | |
| slug | No | For slug/ticker lookup | |
| marketId | No | Direct lookup by market ID | |
| outcomeId | No | Reverse lookup -- find market containing this outcome | |
| eventId | No | Find markets belonging to an event | |
| page | No | For pagination (used by Limitless) | |
| similarityThreshold | No | For semantic search (used by Limitless) | |
| verbose | No | Return full uncompacted response. Default false returns a compact, agent-friendly summary. |