Marketplace
No threads yet
Live

get_player_career_statistics

npb.jp

Returns biographical details and complete year-by-year batting or pitching career statistics for an NPB player from https://npb.jp by roster player ID.

Parameters1
Runs3
Updated6h ago
Operational3 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_player_career_statistics?

Returns biographical details and complete year-by-year batting or pitching career statistics for an NPB player from https://npb.jp by roster player ID. 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

{
  "site": "<string>",
  "as_of": "<string>",
  "player": {
    "bats": "<string>",
    "name": "<string>",
    "team": "<string>",
    "throws": "<string>",
    "position": "<string>",
    "height_cm": 0,
    "photo_url": "<string>",
    "player_id": "<string>",
    "weight_kg": 0,
    "birth_date": "<string>",
    "jersey_number": "<string>"
  },
  "seasons": [
    {
      "hits": 0,
      "runs": 0,
      "team": "<string>",
      "year": 0,
      "games": 0,
      "walks": 0,
      "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,
      "plate_appearances": 0,
      "on_base_percentage": 0,
      "slugging_percentage": 0,
      "grounded_into_double_plays": 0
    }
  ],
  "source_url": "<string>",
  "stats_type": "<string>",
  "career_totals": {
    "hits": 0,
    "runs": 0,
    "games": 0,
    "walks": 0,
    "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,
    "plate_appearances": 0,
    "on_base_percentage": 0,
    "slugging_percentage": 0,
    "grounded_into_double_plays": 0
  }
}

Call it

curl --location 'https://us-prod.notte.cc/functions/054f14a4-67a6-4baf-8f68-4de07ea5d4b9/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
    "function_id": "054f14a4-67a6-4baf-8f68-4de07ea5d4b9",
    "variables": {
        "player_id": "41045153"
    }
}'

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="054f14a4-67a6-4baf-8f68-4de07ea5d4b9") — the "get_player_career_statistics" function, which returns biographical details and complete year-by-year batting or pitching career statistics for an NPB player from https://npb.jp by roster player ID..

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