{
  "x402Version": 2,
  "id": 6040,
  "slug": "6040",
  "resource": "https://fanfare.run/v1/fantasy/mlb/lineups",
  "description": "Confirmed batting orders + probable pitchers + late scratches per MLB game for a date. The single biggest fantasy lever. Params: date (YYYY-MM-DD), team_id, game_pk.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x41AdeE1eBA2c276bE5e8Cabe0CE523e4dd792170",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "50000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "category": "sports",
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {
            "date": "2026-06-07"
          },
          "type": "http"
        },
        "output": {
          "example": {
            "endpoint": "/v1/fantasy/mlb/lineups",
            "errors": [],
            "freshness": [
              {
                "data_type": "lineups",
                "fetched_at": "2026-06-07T18:32:02Z",
                "is_stale": false,
                "max_age_seconds": 300,
                "source": "mlb-stats-api"
              },
              {
                "data_type": "vegas-totals",
                "fetched_at": "2026-06-07T18:30:00Z",
                "is_stale": false,
                "max_age_seconds": 900,
                "source": "the-odds-api"
              }
            ],
            "generated_at": "2026-06-07T18:32:11.421000+00:00",
            "league": "mlb",
            "request_id": "fnf_0123456789abcdef",
            "result": {
              "games": [
                {
                  "away_lineup": [],
                  "away_probable_pitcher": {
                    "handedness": "R",
                    "name": "Tanner Houck",
                    "player_id": "605400"
                  },
                  "away_team": "Red Sox",
                  "game_pk": 745893,
                  "home_lineup": [
                    {
                      "batting_order": 2,
                      "handedness": "R",
                      "lineup_status": "confirmed",
                      "name": "Aaron Judge",
                      "player_id": "660271",
                      "position": "RF"
                    }
                  ],
                  "home_probable_pitcher": {
                    "handedness": "R",
                    "name": "Gerrit Cole",
                    "player_id": "543037"
                  },
                  "home_team": "Yankees",
                  "late_scratches": []
                }
              ]
            },
            "slate": {
              "date": "2026-06-07",
              "first_pitch_utc": "2026-06-07T23:05:00Z",
              "game_count": 11,
              "window": "all"
            },
            "sources": [
              {
                "calls": 2,
                "latency_ms": 61,
                "name": "mlb-stats-api",
                "note": null,
                "status": "ok",
                "version": "v1"
              },
              {
                "calls": 1,
                "latency_ms": 123,
                "name": "the-odds-api",
                "note": null,
                "status": "ok",
                "version": "v4"
              }
            ],
            "warnings": []
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "method": {
                "enum": [
                  "GET",
                  "HEAD",
                  "DELETE"
                ],
                "type": "string"
              },
              "queryParams": {
                "properties": {
                  "date": {
                    "description": "Calendar date YYYY-MM-DD",
                    "type": "string"
                  },
                  "game_pk": {
                    "description": "MLB game_pk (optional filter)",
                    "type": "integer"
                  },
                  "team_id": {
                    "description": "MLB Stats API team_id (optional filter)",
                    "type": "integer"
                  }
                },
                "required": [
                  "date"
                ],
                "type": "object"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    },
    "sign-in-with-x": {
      "info": {
        "domain": "fanfare.run",
        "expirationTime": "2026-09-11T23:55:11.475419Z",
        "issuedAt": "2026-09-11T23:50:11.475406Z",
        "nonce": "feabc7faee82e2c367b2ed7a855592f1",
        "resources": [
          "https://fanfare.run/v1/fantasy/mlb/lineups"
        ],
        "statement": "Sign in with the wallet you paid with to re-access this resource.",
        "uri": "https://fanfare.run/v1/fantasy/mlb/lineups",
        "version": "1"
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "address": {
            "type": "string"
          },
          "chainId": {
            "type": "string"
          },
          "domain": {
            "type": "string"
          },
          "expirationTime": {
            "format": "date-time",
            "type": "string"
          },
          "issuedAt": {
            "format": "date-time",
            "type": "string"
          },
          "nonce": {
            "type": "string"
          },
          "notBefore": {
            "format": "date-time",
            "type": "string"
          },
          "requestId": {
            "type": "string"
          },
          "resources": {
            "items": {
              "format": "uri",
              "type": "string"
            },
            "type": "array"
          },
          "signature": {
            "type": "string"
          },
          "statement": {
            "type": "string"
          },
          "type": {
            "type": "string"
          },
          "uri": {
            "format": "uri",
            "type": "string"
          },
          "version": {
            "type": "string"
          }
        },
        "required": [
          "domain",
          "address",
          "uri",
          "version",
          "chainId",
          "type",
          "nonce",
          "issuedAt",
          "signature"
        ],
        "type": "object"
      },
      "supportedChains": [
        {
          "chainId": "eip155:8453",
          "type": "eip191"
        }
      ]
    }
  },
  "tags": [
    "bazaar",
    "sign-in-with-x"
  ],
  "sourceHost": "fanfare.run",
  "lastUpdated": "2026-09-11T23:50:11.487Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-09-11T23:50:11.3Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "fanfare.run",
    "manifest_name": "fanfare.run",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}