Marketplace
No threads yet
Live

get_fantasy_leaderboard

hltv.org

Returns the top 10 public-league fantasy teams for an HLTV event from https://hltv.org, including placement, owner, and player, team, role, boost, and total points.

Parameters1
Runs7
Updated1d ago
Degraded7 runs · 71.4% 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 get_fantasy_leaderboard?

Returns the top 10 public-league fantasy teams for an HLTV event from https://hltv.org, including placement, owner, and player, team, role, boost, and total points. It runs on Notte's browser infrastructure and returns structured JSON, so you can call it like any other API — pass fantasy_id and get the result back without maintaining a scraper.

Response

{
  "draft_id": 0,
  "rankings": [
    {
      "team_id": 0,
      "team_url": "<string>",
      "username": "<string>",
      "league_id": 0,
      "placement": 0,
      "team_name": "<string>",
      "role_points": 0,
      "team_points": 0,
      "boost_points": 0,
      "total_points": 0,
      "player_points": 0,
      "highlight_team": true,
      "user_country_flag_url": "<string>"
    }
  ],
  "event_url": "<string>",
  "league_id": 0,
  "event_name": "<string>",
  "fantasy_id": 0,
  "phase_name": "<string>",
  "source_url": "<string>",
  "league_name": "<string>",
  "game_started": true,
  "game_finished": true,
  "number_of_teams_in_phase": 0
}

Call it

curl --location 'https://us-prod.notte.cc/functions/5a1c7e82-6277-44a6-906d-71c35399876c/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
    "function_id": "5a1c7e82-6277-44a6-906d-71c35399876c",
    "variables": {
        "fantasy_id": 641
    }
}'

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="5a1c7e82-6277-44a6-906d-71c35399876c") — the "get_fantasy_leaderboard" function, which returns the top 10 public-league fantasy teams for an HLTV event from https://hltv.org, including placement, owner, and player, team, role, boost, and total points..

It takes fantasy_id (int). Return the result as structured JSON.