All prematch lines for one market
get_prematch_linesEvery alternate line for ONE market of ONE prematch event (all spreads, or all totals, etc.), across its periods. Use this when get_event_odds' centred selection is not enough — e.g. to find the price at a specific handicap. Prematch only; for live events use get_event_odds with response_format='detailed'.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"event_id": "<event_id>"
},
"name": "get_prematch_lines"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| event_id | Yes | ||
| market_type | No | totals |