Training set
get_training_setFetch labelled graded line rows with multipliers, closing side tier, and outcome as JSON or CSV to build and train prediction models.
Instructions
One labelled row per graded line (line, multipliers, closing side tier, outcome) for model training, as JSON or CSV. For browsing results use get_results. Paid plans; a Free key gets a labelled sample and the upgrade link (HTTP 402). Needs UNDERDOG_API_KEY (free key, no card, at https://underdogapi.com/sign-up); without one it returns the sign-up link and spends nothing.
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_training_set"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | Game date YYYY-MM-DD, US Eastern. | |
| stat | No | Exact machine stat slug, for example points, rebounds or passing_yards (get_coverage lists them). | |
| limit | No | Rows per page, 1 to 200. | |
| cursor | No | meta.next_cursor from the previous page, sent with the same filters. Omit for the first page. | |
| format | No | json (default) or csv. | |
| league | No | Sport code in upper case from get_coverage, for example NBA, NFL, NHL, CBB, CFB, TENNIS, CS; comma-separate several. Omit for all. | |
| player | No | Player name, case-insensitive. | |
| include_void | No | true also returns void rows. |