# Fanfare MLB Players Roster

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

Returns all active MLB players for the current season, including name, position, jersey number, and team assignment.

## Facts

- Endpoint: GET https://fanfare.run/mlb/players
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/fanfare-run-2d82d50f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_pnG9S22iTSTJlB3UFJpe8

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-2d82d50f
```

Example prompt: Can you pull up the full list of active MLB players for this season — I want to see everyone's name, position, jersey number, and what team they're on right now?

## When to prefer this

Use this endpoint when you need a comprehensive, current list of all MLB players in the league with basic identifying info (name, position, jersey, team). Ideal for building dropdowns, resolving player names to IDs before fetching detailed stats, or validating which players are currently active. Prefer this over player-specific stat endpoints when you don't yet know the player's ID.

## Known failure modes

- No input parameters required so few user-caused failures; service may be temporarily unavailable returning a 5xx error
- Roster may lag if recent trades or roster moves have not yet been reflected
- Returns only active players — injured list or minor league call-ups may not be included

## How this service works

All active MLB players for the current season — name, position, jersey number, and team assignment.

## Output

An array of all active MLB players for the current season, each with their full name, position, jersey number, and team assignment. Useful as a reference roster or to obtain player IDs for further stat lookups.

## Example request

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

## 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": {}
    }
   },
   "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-2d82d50f/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)
