Description

Returns fixtures results, this can include the scores and any team stats or live state (number of balls/strikes/outs).

Example Response

Baseball

URL: https://api.opticodds.com/api/v3/fixtures/results?fixture_id=24E371425A5F

{
  "data": [
    {
      "sport": {
        "id": "baseball",
        "name": "Baseball"
      },
      "league": {
        "id": "mlb",
        "name": "MLB"
      },
      "fixture": {
        "id": "24E371425A5F",
        "game_id": "40548-36707-2024-08-28-09",
        "start_date": "2024-08-28T16:35:00Z",
        "home_competitors": [
          {
            "id": "98CE61698342",
            "name": "Pittsburgh Pirates",
            "abbreviation": "PIT",
            "logo": "https://a.espncdn.com/i/teamlogos/mlb/500/pit.png"
          }
        ],
        "away_competitors": [
          {
            "id": "5045D954DFF8",
            "name": "Chicago Cubs",
            "abbreviation": "CHC",
            "logo": "https://a.espncdn.com/i/teamlogos/mlb/500/chc.png"
          }
        ],
        "home_team_display": "Pittsburgh Pirates",
        "away_team_display": "Chicago Cubs",
        "status": "live",
        "is_live": true
      },
      "scores": {
        "home": {
          "total": 10,
          "periods": {
            "period_1": 1,
            "period_2": 5,
            "period_3": 0,
            "period_4": 2,
            "period_5": 2,
            "period_6": 0,
            "period_7": 0,
            "period_8": 0,
            "period_9": 0
          },
          "aggregate": null
        },
        "away": {
          "total": 14,
          "periods": {
            "period_1": 1,
            "period_2": 2,
            "period_3": 0,
            "period_4": 0,
            "period_5": 0,
            "period_6": 0,
            "period_7": 2,
            "period_8": 3,
            "period_9": 6
          },
          "aggregate": null
        }
      },
      "in_play": {
        "period": "9",
        "clock": "Bottom",
        "last_play": null,
        "time_min": null,
        "time_sec": null,
        "balls": 2,
        "outs": 1,
        "strikes": 1,
        "runners": null,
        "batter": null,
        "pitcher": null,
        "possession": null,
        "down": null,
        "distance_to_go": null
      },
      "events": [],
      "stats": {
        "home": [
          {
            "period": "all",
            "stats": {
              "rbi": 9,
              "hits": 16,
              "runs": 10,
              "at_bats": 39,
              "total_bases": 26,
              "double_plays": 1,
              "triple_plays": 0,
              "batting_walks": 7,
              "batting_strikeouts": 12,
              "runners_left_on_base": 13,
              "scoring_position_successes": 5,
              "scoring_position_opportunities": 19
            }
          }
        ],
        "away": [
          {
            "period": "all",
            "stats": {
              "rbi": 14,
              "hits": 16,
              "runs": 14,
              "at_bats": 42,
              "total_bases": 21,
              "double_plays": 0,
              "triple_plays": 0,
              "batting_walks": 7,
              "batting_strikeouts": 8,
              "runners_left_on_base": 8,
              "scoring_position_successes": 8,
              "scoring_position_opportunities": 18
            }
          }
        ]
      },
      "retirement_info": null
    }
  ]
}
Language
Authorization
Click Try It! to start a request and see the response here!