{"uid":"cap_O3nYYnw7Q86lUdm31K577","slug":"fanfare-c2d5b299","name":"Fanfare MLB Game Live Feed","description":"Live play-by-play feed for an MLB game — lineups, inning-by-inning scores, pitching changes, and real-time status. Use game_pk from the schedule endpoint.","url":"https://fanfare.run/mlb/game/:game_pk","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"},"pathParams":{"type":"object","required":["game_pk"],"properties":{"game_pk":{"type":"string","description":"MLB game PK"}}},"queryParams":{"type":"object","properties":{}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":{"request":{"input":{"type":"http","method":"GET","pathParams":{"game_pk":"748247"},"queryParams":{}}},"response":{"data":{"id":"748247","score":{"away":4,"home":5,"innings":[{"away":0,"home":0,"inning":1},{"away":0,"home":0,"inning":2},{"away":0,"home":0,"inning":3},{"away":0,"home":2,"inning":4},{"away":0,"home":1,"inning":5},{"away":2,"home":0,"inning":6},{"away":1,"home":2,"inning":7},{"away":0,"home":0,"inning":8},{"away":1,"home":null,"inning":9}]},"sport":"baseball","venue":{"id":"2603","city":"Surprise","name":"Surprise Stadium","state":"AZ","country":"USA","surface":"grass","capacity":10714,"latitude":33.62762,"longitude":-112.37849,"roof_type":"open"},"inning":9,"league":"mlb","season":"2024","status":"final","date_utc":"2024-02-24T20:05:00Z","away_team":{"id":"140","city":"Arlington","name":"Rangers","full_name":"Texas Rangers","abbreviation":"TEX","league_division":"AL West"},"home_team":{"id":"118","city":"Kansas City","name":"Royals","full_name":"Kansas City Royals","abbreviation":"KC","league_division":"AL Central"},"inning_half":"top"},"sport":"baseball","errors":[],"league":"mlb","warnings":[],"request_id":"e10c5609-923a-4a64-bfc4-d12be37c3dd4","retrieved_at":"2026-06-18T05:22:09.963006+00:00"}},"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005000","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.005000/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_6N64ilCc6bFVJ5fTDGKB8","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns live play-by-play feed for a specific MLB game including lineups, inning-by-inning scores, pitching changes, and real-time game status.","exampleAgentPrompt":"Pull up the live play-by-play feed for MLB game 716463 — I want the current score, lineups, any pitching changes, and what inning they're in right now.","exampleUseCases":[{"title":"Live score for Yankees game","prompt":"Hey, can you check what the current score is for the Yankees game today? I want to know what inning they're in and whether they're winning."},{"title":"Track Dodgers pitching changes","prompt":"What pitching changes have happened in today's Dodgers game so far? I'm curious who's currently on the mound and how many times they've gone to the bullpen."},{"title":"Recap last night's Astros inning","prompt":"What actually happened in the 7th inning of last night's Astros game? Walk me through the plays — who was batting, any runs scored, that kind of thing."}],"resultDescription":"A live feed object containing the game's current status, inning-by-inning scoring, starting and current lineups, pitching change history, and real-time play-by-play events for the specified MLB game.","failureModes":["Invalid or unknown game_pk returns a 404 or empty result","Game not yet started returns a pre-game status with lineups but no scoring data","Completed game returns final score and full game summary rather than live data","Network or upstream MLB data source outage may return 503 or stale data"],"whenToPreferThis":"Use this endpoint when you need real-time or recent game-level detail for a specific MLB game — lineups, scoring by inning, pitching changes, and live status. Requires a game_pk obtained from the Fanfare MLB schedule endpoint. Prefer this over general sports score APIs when you need granular play-by-play detail rather than just a final score.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:44:19.319Z","isFirstParty":false}