Integration GuidesDocs
Coverage MatrixDocumentationChange LogLog InContact Us
Integration Guides

Retrieving Historical Data

The Global Baseball API serves up to three seasons per competition: the current season and the two before it. Within that window, completed seasons and games retain their full detail: schedules, line scores, statistics, play-by-play timelines, standings, brackets, and probabilities.

Use Competition Seasons (or the all-competition Seasons feed) to see what is available before requesting data from other feeds. The MLB response, in full:

{
  "generated_at": "2026-07-21T17:36:45+00:00",
  "seasons": [
    {
      "id": "sr:season:112588",
      "name": "MLB 2024",
      "start_date": "2024-03-20",
      "end_date": "2024-10-31",
      "year": "2024",
      "competition_id": "sr:competition:109"
    },
    {
      "id": "sr:season:125735",
      "name": "MLB 2025",
      "start_date": "2025-03-18",
      "end_date": "2025-11-02",
      "year": "2025",
      "competition_id": "sr:competition:109"
    },
    {
      "id": "sr:season:134469",
      "name": "MLB 2026",
      "start_date": "2026-03-25",
      "end_date": "2026-11-01",
      "year": "2026",
      "competition_id": "sr:competition:109"
    }
  ]
}


Data Updates

Completed games can still receive corrections, and statistics settle in the minutes after a game closes. Sport Events Updated reports these revisions across a rolling 24-hour window, so a store of past results stays consistent by polling it rather than re-pulling seasons; see Monitoring Data Changes.



Data Accessibility

Every season-scoped and game-scoped feed reaches any season in the window; there is no separate historical API. These feeds include:


Past Dates

Daily Summaries reaches any past date in the window directly. A completed game from the previous day's slate, pulled by its UTC date:

GET https://api.sportradar.com/baseball/trial/v2/en/schedules/2026-07-20/summaries.json
x-api-key: YOUR_API_KEY
{
  "generated_at": "2026-07-21T17:43:34+00:00",
  "summaries": [
    {
      "sport_event": {
        "id": "sr:sport_event:63301121",
        "start_time": "2026-07-20T22:40:00+00:00",
        "sport_event_context": {
          "competition": {
            "id": "sr:competition:109",
            "name": "MLB",
            "gender": "men"
          },
          "season": {
            "id": "sr:season:134469",
            "name": "MLB 2026",
            "start_date": "2026-03-25",
            "end_date": "2026-11-01",
            "year": "2026",
            "competition_id": "sr:competition:109"
          }
        },
        "competitors": [
          {
            "id": "sr:competitor:3650",
            "name": "Cleveland Guardians",
            "country": "USA",
            "country_code": "USA",
            "abbreviation": "CLE",
            "qualifier": "home",
            "gender": "male"
          },
          {
            "id": "sr:competitor:3649",
            "name": "Minnesota Twins",
            "country": "USA",
            "country_code": "USA",
            "abbreviation": "MIN",
            "qualifier": "away",
            "gender": "male"
          }
        ]
      },
      "sport_event_status": {
        "status": "closed",
        "match_status": "ended",
        "home_score": 13,
        "away_score": 4,
        "winner_id": "sr:competitor:3650",
        "period_scores": [
          {
            "home_score": 3,
            "away_score": 0,
            "type": "regular_period",
            "number": 1
          },
          {
            "home_score": 3,
            "away_score": 2,
            "type": "regular_period",
            "number": 2
          },
          {
            "home_score": 1,
            "away_score": 0,
            "type": "regular_period",
            "number": 3
          },
          {
            "home_score": 1,
            "away_score": 0,
            "type": "regular_period",
            "number": 4
          },
          {
            "home_score": 1,
            "away_score": 0,
            "type": "regular_period",
            "number": 5
          },
          {
            "home_score": 1,
            "away_score": 0,
            "type": "regular_period",
            "number": 6
          },
          {
            "home_score": 3,
            "away_score": 1,
            "type": "regular_period",
            "number": 7
          },
          {
            "home_score": 0,
            "away_score": 1,
            "type": "regular_period",
            "number": 8
          },
          {
            "home_score": 0,
            "away_score": 0,
            "type": "regular_period",
            "number": 9
          }
        ]
      }
    }
  ]
}

Completed Games and Seasons

A closed game keeps everything it accumulated: this game's timeline still returns all 1,121 play-by-play events, and its probability timeline all 764 points. Completed cup seasons keep their structure too: the World Baseball Classic 2026, finished in March, still returns its pool standings and full knockout bracket through Season Standings and Season Links; see Tracking Standings.



Historical Retrieval Workflow

Historical Retrieval WorkflowOne season, game by game
DiscoverCompetition Seasons→every season ID in the window
Per seasonSeason SummariesorSeason StandingsorSeason Probabilities
Per gameSport Event SummaryorSport Event Timelinebox score or full play-by-play
Stay currentSport Events Updated→revisions to past games
Competition Seasons lists every available season; repeat this loop for any competition in the window. Season Summaries pages at 200 games.

Use the same retrieval method for every competition, interchanging the season-level feeds as your use case requires, and catch revisions to past games with Sport Events Updated.


Did this page help you?