Teams

Get a list of Teams by ID or league

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

sportIDstring

A single sportID or comma-separated list of sportIDs to get Teams for

leagueIDstring

A single leagueID or comma-separated list of leagueIDs to get Teams for

teamIDstring

A single teamID or comma-separated list of teamIDs to get data for. If a teamID has since changed, the Team which lists it in its aliases is returned

limitnumber

The maximum number of Teams to return

cursorstring

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

Response

An array of teams with pagination

nextCursorstring
successboolean

Example response

{
  "success": true
}

Changes

    • info

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

    • info

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

    • info

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

    3 more changes in this revision