Live
get_player_per_game_stats
basketball-reference.comReturns regular-season per-game statistics by season and career for an NBA player from https://www.basketball-reference.com, including every non-empty table field.
Parameters1
Runs5
Updated1d ago
Operational5 runs · 100% succeeded
30 days ago90 days agoranfailednot checkedtoday
Playground
Runs on Notte and spends your workspace credits — what comes back is the live response, not a sample.
What is get_player_per_game_stats?
Returns regular-season per-game statistics by season and career for an NBA player from https://www.basketball-reference.com, including every non-empty table field. It runs on Notte's browser infrastructure and returns structured JSON, so you can call it like any other API — pass player_id and get the result back without maintaining a scraper.
Response
{
"career": {},
"seasons": [
{}
],
"player_id": "<string>",
"source_url": "<string>",
"player_name": "<string>",
"season_record_count": 0
}Call it
curl --location 'https://us-prod.notte.cc/functions/5bfb646a-cf95-43d3-8f8f-935871e00a5d/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
"function_id": "5bfb646a-cf95-43d3-8f8f-935871e00a5d",
"variables": {
"player_id": "jamesle01"
}
}'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="5bfb646a-cf95-43d3-8f8f-935871e00a5d") — the "get_player_per_game_stats" function, which returns regular-season per-game statistics by season and career for an NBA player from https://www.basketball-reference.com, including every non-empty table field.. It takes player_id (str). Return the result as structured JSON.