# Fanfare MLB Standings

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

Returns current MLB standings including wins, losses, win percentage, games back, home/away splits, and streak, filterable by American or National League.

## Facts

- Endpoint: GET https://fanfare.run/mlb/standings?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/fanfare-run-4e841ef2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_zDIHWjknIr-5ePeYYVXGT

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-4e841ef2
```

Example prompt: What are the current American League standings? Show me wins, losses, win percentage, games back, and streaks for all AL teams.

## When to prefer this

Use this endpoint when you need real-time MLB standings data with win/loss records, win percentage, games back, home/away splits, and streak information. Ideal for fans, sports apps, or agents answering questions about current league standings. Filter by leagueId 103 for American League or 104 for National League to narrow results.

## Known failure modes

- Invalid leagueId value (not 103 or 104) may return an error or empty results
- Service unavailable during off-season or MLB data provider outage
- Rate limit or payment failure returns 402 status
- Network timeout if upstream data provider is slow

## How this service works

Current MLB standings — wins, losses, win percentage, games back, home/away splits, and streak. Filter by leagueId: 103 for American League, 104 for National League.

## Output

A list of MLB teams with their current season record including wins, losses, win percentage, games back from first place, home/away record splits, and current streak — filtered to either the American League (103) or National League (104), or all teams if no filter applied.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "leagueId": 103
  }
 }
}
```

## 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": {
      "leagueId": {
       "type": "integer",
       "description": "103 for AL, 104 for NL"
      }
     }
    }
   },
   "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-4e841ef2/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)
