# NPB Box Score API – Full Post-Game Box Score by Date

> NPB Box Score API – Full Post-Game Box Score by Date is a paid API for AI agents from oracle-api-production-766f.up.railway.app, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-15).

Returns complete post-game box scores for all NPB games on a given date, including inning-by-inning scoring, batting lineups, battery info, home runs, attendance, and umpires.

## Facts

- Endpoint: POST https://oracle-api-production-766f.up.railway.app/v1/npb/games/:date/box-score
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/npb-box-score-api-full-post-game-box-score-by-date-fe2ad3ec
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_T-LreXtvHyOozY0wbwGm7

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability npb-box-score-api-full-post-game-box-score-by-date-fe2ad3ec -d '<json body>'
```

Example prompt: Can you pull up the full NPB box score for all games on July 3, 2025, including the batting lineups, inning-by-inning scores, pitchers who appeared, home runs hit, and attendance figures?

## When to prefer this

Use this endpoint when you need comprehensive post-game box score data for NPB games — specifically when you need batting lineups in actual played order, inning-by-inning scoring breakdowns, pitcher usage sequences, home run logs, attendance, and umpire info all in one call. Prefer this over the basic results endpoint when doing detailed post-game analytics, fantasy baseball lineup updates, pitcher tracking, or building AI baseball analytics pipelines that require structured full-game summaries.

## Known failure modes

- Date not in YYYY-MM-DD JST format returns a 400 or empty result
- No games scheduled on the given date returns an empty games array
- Future or same-day dates may return incomplete or no post-game data since records are only available after games conclude
- Payment failure (insufficient USDC balance on Solana mainnet) blocks the call
- Rate limiting or upstream npb.jp unavailability may cause 5xx errors

## How this service works

Japanese baseball (NPB) full post-game box score for all games on a given date. Returns inning-by-inning scoring, batting lineup with positions (post-game = actual played order), battery (pitchers in order of appearance), home runs, attendance, umpires, in addition to the summary fields from /results. Source: npb.jp official post-game record. Use cases: detailed post-game analytics, fantasy baseball stat update with lineup info, batting order analysis, pitcher usage tracking, AI baseball analytics agents requiring full play-by-play summary. Input: :date (YYYY-MM-DD, JST). Output: JSON {date, league, kind:"post_game_metadata", games[]} per game with all post-game metadata fields. Pay-per-call $0.005 USDC on Solana mainnet.

## Output

A JSON object containing the date, league, kind ('post_game_metadata'), and a games array where each game entry includes inning-by-inning run scoring, the full batting lineup with fielding positions in actual played order, all pitchers in order of appearance (battery), home run details, attendance, umpire assignments, and summary result fields sourced from npb.jp official post-game records.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "pathParams": {
     "type": "object",
     "required": [
      "date"
     ],
     "properties": {
      "date": {
       "type": "string",
       "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
      }
     }
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/npb-box-score-api-full-post-game-box-score-by-date-fe2ad3ec/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from oracle-api-production-766f.up.railway.app](https://www.zero.xyz/host/oracle-api-production-766f.up.railway.app/llms.txt)
