Get same game parlay legs
get_sgp_legsList eligible same game parlay legs for a pre-match event, with copy-pasteable legIds plus per-bookmaker prices and eligibility, so you can select valid legs for quoting an SGP.
Instructions
List the legs of one pre-match event that can go into a same game parlay. Each leg has a copy-pasteable legId, market, hdp, label, side and, per bookmaker, eligible (can be combined there), price and updatedAt. Pass the legId values to quote_sgp; never build a legId by hand. The response also has bookmakers: one entry per requested bookmaker, in request order, with status ok, leg_unavailable, unsupported or temporarily_unavailable. When it is not ok, every leg reads eligible false at that bookmaker and nextAction says what to do: retry_later (call get_sgp_legs again after retryAfter seconds) or choose_other_bookmaker; leave that bookmaker out of quote_sgp. Pick legs that are eligible at every bookmaker you will quote, and never two sides of one line (for example ML home and ML away, or over and under the same total): the API rejects that with a 400. Page with limit (default 200, max 1000) and skip while hasMore is true. Use markets to keep the response small. Included in all paid plans.
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": {
"eventId": "<eventId>",
"bookmakers": "<bookmakers>"
},
"name": "get_sgp_legs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| skip | No | Legs to skip, for paging (default 0) | |
| limit | No | Legs to return (default 200, max 1000) | |
| eventId | Yes | Event ID from get_events. Must be pre-match | |
| markets | No | Comma-separated market names to keep, max 40 (e.g. 'ML,Spread,Totals') | |
| bookmakers | Yes | Comma-separated names from list_sgp_bookmakers, max 8 per request, from the key's selection |