Skip to content

getStats

Get a list of StatIDs

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

Parameters

ParameterTypeRequiredDescriptionExample
statIDstringNo
StatID to get data for
POINTS
sportIDstringNo
SportID to get StatIDs for
BASKETBALL
statLevelstringNo
Level of the stat, must be used in combination with sportID. Must be one of all, player, or team. Shows stats that are applicable to that specified entity, defaults to all.
team

Response 200 OK

{
  "success": true,
  "data": [
    {
      "type": "number",
      "statID": "batting_homeRuns",
      "supportedLevels": {
        "all": true,
        "team": true,
        "player": true
      },
      "displays": {
        "short": "HRs",
        "long": "Home Runs"
      },
      "description": "Home runs",
      "supportedSports": {
        "BASEBALL": "Home Runs"
      }
    }
  ]
}

Error Responses

400Invalid params
401Invalid API key
403Inactive API key
404No stats found
429Rate limit exceeded