# NPB Oracle Forecast API

> NPB Oracle Forecast API 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-10-17).

Returns forecast data for a specified date from the NPB (Nippon Professional Baseball) oracle service.

## Facts

- Endpoint: GET https://oracle-api-production-766f.up.railway.app/v1/npb/forecast/:date?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-17
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/npb-oracle-forecast-api-a938b93a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_k3WAGopoDHm56QLv_vOJo

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-oracle-forecast-api-a938b93a
```

Example prompt: What does the NPB oracle forecast for games on 2025-07-20? Pull the forecast data for that date.

## When to prefer this

Use this endpoint when you need general NPB oracle forecast data for a given date, as opposed to win probability (which returns home_win_prob/predicted_winner), Asian handicap data, or game schedules. Choose this for broad forecast summaries from the NPB oracle service.

## Known failure modes

- Invalid date format (not YYYY-MM-DD) returns a 400 error
- No games scheduled for the requested date may return empty or null forecast
- Future dates beyond oracle data availability may return no results
- Past dates may not have historical forecast data retained

## How this service works

Returns forecast data for a specified date from the NPB oracle service.

## Output

Returns forecast data for the specified date from the NPB oracle service, likely including predicted outcomes, probabilities, or other oracle-based forecast metrics for NPB games on that day.

## 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-oracle-forecast-api-a938b93a/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)
