# Fanfare MLB DFS Projections

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

Returns per-player MLB DFS input vectors for a given date including Fanfare Baseline Score, projected points, ceiling/floor, recent form, park factors, Vegas totals, weather, and precomputed team stacks — without salary data.

## Facts

- Endpoint: GET https://fanfare.run/v1/fantasy/mlb/projections
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/fanfare-mlb-dfs-projections-409d344b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_0jarEhIzlzT5rtDvbguZ-

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-mlb-dfs-projections-409d344b
```

Example prompt: Pull the Fanfare MLB DFS projections for today (2025-07-18), GPP contest type, outfielders only, and flag any platoon edges — I want to see Baseline Scores, projected points, ceiling and floor, and team stacks.

## When to prefer this

Use this endpoint when you need rich, multi-dimensional MLB DFS player inputs — especially Fanfare's proprietary Baseline Score combined with park factors, Vegas lines, weather, platoon edges, and team stacks — and you already have salary data to join against. Prefer this over generic stats APIs when building GPP or cash lineup optimizers that need pre-aggregated DFS-specific signals in a single call.

## Known failure modes

- Missing required 'date' param returns 400 validation error
- No games scheduled for requested date returns empty array or 404
- Invalid position value returns 400 bad request
- Invalid contest_type value returns 400 bad request
- Payment not processed or insufficient USDC balance returns 402
- Rate limiting on high-frequency calls returns 429
- game_pk or team_id not found for the given date returns empty result set

## How this service works

Per-player MLB DFS inputs vector for a date: Fanfare Baseline Score (0-100) + derived projected_points / ceiling / floor, recent form (L15/L30), contact-quality proxy, batting-order leverage, platoon edge, park factors, Vegas implied totals, weather, plus pitcher role/innings and recent ERA/WHIP/K splits. Team stacks precomputed. NO DK/FD salaries or value_score (bring your own, join on player_id). Params: date, window, team_id, game_pk, contest_type (cash|gpp|both), position, handedness_filter.

## Output

A JSON array of per-player MLB DFS input vectors including Fanfare Baseline Score (0-100), projected_points, ceiling, floor, recent form (L15/L30), contact-quality proxy, batting-order leverage, platoon edge, park factors, Vegas implied totals, weather context, pitcher role/innings, ERA/WHIP/K splits, and precomputed team stacks. No DraftKings or FanDuel salaries are included; salary data must be joined externally using player_id.

## 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",
     "required": [
      "date"
     ],
     "properties": {
      "date": {
       "type": "string",
       "description": "Calendar date YYYY-MM-DD"
      },
      "window": {
       "type": "string",
       "description": "all | day | night (first-pitch filter)"
      },
      "game_pk": {
       "type": "integer",
       "description": "MLB game_pk (optional filter)"
      },
      "team_id": {
       "type": "integer",
       "description": "MLB Stats API team_id (optional filter)"
      },
      "position": {
       "type": "string",
       "description": "ALL | P | C | 1B | 2B | 3B | SS | OF | UTIL"
      },
      "contest_type": {
       "type": "string",
       "description": "cash | gpp | both"
      },
      "handedness_filter": {
       "type": "string",
       "description": "auto | LHB | RHB | LHP | RHP"
      }
     }
    }
   },
   "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-mlb-dfs-projections-409d344b/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)
