Stats

Get available SU/STATS mapping entries

Returns a list of stats perform mappings that can be filtered by property ID, sport, league ID, league abbreviation and/or team name

get/api/stats/mappings

Request

Request body

property_idinteger nullable

Filter mappings by property id (suTeamId) mapped with StatsPerform

sportstring nullable

Filter mappings by sport type

league_idstring nullable

Filter mappings by league id

league_abbreviationstring nullable

Filter mappings by league abbreviation

league_namestring nullable

Filter mappings by league name (partial match)

team_namestring nullable

Filter mappings by team name (partial match)

api'stats_api' | 'sdapi' nullable

Filter mappings by StatsPerform API type

Example request

{
  "sport": "basketball",
  "league_id": "2343h343h23",
  "league_abbreviation": "nba",
  "league_name": "nba",
  "team_name": "Lakers",
  "api": "stats_api"
}

Response

List of stats perform mappings

idinteger

Unique identifier for the mapping

statsSportstring

Name of the sport in Stats Perform system

statsSportIdinteger

Numeric ID of the sport in Stats Perform system

statsLeagueAbbreviationstring nullable

League abbreviation in Stats Perform system

statsLeagueNamestring nullable

League name in Stats Perform system

statsTeamIdstring nullable

Team identifier in Stats Perform system

statsTeamNamestring nullable

Team name in Stats Perform system

suTeamIdinteger nullable

SponsorUnited team/property ID

suTeamNamestring nullable

SponsorUnited team/property name

statsApistring

Stats Perform API source identifier

Example response

[
  {
    "id": 1,
    "statsSport": "basketball",
    "statsSportId": 2,
    "statsLeagueAbbreviation": "nba",
    "statsLeagueName": "National Basketball Association",
    "statsTeamId": "sr:competitor:3417",
    "statsTeamName": "Los Angeles Lakers",
    "suTeamId": 456,
    "suTeamName": "Los Angeles Lakers",
    "statsApi": "SDAPI"
  }
]

Changes

No recorded changes to this operation across all 2 revisions of this API.