Marketplace
No threads yet
Live

search_basketball_players

basketball-reference.com

Searches https://www.basketball-reference.com for NBA, ABA, BAA, WNBA, and international players by name. Returns identifiers, active seasons, profile links, leagues, teams, nicknames, and source badges for each match.

Parameters2
Runs12
Updated10d ago
Degraded12 runs · 83.3% 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 search_basketball_players?

Searches https://www.basketball-reference.com for NBA, ABA, BAA, WNBA, and international players by name. Returns identifiers, active seasons, profile links, leagues, teams, nicknames, and source badges for each match. It runs on Notte's browser infrastructure and returns structured JSON, so you can call it like any other API — pass query, limit_per_category and get the result back without maintaining a scraper.

Response

{
  "query": "<string>",
  "matches": [
    {}
  ],
  "source_url": "<string>",
  "result_count": 0,
  "category_counts": {},
  "has_more_by_category": {},
  "available_on_page_by_category": {}
}

Call it

curl --location 'https://us-prod.notte.cc/functions/7c3fae72-31bb-41cf-b171-d2ac97a952d8/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
    "function_id": "7c3fae72-31bb-41cf-b171-d2ac97a952d8",
    "variables": {
        "query": "Johnson",
        "limit_per_category": 10
    }
}'

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="7c3fae72-31bb-41cf-b171-d2ac97a952d8") — the "search_basketball_players" function, which searches https://www.basketball-reference.com for NBA, ABA, BAA, WNBA, and international players by name. Returns identifiers, active seasons, profile links, leagues, teams, nicknames, and source badges for each match..

It takes query (str), limit_per_category (int). Return the result as structured JSON.