get_league_navigation
draftkings.comReturns DraftKings sportsbook navigation and currently available bet categories for a league from https://Draftkings.com. Each result preserves the parameters field, including subcategoryId values used to query league odds.
Playground
Runs on Notte and spends your workspace credits — what comes back is the live response, not a sample.
What is get_league_navigation?
Returns DraftKings sportsbook navigation and currently available bet categories for a league from https://Draftkings.com. Each result preserves the parameters field, including subcategoryId values used to query league odds. It runs on Notte's browser infrastructure and returns structured JSON, so you can call it like any other API — pass league_id and get the result back without maintaining a scraper.
Response
{
"sport_id": "<string>",
"league_id": "<string>",
"seo_route": "<string>",
"navigation": [
{}
],
"node_count": 0,
"sport_name": "<string>",
"league_name": "<string>",
"template_id": "<string>",
"category_count": 0,
"subcategory_count": 0
}Call it
curl --location 'https://us-prod.notte.cc/functions/20ab0fea-1019-45f6-8469-d6708f45a4d8/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
"function_id": "20ab0fea-1019-45f6-8469-d6708f45a4d8",
"variables": {
"league_id": "84240"
}
}'Ask an agent
Paste this into Claude Code, Cursor or any MCP client to have an agent call this function for you.
Use the Anything API MCP server (https://anything.notte.cc/mcp). Call run(function_id="20ab0fea-1019-45f6-8469-d6708f45a4d8") — the "get_league_navigation" function, which returns DraftKings sportsbook navigation and currently available bet categories for a league from https://Draftkings.com. Each result preserves the parameters field, including subcategoryId values used to query league odds.. It takes league_id (str). Return the result as structured JSON.