Japan Pro Baseball (NPB) Stats API

Nippon Professional Baseball tables in English as typed rows: Central and Pacific League standings, batting leaders and pitching leaders for a season, with team, player, record, averages, home runs, RBI, ERA and strikeouts.

$1 per 1,000 records

You pay only for the records you get. Zero records cost zero. 5,000 free records to start, no card.

Try it
Ready-made, maintained by usRecords, 21 fieldsv1.0

Data from npb.jp/bis/eng/2026/stats/bat_c.html

Get this data

Try it here with a few records, download the sample, fill a Google Sheet, or call it from your own code.

Try it

Seasonoptional
Season year, such as 2026.
Example: 2026
Leagueoptional
central, pacific or both (default both).
Tableoptional
standings, batting, pitching or all (default all).

Run it on this page, or call it from your code with the endpoint in the developer section. A free key covers 5,000 records of this API, no card. Create a free key

For developers: the API and MCPThe endpoint, code in curl, JavaScript and Python, every input, and files for your tools
Endpoint
POSThttps://pullrow.dev/v1/apis/npb-japan-baseball-stats/run
  • Small runs answer in the same request; longer ones answer 202 with a run to poll.
  • fields returns only the fields you name. The examples send the ones picked on this page.
  • Idempotency-Key is optional. A retry with it is never charged twice.
  • You pay for records returned. Zero records cost zero.

Every run option, explained

Calling it needs a key
5,000 free records to start. No card.
curl
curl -X POST "https://pullrow.dev/v1/apis/npb-japan-baseball-stats/run" \
  -H "Authorization: Bearer $PULLROW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"season":2026},"max_items":50}'

Inputs

Send them as input in the request body. Leave one out to use its default.

seasonnumber
Season year, such as 2026.
example: 2026
leaguetext
central, pacific or both (default both).
default: bothexample: centralone of: central, pacific, both
tabletext
standings, batting, pitching or all (default all).
default: allexample: battingone of: standings, batting, pitching, all

What's in each record

21 fields: 20 here, 1 technical one under Technical details.

Basics

  • Season year

    Example 2,026

  • League

    central or pacific.

    Example central

  • Table

    standings, batting or pitching.

    Example standings

  • Rank

    Position in the table.

    Example 1

  • Team

    Club name.

    Example Hanshin Tigers

  • Player name
  • Games played

    Example 143

  • Wins

    Example 79

  • Losses

    Example 62

  • Ties

    Tied games (standings).

    Example 2

  • Percent

    Winning percentage.

    Example 0.56%

  • Games behind

    Games behind the league leader (standings).

    Example 0

  • Batting average
  • Home runs
  • Rbi

    Runs batted in.

  • Stolen bases
  • Obp

    On-base percentage.

  • Slg

    Slugging percentage.

  • Era

    Earned run average (pitching).

  • Strikeouts
Technical detailsField names and types for developers, and the 1 field hidden above

Hidden by default

This field comes with each record too. It is an internal code, a note about how the record was read or a copy of what was searched for, so the lists above leave it out.

  • ID idStable id built from season, league, table, team and player.

Field names and types

The names your code reads in each record. "Filled" counts how many of the 3 sample records carry the field.

Field nameTypeShown on this page asFilled
idtextID (hidden)3 of 3
seasonnumberSeason year3 of 3
leaguetextLeague3 of 3
tabletextTable3 of 3
ranknumberRank3 of 3
teamtextTeam3 of 3
player_nametextPlayer name0 of 3
gamesnumberGames played3 of 3
winsnumberWins3 of 3
lossesnumberLosses3 of 3
tiesnumberTies3 of 3
pctnumberPercent3 of 3
games_behindnumberGames behind3 of 3
avgnumberBatting average0 of 3
home_runsnumberHome runs0 of 3
rbinumberRbi0 of 3
stolen_basesnumberStolen bases0 of 3
obpnumberObp0 of 3
slgnumberSlg0 of 3
eranumberEra0 of 3
strikeoutsnumberStrikeouts0 of 3

How it reads the site

Runs on a reader we built and maintain by hand for this site.

Sample records

Sample records
RecordSeason yearLeagueTableRankTeamPlayer nameGames playedWinsLossesTiesPercentGames behindBatting averageHome runsRbiStolen basesObpSlgEraStrikeouts
12,026centralstandings1Hanshin Tigers—143796220.56%0————————
22,026centralstandings2Yomiuri Giants—143766430.543%2.5————————
32,026centralstandings3YOKOHAMA DeNA BAYSTARS—143716930.507%7.5————————

Sample records from the example output this API publishes. Email addresses and phone numbers in them are masked. Hover over a column name to see the field name your code reads.

Reliability

Counted from real runs. Our own health checks are left out. A run succeeded when it finished and the site neither blocked it nor broke it.

Incidents and repairs

How it is kept working What a repair can't do

A ready-made API, maintained by us. It is not part of the daily check or the automatic rebuild yet.

  • You pay only for records returned. A run that returns none costs nothing.
Known limits
  • Batting and pitching rows are only the qualified leaders (batting championship and ERA qualifiers), about 15 to 20 players per league, not every player.
  • Fields that do not apply to a table are null: standings rows have no player, batting rows have no ERA, pitching rows have no batting average.
  • Player names are as NPB writes them in English (family name first); teams are the full club names, built from the league's team codes.
  • NPB updates the pages once a day during the season; the current season is partial until it ends. Past seasons come back as final.
  • Stats are facts published by Nippon Professional Baseball (npb.jp); credit NPB when you publish them. Requests are spaced about one a second.

Version history

A run uses the live version unless the request names another one with version.