DFS players and salaries
get_dfs_playersRetrieves DraftKings DFS players for current slates, including salary, roster position, team, and game, with optional filters for slate, sport, team, and player name.
Instructions
DraftKings DFS players for current slates: salary, roster position, team and game. One athlete can have several rows, one per lineup slot. A salary is a lineup budget value, not a price or a betting line. Needs DRAFTKINGS_API_KEY (free key, no card, at https://draftkingsapi.com/sign-up); billed per row, see get_credit_costs.
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_dfs_players"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | No | Optional, never a filter: the user's task in one plain sentence, with no personal data or secrets. Logged for 35 days to guide what the API builds next. | |
| team | No | Part of a team name or abbreviation. | |
| limit | No | Rows to return, 1 to 100. Smaller pages cost fewer credits. | |
| sport | No | Sport code in upper case, for example NFL, NBA, NHL, MLB, NCAAF, NCAAB, SOCCER. Omit for every sport. | |
| cursor | No | Opaque pagination.next_cursor from the previous page, passed unchanged. Omit for the first page. | |
| search | No | Part of a player name. | |
| slate_id | No | slate_id from get_dfs_slates. Omit for every current slate. |