{"uid":"cap_2SBEqx6pA926w_cdYM6OE","slug":"fanfare-mlb-late-swap-monitor-9a2984d0","name":"Fanfare MLB Late-Swap Monitor","description":"Tight-window MLB poll target: players whose lineup status / batting order changed since `since` (default now-900s). Cheap to poll every 60s through the pre-game window. Params: date, since (ISO-8601 UTC).","url":"https://fanfare.run/v1/fantasy/mlb/late-swap","method":"GET","headers":{},"bodySchema":{"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"},"since":{"type":"string","description":"ISO-8601 UTC; returns changes after this (default now-900s)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":{"request":{"input":{"type":"http","method":"GET","queryParams":{"date":"2025-06-15","since":"2025-06-15T11:30:00Z"}}},"response":{"slate":{"date":"2025-06-15","window":"all","game_count":15,"first_pitch_utc":"2025-06-15T16:05:00Z"},"errors":[],"league":"mlb","result":{"changed_players":[]},"sources":[{"name":"mlb-stats-api","note":null,"calls":2,"status":"ok","version":"v1","latency_ms":18},{"name":"the-odds-api","note":null,"calls":1,"status":"ok","version":"v4","latency_ms":0},{"name":"open-meteo","note":null,"calls":15,"status":"ok","version":"v1","latency_ms":0}],"endpoint":"/v1/fantasy/mlb/late-swap","warnings":[],"freshness":[{"source":"mlb-stats-api","is_stale":false,"data_type":"schedule","fetched_at":"2026-06-08T04:30:35.675533+00:00","max_age_seconds":300},{"source":"the-odds-api","is_stale":false,"data_type":"vegas-totals","fetched_at":"2026-06-08T04:30:35.676224+00:00","max_age_seconds":900},{"source":"open-meteo","is_stale":false,"data_type":"weather","fetched_at":"2026-06-08T04:30:36.194339+00:00","max_age_seconds":3600}],"request_id":"fnf_2917d959faf94f61b0e89c51889ee29b","generated_at":"2026-06-08T04:30:36.194723+00:00"}},"exampleRequest":{"date":"2025-06-15","since":"2025-06-15T11:30:00Z"},"tags":["x402"],"displayCostAmount":"0.03","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.03/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_y9x9DSwNGMLudSyn8N6mj","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.03","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns MLB players whose lineup status or batting order changed within a recent time window, optimized for frequent polling during pre-game windows for daily fantasy late-swap decisions.","exampleAgentPrompt":"Check for any MLB lineup or batting order changes since 11:30 AM UTC today, June 15, 2025 — I need to know who got scratched or moved so I can make late swaps before lock.","exampleUseCases":null,"resultDescription":"A list of MLB players whose lineup status or batting order position changed after the specified 'since' timestamp on the given date, including player identifiers and details about what changed — suitable for triggering late-swap decisions in daily fantasy contests.","failureModes":["Missing required 'date' parameter returns a 400 error","Invalid date format (not YYYY-MM-DD) causes a parsing error","'since' timestamp in wrong format (not ISO-8601 UTC) returns an error","No changes detected in window returns an empty result set","Date in the distant past or future with no game data may return empty or error","Payment not included or insufficient returns 402 Payment Required"],"whenToPreferThis":"Use this endpoint when you need to detect real-time MLB lineup changes in a tight polling loop (every 60 seconds) during the pre-game window for daily fantasy late-swap decisions. It is purpose-built for cheap, frequent polling at $0.03/call and is more efficient than a full slate bundle when you only need delta changes since a recent timestamp.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:31:15.270Z","isFirstParty":false}