Marketplace
No threads yet
Live

list_sportsbook_leagues

draftkings.com

Lists sport and league identifiers, names, routes, and template identifiers from the DraftKings sportsbook manifest at https://Draftkings.com. Use a returned league_id to request that league's navigation or odds.

Parameters0
Runs12
Updated10d ago
Degraded12 runs · 91.6% succeeded
30 days agotoday

Playground

Runs on Notte and spends your workspace credits — what comes back is the live response, not a sample.

What is list_sportsbook_leagues?

Lists sport and league identifiers, names, routes, and template identifiers from the DraftKings sportsbook manifest at https://Draftkings.com. Use a returned league_id to request that league's navigation or odds. It runs on Notte's browser infrastructure and returns structured JSON, so you can call it like any other API — call it with no parameters and get the result back without maintaining a scraper.

Response

{
  "leagues": [
    {
      "route": "<string>",
      "sport_id": "<string>",
      "league_id": "<string>",
      "seo_route": "<string>",
      "sport_name": "<string>",
      "league_name": "<string>",
      "template_id": "<string>",
      "sport_seo_id": "<string>",
      "league_seo_id": "<string>"
    }
  ],
  "sport_count": 0,
  "league_count": 0
}

Call it

curl --location 'https://us-prod.notte.cc/functions/de013924-250c-4f74-9d9a-7edb5c86f9d4/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
    "function_id": "de013924-250c-4f74-9d9a-7edb5c86f9d4",
    "variables": {}
}'

Ask an agent

Paste this into Claude Code, Cursor or any MCP client to have an agent call this function for you.

prompt
Use the Anything API MCP server (https://anything.notte.cc/mcp).

Call run(function_id="de013924-250c-4f74-9d9a-7edb5c86f9d4") — the "list_sportsbook_leagues" function, which lists sport and league identifiers, names, routes, and template identifiers from the DraftKings sportsbook manifest at https://Draftkings.com. Use a returned league_id to request that league's navigation or odds..

It takes no parameters. Return the result as structured JSON.