get_markets
List available betting markets with their ids, event counts, and pricing books, optionally scoped by sport or league. Use the returned ids when requesting odds or markets elsewhere.
Instructions
List the markets SharpAPI prices, with their ids (e.g. "moneyline", "point_spread", "player_points"), how many events carry each and which books price it. Pass league or sport to scope the list and its counts. Use the returned ids for the market argument elsewhere. Each row carries market_type_id; see get_market_types.
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 |
|---|---|---|---|
| sport | No | Sport id, or several comma-separated. Combined with league, a market must match both. | |
| league | No | League id, e.g. "nfl". Counts become league-local. |