You must have Javascript enabled to view this content.
Fetching new items...
Hi, Guest! (PSN|XBL|NSW)

MLB 24 API Documentation

Game Log API

GET /apis/game_log.json?id=GAME_ID

  • Returns game log for specific game.
  • Game ID can be found in Game History API

Examples:

Sample Request:

GET /apis/game_log.json?id=10636

Sample Response:


      {
      "game": [
        [
          "line_score",
          {
            "game_mode": "EXHIBITION",
            "home_player_id": "120765",
            "away_player_id": "120767",
            "home_mlb_team_id": "28",
            "away_mlb_team_id": "13",
            "home_full_name": "Padres",
            "away_full_name": "Mariners",
            "winning_mlb_team_id": "13",
            "home_display_result": "L",
            "away_display_result": "W",
            "home_runs": "4",
            "away_runs": "0",
            "home_hits": "0",
            "away_hits": "0",
            "home_errors": "0",
            "away_errors": "0",
            "innings": "1",
            "inning_1": "1",
            "home_runs_1": "4",
            "away_runs_1": "0",
            "inning_2": "2",
            "home_runs_2": " ",
            "away_runs_2": " ",
            "inning_3": "3",
            "home_runs_3": " ",
            "away_runs_3": " ",
            "inning_4": "4",
            "home_runs_4": " ",
            "away_runs_4": " ",
            "inning_5": "5",
            "home_runs_5": " ",
            "away_runs_5": " ",
            "inning_6": "6",
            "home_runs_6": " ",
            "away_runs_6": " ",
            "inning_7": "7",
            "home_runs_7": " ",
            "away_runs_7": " ",
            "inning_8": "8",
            "home_runs_8": " ",
            "away_runs_8": " ",
            "inning_9": "9",
            "home_runs_9": " ",
            "away_runs_9": " ",
            "display_pitcher_info": "W: Luis Castillo (15-9, 3.34), L: Yu Darvish (8-11, 4.56)",
            "game_uuid": "b5e7567c-c927-4668-3a50-ca2d824f8bf8",
            "home_name": "CR-10-56-20-172",
            "away_name": "CR-10-56-21-189",
            "created_at": "03/15/2024 20:25:13",
            "display_date": "03/15/2024 20:25:13",
            "ruling": "6",
            "id": "10636"
          }
        ],
        [
          "game_log","^c51^Inning 1:^c50^^n^Mariners batting. Darvish pitching. Crawford was called out on strikes looking on a fastball low and away. Rodriguez was called out on strikes looking on a high fastball. ^n^Runs: 0 Hits: 0 Walks: 0 Errors: 0 Pitches: 11 Runners Left On: 0^n^^n^Padres batting. Castillo pitching. Campusano was called out on strikes looking on a high fastball. ^c48^Campusano hit a sacrifice fly into a double play (SF7-5 DP). Machado out. Cronenworth scores.^c50^* ^c48^Campusano hit a sacrifice fly to Raley (SF7). Cronenworth scores. Machado advances to 3rd.^c50^* ^c48^Campusano hit a sacrifice fly into a double play (SF7-6-5 DP). Machado out. Cronenworth scores.^c50^* ^c48^Campusano hit a sacrifice fly into a double play (SF7-6-5 DP). Machado out. Cronenworth scores.^c50^* Profar flied out to Raley (F7). ^n^Runs: 4 Hits: 0 Walks: 0 Errors: 0 Pitches: 34 ^n^^n^Game Log Legend^n^^c46^Critical Play^n^^c48^Run Scored^n^^c47^Critical Situation^n^^c49^Simulated Play^n^^c50^* Go-Ahead Play^n^^n^Shippett Stadium (1200 ft elevation)^n^Hitting Difficulty is All-Star.^n^Pitching Difficulty is All-Star.^n^2024 Online Game^n^Maximum attendance: 9,346 (73% capacity)^n^Weather: 66 degrees, Clear^n^No Wind^n^Scheduled First Pitch: 1:00pm^n^Game Scores: 46 (Darvish), 47 (Castillo)^n^^n^UMPIRES^n^HP: Gary Simmons. 1B: Patrick Johnson. 2B: Larry Bullard. 3B: James Kingsley. ^n^"
        ],
        [
          "box_score",
            [
              {
                "28": {
                  "batting_totals": {
                    "ab": "2",
                    "r": "4",
                    "h": "0",
                    "rbi": "4",
                    "bb": "0",
                    "so": "1"
                  },
                  "batting_stats": [
                    {
                      "player_name": "Kim, SS",
                      "ab": "0",
                      "r": "0",
                      "h": "0",
                      "rbi": "0",
                      "bb": "0",
                      "so": "0",
                      "avg": "0",
                      "doubles": "0",
                      "triples": "0",
                      "hr": "0",
                      "sh": "0",
                      "sf": "0",
                      "gidp": "0",
                      "e": "0",
                      "pb": "0",
                      "hbp": "0",
                      "sb": "0",
                      "cs": "0",
                      "innings": "1",
                      "sub_inn": "0",
                      "p_inx": "2617",
                      "replaced": "1209",
                      "pos": "5",
                      "sub_inx": "0",
                      "sub_type": "0"
                    },
                    {
                      "player_name": "Tatis Jr., RF",
                      "ab": "0",
                      "r": "0",
                      "h": "0",
                      "rbi": "0",
                      "bb": "0",
                      "so": "0",
                      "avg": "0",
                      "doubles": "0",
                      "triples": "0",
                      "hr": "0",
                      "sh": "0",
                      "sf": "0",
                      "gidp": "0",
                      "e": "0",
                      "pb": "0",
                      "hbp": "0",
                      "sb": "0",
                      "cs": "0",
                      "innings": "1",
                      "sub_inn": "0",
                      "p_inx": "2618",
                      "replaced": "1209",
                      "pos": "8",
                      "sub_inx": "0",
                      "sub_type": "0"
                    },
                    {
                      "player_name": "Cronenworth, 1B",
                      "ab": "0",
                      "r": "4",
                      "h": "0",
                      "rbi": "0",
                      "bb": "0",
                      "so": "0",
                      "avg": "0",
                      "doubles": "0",
                      "triples": "0",
                      "hr": "0",
                      "sh": "0",
                      "sf": "0",
                      "gidp": "0",
                      "e": "0",
                      "pb": "0",
                      "hbp": "0",
                      "sb": "0",
                      "cs": "0",
                      "innings": "1",
                      "sub_inn": "0",
                      "p_inx": "2619",
                      "replaced": "1209",
                      "pos": "2",
                      "sub_inx": "0",
                      "sub_type": "0"
                    },
                    {
                      "player_name": "Machado, 3B",
                      "ab": "0",
                      "r": "0",
                      "h": "0",
                      "rbi": "0",
                      "bb": "0",
                      "so": "0",
                      "avg": "0",
                      "doubles": "0",
                      "triples": "0",
                      "hr": "0",
                      "sh": "0",
                      "sf": "0",
                      "gidp": "0",
                      "e": "0",
                      "pb": "0",
                      "hbp": "0",
                      "sb": "0",
                      "cs": "0",
                      "innings": "1",
                      "sub_inn": "0",
                      "p_inx": "2620",
                      "replaced": "1209",
                      "pos": "4",
                      "sub_inx": "0",
                      "sub_type": "0"
                    },
                    {
                      "player_name": "Bogaerts, 2B",
                      "ab": "0",
                      "r": "0",
                      "h": "0",
                      "rbi": "0",
                      "bb": "0",
                      "so": "0",
                      "avg": "0",
                      "doubles": "0",
                      "triples": "0",
                      "hr": "0",
                      "sh": "0",
                      "sf": "0",
                      "gidp": "0",
                      "e": "0",
                      "pb": "0",
                      "hbp": "0",
                      "sb": "0",
                      "cs": "0",
                      "innings": "1",
                      "sub_inn": "0",
                      "p_inx": "2621",
                      "replaced": "1209",
                      "pos": "3",
                      "sub_inx": "0",
                      "sub_type": "0"
                    },
                    {
                      "player_name": "Campusano, C",
                      "ab": "1",
                      "r": "0",
                      "h": "0",
                      "rbi": "4",
                      "bb": "0",
                      "so": "1",
                      "avg": "0",
                      "doubles": "0",
                      "triples": "0",
                      "hr": "0",
                      "sh": "0",
                      "sf": "4",
                      "gidp": "0",
                      "e": "0",
                      "pb": "0",
                      "hbp": "0",
                      "sb": "0",
                      "cs": "0",
                      "innings": "1",
                      "sub_inn": "0",
                      "p_inx": "2622",
                      "replaced": "1209",
                      "pos": "1",
                      "sub_inx": "0",
                      "sub_type": "0"
                    },
                    {
                      "player_name": "Profar, LF",
                      "ab": "1",
                      "r": "0",
                      "h": "0",
                      "rbi": "0",
                      "bb": "0",
                      "so": "0",
                      "avg": "0",
                      "doubles": "0",
                      "triples": "0",
                      "hr": "0",
                      "sh": "0",
                      "sf": "0",
                      "gidp": "0",
                      "e": "0",
                      "pb": "0",
                      "hbp": "0",
                      "sb": "0",
                      "cs": "0",
                      "innings": "1",
                      "sub_inn": "0",
                      "p_inx": "2623",
                      "replaced": "1209",
                      "pos": "6",
                      "sub_inx": "0",
                      "sub_type": "0"
                    },
                    {
                      "player_name": "Batten, DH",
                      "ab": "0",
                      "r": "0",
                      "h": "0",
                      "rbi": "0",
                      "bb": "0",
                      "so": "0",
                      "avg": "0",
                      "doubles": "0",
                      "triples": "0",
                      "hr": "0",
                      "sh": "0",
                      "sf": "0",
                      "gidp": "0",
                      "e": "0",
                      "pb": "0",
                      "hbp": "0",
                      "sb": "0",
                      "cs": "0",
                      "innings": "0",
                      "sub_inn": "0",
                      "p_inx": "2624",
                      "replaced": "1209",
                      "pos": "9",
                      "sub_inx": "0",
                      "sub_type": "0"
                    },
                    {
                      "player_name": "Azocar, CF",
                      "ab": "0",
                      "r": "0",
                      "h": "0",
                      "rbi": "0",
                      "bb": "0",
                      "so": "0",
                      "avg": "0",
                      "doubles": "0",
                      "triples": "0",
                      "hr": "0",
                      "sh": "0",
                      "sf": "0",
                      "gidp": "0",
                      "e": "0",
                      "pb": "0",
                      "hbp": "0",
                      "sb": "0",
                      "cs": "0",
                      "innings": "1",
                      "sub_inn": "0",
                      "p_inx": "2625",
                      "replaced": "1209",
                      "pos": "7",
                      "sub_inx": "0",
                      "sub_type": "0"
                    }
                  ],
                  "pitching_totals": {
                    "ip": "0.2",
                    "h": "0",
                    "r": "0",
                    "er": "0",
                    "bb": "0",
                    "so": "2"
                  },
                  "pitching_stats": [
                    {
                      "player_name": "Darvish (L)",
                      "ip": "0.2",
                      "r": "0",
                      "h": "0",
                      "er": "0",
                      "bb": "0",
                      "so": "2",
                      "era": "0",
                      "p_idx": "2604",
                      "wp": "0",
                      "win": "0",
                      "loss": "1",
                      "save": "0",
                      "b_save": "0",
                      "hold": "0",
                      "s_wins": "8",
                      "s_losses": "10",
                      "s_saves": "0",
                      "s_b_saves": "0",
                      "s_holds": "0"
                    }
                  ]
                },
                "team_id": "28",
                "team_name": "Padres",
                "r": "4",
                "h": "0",
                "e": "0",
                "last_inning": "1"
              },
              {
                "13": {
                  "batting_totals": {
                    "ab": "2",
                    "r": "0",
                    "h": "0",
                    "rbi": "0",
                    "bb": "0",
                    "so": "2"
                  },
                  "batting_stats": [
                    {
                      "player_name": "Crawford, SS",
                      "ab": "1",
                      "r": "0",
                      "h": "0",
                      "rbi": "0",
                      "bb": "0",
                      "so": "1",
                      "avg": "0",
                      "doubles": "0",
                      "triples": "0",
                      "hr": "0",
                      "sh": "0",
                      "sf": "0",
                      "gidp": "0",
                      "e": "0",
                      "pb": "0",
                      "hbp": "0",
                      "sb": "0",
                      "cs": "0",
                      "innings": "1",
                      "sub_inn": "0",
                      "p_inx": "1222",
                      "replaced": "1209",
                      "pos": "5",
                      "sub_inx": "0",
                      "sub_type": "0"
                    },
                    {
                      "player_name": "Rodriguez, CF",
                      "ab": "1",
                      "r": "0",
                      "h": "0",
                      "rbi": "0",
                      "bb": "0",
                      "so": "1",
                      "avg": "0",
                      "doubles": "0",
                      "triples": "0",
                      "hr": "0",
                      "sh": "0",
                      "sf": "0",
                      "gidp": "0",
                      "e": "0",
                      "pb": "0",
                      "hbp": "0",
                      "sb": "0",
                      "cs": "0",
                      "innings": "1",
                      "sub_inn": "0",
                      "p_inx": "1223",
                      "replaced": "1209",
                      "pos": "7",
                      "sub_inx": "0",
                      "sub_type": "0"
                    },
                    {
                      "player_name": "Polanco, 2B",
                      "ab": "0",
                      "r": "0",
                      "h": "0",
                      "rbi": "0",
                      "bb": "0",
                      "so": "0",
                      "avg": "0",
                      "doubles": "0",
                      "triples": "0",
                      "hr": "0",
                      "sh": "0",
                      "sf": "0",
                      "gidp": "0",
                      "e": "0",
                      "pb": "0",
                      "hbp": "0",
                      "sb": "0",
                      "cs": "0",
                      "innings": "1",
                      "sub_inn": "0",
                      "p_inx": "1224",
                      "replaced": "1209",
                      "pos": "3",
                      "sub_inx": "0",
                      "sub_type": "0"
                    },
                    {
                      "player_name": "Garver, DH",
                      "ab": "0",
                      "r": "0",
                      "h": "0",
                      "rbi": "0",
                      "bb": "0",
                      "so": "0",
                      "avg": "0",
                      "doubles": "0",
                      "triples": "0",
                      "hr": "0",
                      "sh": "0",
                      "sf": "0",
                      "gidp": "0",
                      "e": "0",
                      "pb": "0",
                      "hbp": "0",
                      "sb": "0",
                      "cs": "0",
                      "innings": "0",
                      "sub_inn": "0",
                      "p_inx": "1225",
                      "replaced": "1209",
                      "pos": "9",
                      "sub_inx": "0",
                      "sub_type": "0"
                    },
                    {
                      "player_name": "Raleigh, C",
                      "ab": "0",
                      "r": "0",
                      "h": "0",
                      "rbi": "0",
                      "bb": "0",
                      "so": "0",
                      "avg": "0",
                      "doubles": "0",
                      "triples": "0",
                      "hr": "0",
                      "sh": "0",
                      "sf": "0",
                      "gidp": "0",
                      "e": "0",
                      "pb": "0",
                      "hbp": "0",
                      "sb": "0",
                      "cs": "0",
                      "innings": "1",
                      "sub_inn": "0",
                      "p_inx": "1226",
                      "replaced": "1209",
                      "pos": "1",
                      "sub_inx": "0",
                      "sub_type": "0"
                    },
                    {
                      "player_name": "France, 1B",
                      "ab": "0",
                      "r": "0",
                      "h": "0",
                      "rbi": "0",
                      "bb": "0",
                      "so": "0",
                      "avg": "0",
                      "doubles": "0",
                      "triples": "0",
                      "hr": "0",
                      "sh": "0",
                      "sf": "0",
                      "gidp": "0",
                      "e": "0",
                      "pb": "0",
                      "hbp": "0",
                      "sb": "0",
                      "cs": "0",
                      "innings": "1",
                      "sub_inn": "0",
                      "p_inx": "1227",
                      "replaced": "1209",
                      "pos": "2",
                      "sub_inx": "0",
                      "sub_type": "0"
                    },
                    {
                      "player_name": "Raley, LF",
                      "ab": "0",
                      "r": "0",
                      "h": "0",
                      "rbi": "0",
                      "bb": "0",
                      "so": "0",
                      "avg": "0",
                      "doubles": "0",
                      "triples": "0",
                      "hr": "0",
                      "sh": "0",
                      "sf": "0",
                      "gidp": "0",
                      "e": "0",
                      "pb": "0",
                      "hbp": "0",
                      "sb": "0",
                      "cs": "0",
                      "innings": "1",
                      "sub_inn": "0",
                      "p_inx": "1228",
                      "replaced": "1209",
                      "pos": "6",
                      "sub_inx": "0",
                      "sub_type": "0"
                    },
                    {
                      "player_name": "Haniger, RF",
                      "ab": "0",
                      "r": "0",
                      "h": "0",
                      "rbi": "0",
                      "bb": "0",
                      "so": "0",
                      "avg": "0",
                      "doubles": "0",
                      "triples": "0",
                      "hr": "0",
                      "sh": "0",
                      "sf": "0",
                      "gidp": "0",
                      "e": "0",
                      "pb": "0",
                      "hbp": "0",
                      "sb": "0",
                      "cs": "0",
                      "innings": "1",
                      "sub_inn": "0",
                      "p_inx": "1229",
                      "replaced": "1209",
                      "pos": "8",
                      "sub_inx": "0",
                      "sub_type": "0"
                    },
                    {
                      "player_name": "Rojas, 3B",
                      "ab": "0",
                      "r": "0",
                      "h": "0",
                      "rbi": "0",
                      "bb": "0",
                      "so": "0",
                      "avg": "0",
                      "doubles": "0",
                      "triples": "0",
                      "hr": "0",
                      "sh": "0",
                      "sf": "0",
                      "gidp": "0",
                      "e": "0",
                      "pb": "0",
                      "hbp": "0",
                      "sb": "0",
                      "cs": "0",
                      "innings": "1",
                      "sub_inn": "0",
                      "p_inx": "1230",
                      "replaced": "1209",
                      "pos": "4",
                      "sub_inx": "0",
                      "sub_type": "0"
                    }
                  ],
                  "pitching_totals": {
                    "ip": "3.0",
                    "h": "0",
                    "r": "4",
                    "er": "4",
                    "bb": "0",
                    "so": "1"
                  },
                  "pitching_stats": [
                    {
                      "player_name": "Castillo (W)",
                      "ip": "3.0",
                      "r": "4",
                      "h": "0",
                      "er": "4",
                      "bb": "0",
                      "so": "1",
                      "era": "12",
                      "p_idx": "1209",
                      "wp": "0",
                      "win": "1",
                      "loss": "0",
                      "save": "0",
                      "b_save": "0",
                      "hold": "0",
                      "s_wins": "14",
                      "s_losses": "9",
                      "s_saves": "0",
                      "s_b_saves": "0",
                      "s_holds": "0"
                    }
                  ]
                },
                "team_id": "13",
                "team_name": "Mariners",
                "r": "0",
                "h": "0",
                "e": "0",
                "last_inning": "1"
              }
            ]
          ]
        ]
      }