# NPB Individual Batter Stats Lookup by Season and Name

> NPB Individual Batter Stats Lookup by Season and Name is a paid API for AI agents from oracle-api-production-766f.up.railway.app, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-14).

Looks up individual NPB batter statistics for a given season by player name (case-insensitive partial match), returning stats from the official BIS ranking for qualifying batters.

## Facts

- Endpoint: POST https://oracle-api-production-766f.up.railway.app/v1/npb/players/batter/:season
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/npb-individual-batter-stats-lookup-by-season-and-name-3d0cb672
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_hwLnrUDLB9hUl7OfDyYOF

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-individual-batter-stats-lookup-by-season-and-name-3d0cb672 -d '<json body>'
```

Example prompt: Can you pull up the 2024 NPB batting stats for 大谷翔平 — I want to see his full season numbers from the official BIS ranking.

## When to prefer this

Use this endpoint when you need stats for a specific named NPB batter rather than the full season ranking — it is cheaper ($0.003 vs full ranking price) and returns a focused per-player subset. Prefer this for fantasy lineup decisions, single-player research, matchup analysis, or betting research on an individual hitter. Use the full batter ranking endpoint instead when you need league-wide comparisons or all qualifying batters.

## Known failure modes

- Player name not found returns empty players arrays with match_count 0
- Invalid season year format returns 400 or error response
- Season data not yet available (future or very recent season) may return empty or error
- URL-encoded name parameter malformed may cause 400 error
- Payment failure on Solana mainnet (wrong amount, insufficient USDC) blocks request with 402

## How this service works

Japanese baseball (NPB) individual batter stats lookup by season + name (case-insensitive partial match). Returns single-player subset of the official BIS ranking (規定打席 met only). Use cases: NPB fantasy lineup decision, sabermetric hitter comparison, agent-driven matchup analysis, single-player betting research. Cheap subset price ($0.003) since payload is per-name filter. Input: :season (YYYY) path param + ?name=<query string> (URL-encoded, JP or EN). Output: JSON {season, league, category, subleagues:{central:{players:[matched]}, pacific:{...}}, match_count, query_name}. Pay-per-call $0.003 USDC on Solana mainnet.

## Output

A JSON object containing the season, league, category, subleague-split player arrays (Central and Pacific) each with matched player stat records from the BIS qualifying-batter ranking, plus match_count and the query_name used for filtering.

## 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": [
      "season"
     ],
     "properties": {
      "season": {
       "type": "string",
       "pattern": "^\\d{4}$"
      }
     }
    },
    "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-individual-batter-stats-lookup-by-season-and-name-3d0cb672/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)
