Marketplace
No threads yet
Live

get_team_batting_stats

npb.jp

Returns current-season batting statistics for every player on a selected NPB team from https://npb.jp, with optional game-page aggregation.

Parameters2
Runs6
Updated7h ago
Operational6 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 get_team_batting_stats?

Returns current-season batting statistics for every player on a selected NPB team from https://npb.jp, with optional game-page aggregation. It runs on Notte's browser infrastructure and returns structured JSON, so you can call it like any other API — pass team, auto_update and get the result back without maintaining a scraper.

Response

{
  "site": "<string>",
  "team": "<string>",
  "season": 0,
  "players": [
    {
      "hits": 0,
      "runs": 0,
      "games": 0,
      "walks": 0,
      "player": "<string>",
      "at_bats": 0,
      "doubles": 0,
      "triples": 0,
      "home_runs": 0,
      "strikeouts": 0,
      "total_bases": 0,
      "hit_by_pitch": 0,
      "stolen_bases": 0,
      "runs_batted_in": 0,
      "sacrifice_hits": 0,
      "batting_average": 0,
      "caught_stealing": 0,
      "sacrifice_flies": 0,
      "bats_left_handed": true,
      "intentional_walks": 0,
      "plate_appearances": 0,
      "on_base_percentage": 0,
      "slugging_percentage": 0,
      "grounded_into_double_plays": 0
    }
  ],
  "team_code": "<string>",
  "auto_update": true,
  "games_scanned": 0,
  "stats_through": "<string>"
}

Call it

curl --location 'https://us-prod.notte.cc/functions/062d5737-8e0a-43a4-9f32-48bffcab8d4c/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
    "function_id": "062d5737-8e0a-43a4-9f32-48bffcab8d4c",
    "variables": {
        "team": "Hanshin Tigers",
        "auto_update": false
    }
}'

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="062d5737-8e0a-43a4-9f32-48bffcab8d4c") — the "get_team_batting_stats" function, which returns current-season batting statistics for every player on a selected NPB team from https://npb.jp, with optional game-page aggregation..

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