# MLB Win Probability Oracle

> MLB Win Probability Oracle is a paid API for AI agents from oracle-api-production-766f.up.railway.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Returns predicted win probability, predicted winner, and confidence score for MLB games on a given date

## Facts

- Endpoint: GET https://oracle-api-production-766f.up.railway.app/v1/mlb/games/:date/win-prob
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/mlb-win-probability-oracle-14e200a5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ghE-kLss8xJ6tfQTS2-cG

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 mlb-win-probability-oracle-14e200a5
```

Example prompt: What are the MLB win probabilities for all games on June 15, 2025 — I want to see the predicted winners and how confident the oracle is for each matchup?

## When to prefer this

Use this endpoint when you need MLB-specific win probability and predicted winner data with confidence scores for a given calendar date. Prefer this over generic sports APIs when you need structured probabilistic predictions (home_win_prob as a 0-1 value) rather than just odds or box scores. Particularly useful for sports betting analysis, fantasy baseball, or game preview automation on Solana-based x402 payment workflows.

## Known failure modes

- Invalid date format (not YYYY-MM-DD) — returns 400 Bad Request
- No MLB games scheduled on the given date — returns empty list or 404
- Future date beyond available forecast window — may return empty or error
- Payment not provided or invalid — returns 402 Payment Required
- Service downtime on Railway deployment — returns 503

## How this service works

MLB (Major League Baseball) win probability for the given date. Returns predicted home_win_prob, predicted_winner, confidence per game (Solana mainnet).

## Output

Returns a list of MLB games for the requested date, each with a home_win_prob value (0-1 float), a predicted_winner (team name), and a confidence score indicating how certain the prediction is.

## 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/mlb-win-probability-oracle-14e200a5/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)
