Marketplace
No threads yet
Live

list_active_players

npb.jp

Returns active players from English roster pages on https://npb.jp with names, teams, player IDs, positions, jersey numbers, and roster categories; optionally filters by team.

Parameters1
Runs5
Updated7h ago
Operational5 runs · 100% 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 list_active_players?

Returns active players from English roster pages on https://npb.jp with names, teams, player IDs, positions, jersey numbers, and roster categories; optionally filters by team. It runs on Notte's browser infrastructure and returns structured JSON, so you can call it like any other API — pass team and get the result back without maintaining a scraper.

Response

{
  "count": 0,
  "players": [
    {
      "name": "<string>",
      "position": "<string>",
      "player_id": "<string>",
      "team_name": "<string>",
      "jersey_number": "<string>",
      "roster_category": "<string>",
      "developmental_squad": true
    }
  ],
  "requested_team": "<string>",
  "teams_included": [
    "<string>"
  ]
}

Call it

curl --location 'https://us-prod.notte.cc/functions/75804a5a-df67-4fdf-8bef-41b363939a0c/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
    "function_id": "75804a5a-df67-4fdf-8bef-41b363939a0c",
    "variables": {
        "team": ""
    }
}'

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="75804a5a-df67-4fdf-8bef-41b363939a0c") — the "list_active_players" function, which returns active players from English roster pages on https://npb.jp with names, teams, player IDs, positions, jersey numbers, and roster categories; optionally filters by team..

It takes team (str). Return the result as structured JSON.