fetchMarkets
Retrieve prediction markets from a given exchange with filters for status, keyword search, slug lookup, and more. Returns live results from the exchange API.
Instructions
Fetch markets with optional filtering, search, or slug lookup. Always hits the exchange API — results reflect the live state at the time of the call.
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. |