Baseball.Lineups

Get linups by match id

Lineups should be queried up to a few hours before the game starts.

Retrieve home and away team lineups for a specific match.

Below is an example of what you can aim to achieve with the lineup endpoint:

Nba lineups example

get/baseball/lineups/{matchId}

Request

Path parameters

matchIdnumber required

Requested match id.

Headers

x-rapidapi-hoststring required

sport-highlights-api.p.rapidapi.com

x-rapidapi-keystring required

Rapid API Token

Response

Example response

{
  "home": {
    "team": {
      "id": 219,
      "logo": "https://example.com/logos/team/219.png",
      "name": "Bears",
      "displayName": "Baylor",
      "abbreviation": "BAY",
      "league": "NCAA"
    },
    "lineup": [
      {
        "id": 619412,
        "jersey": 22,
        "player": "Parker Meadows",
        "position": "Center field",
        "positionAbbreviation": "CF",
        "isStarter": true
      }
    ]
  },
  "away": {
    "team": {
      "id": 219,
      "logo": "https://example.com/logos/team/219.png",
      "name": "Bears",
      "displayName": "Baylor",
      "abbreviation": "BAY",
      "league": "NCAA"
    },
    "lineup": [
      {
        "id": 619412,
        "jersey": 22,
        "player": "Parker Meadows",
        "position": "Center field",
        "positionAbbreviation": "CF",
        "isStarter": true
      }
    ]
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.