Marketplace
No threads yet
Live

get_player_game_logs

basketball-reference.com

Returns regular-season game logs for a player and season from https://www.basketball-reference.com with dates, opponents, results, full box-score statistics, shooting splits, game score and plus/minus.

Parameters2
Runs8
Updated1d ago
Degraded8 runs · 75% 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_player_game_logs?

Returns regular-season game logs for a player and season from https://www.basketball-reference.com with dates, opponents, results, full box-score statistics, shooting splits, game score and plus/minus. It runs on Notte's browser infrastructure and returns structured JSON, so you can call it like any other API — pass player_id, season and get the result back without maintaining a scraper.

Response

{
  "games": [
    {}
  ],
  "season": 0,
  "player_id": "<string>",
  "game_count": 0,
  "source_url": "<string>",
  "player_name": "<string>",
  "season_label": "<string>"
}

Call it

curl --location 'https://us-prod.notte.cc/functions/73aeb3c6-d517-4ecb-9bb4-5612e8d14ae2/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
    "function_id": "73aeb3c6-d517-4ecb-9bb4-5612e8d14ae2",
    "variables": {
        "player_id": "jamesle01",
        "season": 2025
    }
}'

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="73aeb3c6-d517-4ecb-9bb4-5612e8d14ae2") — the "get_player_game_logs" function, which returns regular-season game logs for a player and season from https://www.basketball-reference.com with dates, opponents, results, full box-score statistics, shooting splits, game score and plus/minus..

It takes player_id (str), season (int). Return the result as structured JSON.