Players

Get a list of Players for a specific Team or Event

Request

  • Base URL
    https://api.sportsgameodds.com/v2
  • Auth
    • API key in query parameter apiKey
    • or API key in header x-api-key

Query parameters

teamIDstring

TeamID to get Players data for

eventIDstring

EventID to get Players data for

playerIDstring

PlayerID to get data for. If a playerID has since changed, the Player which lists it in its aliases is returned

limitnumber

The maximum number of Players to return

cursorstring

The cursor for the request. Used to get the next group of Players. This is an opaque token — pass the nextCursor value from the prior response unchanged.

Response

An array of players with pagination

nextCursorstring
successboolean

Example response

{
  "success": true
}

Changes

    • breaking

      the data/items/jerseyNumber response's property type changed from number to string for status

    • info

      added the optional property data/items/names/nickname to the response with the status

    • info

      added the optional property data/items/names/suffix to the response with the status