# Fanfare MLB Schedule

> Fanfare MLB Schedule is a paid API for AI agents from fanfare.run, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Returns MLB game schedule data including matchups, scores, venues, and game status, filterable by date or team ID.

## Facts

- Endpoint: GET https://fanfare.run/mlb/schedule
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/fanfare-run-a5b68aab
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_r-22T5Rx03-Mbw55pc2kj

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 fanfare-run-a5b68aab
```

Example prompt: What MLB games are happening on July 15, 2025, and can you also show me just the Yankees games using their team ID?

## When to prefer this

Use this endpoint when you need MLB game schedules, scores, or venue information for a specific date or team. Prefer this over generic sports APIs when you need MLB-specific structured data with team ID filtering. Ideal for building fan experiences, travel planning around games, or monitoring live game statuses.

## Known failure modes

- Invalid date format (not YYYY-MM-DD) returns an error or empty results
- Invalid or unknown teamId returns empty results
- No games found for the given date or team (off-season, off-day) returns empty list
- Network or upstream data provider outage returns 5xx error
- Missing required query parameters may return all games or an error depending on API defaults

## How this service works

MLB game schedule for any date or team — matchups, scores, venues, and status. Filter by date (YYYY-MM-DD) or teamId to find specific games.

## Output

Returns a list of MLB games matching the query, including team matchups, game scores, venue/stadium name, and game status (scheduled, live, final). Can be filtered by a specific date in YYYY-MM-DD format or by a numeric MLB team ID.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "date": "2025-07-15"
  }
 }
}
```

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "date": {
       "type": "string",
       "description": "Game date (YYYY-MM-DD)"
      },
      "teamId": {
       "type": "integer",
       "description": "MLB team ID"
      }
     }
    }
   },
   "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/fanfare-run-a5b68aab/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from fanfare.run](https://www.zero.xyz/host/fanfare.run/llms.txt)
