Skip to content

getPlayers

Get a list of Players for a specific Team or Event

GEThttps://api.sportsgameodds.com/v2/players/

Parameters

ParameterTypeRequiredDescriptionExample
teamIDstringNo
TeamID to get Players data for
KANSAS_CITY_CHIEFS_NFL
eventIDstringNo
EventID to get Players data for
mXCZTRJnbX8ib64z1h3D
playerIDstringNo
PlayerID to get data for
PATRICK_MAHOMES_SAN_FRANCISCO_49ERS_NFL
limitnumberNo
The maximum number of Players to return
25
cursorstringNo
The cursor for the request. Used to get the next group of Players. This should be the nextCursor from the prior response.
n.1720564800000.DCtqsAt8d0GIFAvMmfzD

Response 200 OK

{
  "success": true,
  "data": [
    {
      "sportID": "BASEBALL",
      "leagueID": "MLB",
      "jerseyNumber": 31,
      "position": "RF",
      "playerID": "HENRY_RAMOS_1_MLB",
      "names": {
        "display": "Henry Ramos",
        "firstName": "Henry",
        "lastName": "Ramos"
      },
      "aliases": [
        "HENRY_RAMOS_CINCINNATI_REDS_MLB"
      ],
      "teamID": "",
      "birthday": "1992-04-15"
    }
  ]
}

Error Responses

400Invalid params
401Invalid API key
403Inactive API key
404No Players found
429Rate limit exceeded
500Query failed