# Fanfare MLB DFS Slate Context

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

Returns MLB DFS slate context for a given date, combining Vegas implied team totals with per-game weather impact (wind, roof, rain risk) for every scheduled game.

## Facts

- Endpoint: GET https://fanfare.run/v1/fantasy/mlb/slate-context
- Price: $0.02/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-slate-context-db8b4176
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_pYVvwbhbyVCMQzgtQEA9r

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-slate-context-db8b4176
```

Example prompt: Pull up the full MLB slate context for tonight — all games, with Vegas implied team totals and weather conditions like wind and rain risk for each park.

## When to prefer this

Use this endpoint when you need a combined pre-game intelligence snapshot for MLB DFS lineup construction — specifically when you want Vegas implied totals and weather impact together in one call rather than hitting separate odds and weather APIs. Ideal for building agent workflows that set the day's DFS context before projecting players or constructing lineups.

## Known failure modes

- No games scheduled for the requested date returns empty slate
- Invalid date format returns a 400 validation error
- Unknown team_id or game_pk returns empty filtered results or 404
- Odds API unavailability may result in missing or stale Vegas totals
- Weather data unavailable for a specific park returns partial response

## How this service works

MLB DFS slate context for a date: every game with Vegas implied team totals (from The Odds API) + per-game weather impact (wind-vs-field, roof, rain risk). One call sets the stage for the day. Params: date (YYYY-MM-DD), window (all|day|night), team_id, game_pk.

## Output

A structured response containing every MLB game on the requested date/window, each enriched with Vegas implied team totals (from The Odds API) and per-game weather context including wind direction vs field orientation, roof status, and rain risk percentage.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "date": "2024-01-15",
   "window": "all"
  }
 }
}
```

## 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)"
      }
     }
    }
   },
   "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-slate-context-db8b4176/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)
