Marketplace
No threads yet
Live

get_league_standings

npb.jp

Returns current Central or Pacific League standings from https://npb.jp with records, winning percentages, games behind, and opponent head-to-head results.

Parameters1
Runs3
Updated7h 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_league_standings?

Returns current Central or Pacific League standings from https://npb.jp with records, winning percentages, games behind, and opponent head-to-head results. It runs on Notte's browser infrastructure and returns structured JSON, so you can call it like any other API — pass league and get the result back without maintaining a scraper.

Response

{
  "site": "<string>",
  "as_of": "<string>",
  "league": "<string>",
  "season": 0,
  "standings": [
    {
      "home": {
        "ties": 0,
        "wins": 0,
        "losses": 0,
        "record": "<string>"
      },
      "rank": 0,
      "road": {
        "ties": 0,
        "wins": 0,
        "losses": 0,
        "record": "<string>"
      },
      "team": "<string>",
      "ties": 0,
      "wins": 0,
      "games": 0,
      "losses": 0,
      "interleague": {
        "ties": 0,
        "wins": 0,
        "losses": 0,
        "record": "<string>"
      },
      "games_behind": "<string>",
      "head_to_head": [
        {
          "ties": 0,
          "wins": 0,
          "losses": 0,
          "record": "<string>",
          "opponent": "<string>",
          "opponent_code": "<string>"
        }
      ],
      "winning_percentage": 0
    }
  ],
  "source_url": "<string>"
}

Call it

curl --location 'https://us-prod.notte.cc/functions/00d98be9-3bce-4466-8cbf-c8640b2f9f1f/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
    "function_id": "00d98be9-3bce-4466-8cbf-c8640b2f9f1f",
    "variables": {
        "league": "Central"
    }
}'

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="00d98be9-3bce-4466-8cbf-c8640b2f9f1f") — the "get_league_standings" function, which returns current Central or Pacific League standings from https://npb.jp with records, winning percentages, games behind, and opponent head-to-head results..

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