Competition Statistics

A person can have statistics associated with their participation in a competition.

An team can have statistics associated with their participation in a competition.

Person statistics for a competition

get
/basketball/o/{organizationId}/statistics/for/person/in/competitions/{competitionId}

Return a list of person statistic totals for a competition

Required scopes
This endpoint requires the following scopes:
  • : Read any data from the organization down
Authorizations
OAuth2clientCredentialsRequired

You can create a JSON Web Token (JWT) using the token API call. Each token is given a set of scopes/permissions. Each endpoint has a scope/permission that it requires to run. If your token does not possess the correct scope then you will be unable to make the API call.

Token URL:
Path parameters
competitionIdstring · uuidRequired

The unique identifier of the competition

Example: 009e9276-5c80-11e8-9c2d-fa7ae01bbebc
organizationIdstring · min: 5 · max: 5Required

The unique identifier of the organization

Example: b1a23
Query parameters
entityIdstring · uuidOptional

The unique identifier of the entity

Example: 009e9276-5c80-11e8-9c2d-fa7ae01bbebc
externalstringOptional

A comma separated list of fields that will instead be interpreted as an externalId. See External Ids for more information.

Example: entityId,personId
fieldsstringOptional

A comma separated list of fields to display. The response will only display these fields. See Partial Response section for more information.

Example: dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]
fixtureTypestring · enum · max: 50Optional

Type of Fixture

  • ALL_STAR All Star
  • DEMONSTRATION Demonstration
  • FINAL Final
  • FRIENDLY Friendly
  • PLAYOFF Playoff
  • PRESEASON Pre Season
  • REGULAR Regular
Example: REGULARPossible values:
hideNullbooleanOptional

Don't display data fields with null values or empty structures

Example: true
homeAwaystring · enum · max: 50Optional

Where the result was

  • AWAY Away
  • HOME Home
Possible values:
includestringOptional

A comma separated list of resource types to include. See Resource Inclusion for more information.

Example: organizations,fixtures,entities
isPlayerbooleanOptional

Is the person a player?

isTeamOfficialbooleanOptional

Is the person a team official?

limitinteger · int32 · min: 1 · max: 1000Optional

The maximum number of records to return. See Pagination for more information.

Default: 10Example: 10
offsetinteger · int32Optional

The offset of the records. See Pagination for more information.

Example: 10
personIdstring · uuidOptional

The unique identifier of the person

Example: 009e9276-5c80-11e8-9c2d-fa7ae01bbebc
starterbooleanOptional

Is the person a starter in the match ?

winLossstring · enum · max: 50Optional

What the result was

  • DRAW Draw
  • LOSS Loss
  • WIN Win
Possible values:
Responses
200

Successful operation

application/json
get
/basketball/o/{organizationId}/statistics/for/person/in/competitions/{competitionId}
GET /v1/basketball/o/{organizationId}/statistics/for/person/in/competitions/{competitionId} HTTP/1.1
Host: api.dc.connect.sportradar.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
  "meta": {
    "version": 1,
    "codeVersion": "d6cd1e2bd19e03a81132a23b2025920577f84e37",
    "code": 200,
    "time": "2018-06-05 23:43:41.227584+00:00",
    "fromCache": false,
    "count": 7,
    "limit": 10,
    "offset": 10,
    "generationTime": 0.011604
  },
  "links": {
    "self": "https://example.com",
    "next": "https://example.com",
    "previous": "https://example.com"
  },
  "included": {
    "resources": {
      "ANY_ADDITIONAL_PROPERTY": "league"
    }
  },
  "data": [
    {
      "personId": "009e9276-5c80-11e8-9c2d-fa7ae01bbebc",
      "person": {
        "resourceType": "persons",
        "id": "009e9276-5c80-11e8-9c2d-fa7ae01bbebc"
      },
      "organizationId": "9",
      "organization": {
        "resourceType": "organizations",
        "id": "9"
      },
      "competitionId": "009e9276-5c80-11e8-9c2d-fa7ae01bbebc",
      "competition": {
        "resourceType": "competitions",
        "id": "009e9276-5c80-11e8-9c2d-fa7ae01bbebc"
      },
      "statistics": {
        "assists": 1,
        "assistsPerGame": 1,
        "assistsDefensive": 1,
        "assistsTurnoverRatio": 1,
        "blocks": 1,
        "blocksPerGame": 1,
        "blocksReceived": 1,
        "blocksReceivedPerGame": 1,
        "doubleDouble": 1,
        "draws": 1,
        "dunks": 1,
        "dunksPerGame": 1,
        "efficiencyCustom": 1,
        "efficiency": 1,
        "pir": 1,
        "fieldGoalsAttempted": 1,
        "fieldGoalsMade": 1,
        "fieldGoalsEffectivePercentage": 1,
        "fieldGoalsPercentage": 1,
        "freeThrowsAttempted": 1,
        "freeThrowsAttemptedPerGame": 1,
        "freeThrowsMade": 1,
        "freeThrowsMadePerGame": 1,
        "freeThrowsPercentage": 1,
        "foulsCoachDisqualifying": 1,
        "foulsCoachTechnical": 1,
        "foulsDisqualifying": 1,
        "foulsOffensive": 1,
        "foulsDrawn": 1,
        "foulsDrawnPerGame": 1,
        "foulsPersonal": 1,
        "foulsPersonalPerGame": 1,
        "foulsTechnical": 1,
        "foulsTotal": 1,
        "foulsUnsportsmanlike": 1,
        "games": 1,
        "gamesPercentage": 1,
        "gamesStarted": 1,
        "indexOfSuccess": 1,
        "losses": 1,
        "maxAssists": 1,
        "maxFreeThrowsMade": 1,
        "maxPoints": 1,
        "maxPointsThreeMade": 1,
        "maxPointsTwoMade": 1,
        "maxRebounds": 1,
        "maxReboundsDefensive": 1,
        "maxReboundsOffensive": 1,
        "maxSteals": 1,
        "minus": 1,
        "minutes": "text",
        "minutesPerGame": "text",
        "plus": 1,
        "plusMinus": 1,
        "points": 1,
        "pointsFastBreak": 1,
        "pointsFastBreakAttempted": 1,
        "pointsFastBreakMade": 1,
        "pointsFromTurnover": 1,
        "pointsInThePaint": 1,
        "pointsInThePaintMade": 1,
        "pointsInThePaintAttempted": 1,
        "pointsPerGame": 1,
        "pointsSecondChance": 1,
        "pointsSecondChanceAttempted": 1,
        "pointsSecondChanceMade": 1,
        "pointsTwoAttempted": 1,
        "pointsTwoAttemptedPerGame": 1,
        "pointsTwoMade": 1,
        "pointsTwoMadePerGame": 1,
        "pointsTwoPercentage": 1,
        "pointsThreeAttempted": 1,
        "pointsThreeAttemptedPerGame": 1,
        "pointsThreeMade": 1,
        "pointsThreeMadePerGame": 1,
        "pointsThreePercentage": 1,
        "powerPlayPoints": 1,
        "powerPlayPointsAwarded": 1,
        "rebounds": 1,
        "reboundsPerGame": 1,
        "reboundsDefensive": 1,
        "reboundsDefensivePerGame": 1,
        "reboundsOffensive": 1,
        "reboundsOffensivePerGame": 1,
        "steals": 1,
        "stealsPerGame": 1,
        "tripleDouble": 1,
        "trueShootingAttempts": 1,
        "trueShootingPercentage": 1,
        "turnovers": 1,
        "turnoversPercentage": 1,
        "turnoversPerGame": 1,
        "wins": 1
      }
    }
  ]
}

Team statistics for a competition

get
/basketball/o/{organizationId}/statistics/for/entity/in/competitions/{competitionId}

Return a list of team statistic totals for a competition

Required scopes
This endpoint requires the following scopes:
  • : Read any data from the organization down
Authorizations
OAuth2clientCredentialsRequired

You can create a JSON Web Token (JWT) using the token API call. Each token is given a set of scopes/permissions. Each endpoint has a scope/permission that it requires to run. If your token does not possess the correct scope then you will be unable to make the API call.

Token URL:
Path parameters
competitionIdstring · uuidRequired

The unique identifier of the competition

Example: 009e9276-5c80-11e8-9c2d-fa7ae01bbebc
organizationIdstring · min: 5 · max: 5Required

The unique identifier of the organization

Example: b1a23
Query parameters
entityIdstring · uuidOptional

The unique identifier of the entity

Example: 009e9276-5c80-11e8-9c2d-fa7ae01bbebc
externalstringOptional

A comma separated list of fields that will instead be interpreted as an externalId. See External Ids for more information.

Example: entityId,personId
fieldsstringOptional

A comma separated list of fields to display. The response will only display these fields. See Partial Response section for more information.

Example: dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]
fixtureTypestring · enum · max: 50Optional

Type of Fixture

  • ALL_STAR All Star
  • DEMONSTRATION Demonstration
  • FINAL Final
  • FRIENDLY Friendly
  • PLAYOFF Playoff
  • PRESEASON Pre Season
  • REGULAR Regular
Example: REGULARPossible values:
hideNullbooleanOptional

Don't display data fields with null values or empty structures

Example: true
homeAwaystring · enum · max: 50Optional

Where the result was

  • AWAY Away
  • HOME Home
Possible values:
includestringOptional

A comma separated list of resource types to include. See Resource Inclusion for more information.

Example: organizations,fixtures,entities
limitinteger · int32 · min: 1 · max: 1000Optional

The maximum number of records to return. See Pagination for more information.

Default: 10Example: 10
offsetinteger · int32Optional

The offset of the records. See Pagination for more information.

Example: 10
winLossstring · enum · max: 50Optional

What the result was

  • DRAW Draw
  • LOSS Loss
  • WIN Win
Possible values:
Responses
200

Successful operation

application/json
get
/basketball/o/{organizationId}/statistics/for/entity/in/competitions/{competitionId}
GET /v1/basketball/o/{organizationId}/statistics/for/entity/in/competitions/{competitionId} HTTP/1.1
Host: api.dc.connect.sportradar.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
  "meta": {
    "version": 1,
    "codeVersion": "d6cd1e2bd19e03a81132a23b2025920577f84e37",
    "code": 200,
    "time": "2018-06-05 23:43:41.227584+00:00",
    "fromCache": false,
    "count": 7,
    "limit": 10,
    "offset": 10,
    "generationTime": 0.011604
  },
  "links": {
    "self": "https://example.com",
    "next": "https://example.com",
    "previous": "https://example.com"
  },
  "included": {
    "resources": {
      "ANY_ADDITIONAL_PROPERTY": "league"
    }
  },
  "data": [
    {
      "entityId": "009e9276-5c80-11e8-9c2d-fa7ae01bbebc",
      "entity": {
        "resourceType": "entities",
        "id": "009e9276-5c80-11e8-9c2d-fa7ae01bbebc"
      },
      "organizationId": "9",
      "organization": {
        "resourceType": "organizations",
        "id": "9"
      },
      "competitionId": "009e9276-5c80-11e8-9c2d-fa7ae01bbebc",
      "competition": {
        "resourceType": "competitions",
        "id": "009e9276-5c80-11e8-9c2d-fa7ae01bbebc"
      },
      "statistics": {
        "assists": 1,
        "assistsAgainst": 1,
        "assistsAgainstPerGame": 1,
        "assistsPerGame": 1,
        "assistsDefensive": 1,
        "assistsTurnoverRatio": 1,
        "biggestLead": 1,
        "biggestScoringRun": 1,
        "blocks": 1,
        "blocksPerGame": 1,
        "blocksReceived": 1,
        "blocksReceivedPerGame": 1,
        "draws": 1,
        "dunks": 1,
        "dunksPerGame": 1,
        "efficiencyCustom": 1,
        "efficiency": 1,
        "pir": 1,
        "fieldGoalsAttempted": 1,
        "fieldGoalsAttemptedAgainst": 1,
        "fieldGoalsAttemptedAgainstPerGame": 1,
        "fieldGoalsMade": 1,
        "fieldGoalsMadeAgainst": 1,
        "fieldGoalsMadeAgainstPerGame": 1,
        "fieldGoalsEffectivePercentage": 1,
        "fieldGoalsPercentage": 1,
        "fieldGoalsAgainstPercentage": 1,
        "freeThrowsAttempted": 1,
        "freeThrowsAttemptedAgainst": 1,
        "freeThrowsAttemptedAgainstPerGame": 1,
        "freeThrowsAttemptedPerGame": 1,
        "freeThrowsMade": 1,
        "freeThrowsMadeAgainst": 1,
        "freeThrowsMadeAgainstPerGame": 1,
        "freeThrowsMadePerGame": 1,
        "freeThrowsPercentage": 1,
        "freeThrowsAgainstPercentage": 1,
        "foulsBenchTechnical": 1,
        "foulsCoachDisqualifying": 1,
        "foulsCoachTechnical": 1,
        "foulsDisqualifying": 1,
        "foulsOffensive": 1,
        "foulsDrawn": 1,
        "foulsDrawnPerGame": 1,
        "foulsPersonal": 1,
        "foulsPersonalAgainst": 1,
        "foulsPersonalAgainstPerGame": 1,
        "foulsPersonalPerGame": 1,
        "foulsTechnical": 1,
        "foulsTechnicalAgainst": 1,
        "foulsTechnicalAgainstPerGame": 1,
        "foulsTotal": 1,
        "foulsUnsportsmanlike": 1,
        "games": 1,
        "indexOfSuccess": 1,
        "losses": 1,
        "minutes": "text",
        "offensiveRating": 1,
        "points": 1,
        "pointsAgainst": 1,
        "pointsAgainstPerGame": 1,
        "pointsFastBreak": 1,
        "pointsFastBreakPerGame": 1,
        "pointsFastBreakAgainst": 1,
        "pointsFastBreakAgainstPerGame": 1,
        "pointsFastBreakAttempted": 1,
        "pointsFastBreakMade": 1,
        "pointsFromTurnover": 1,
        "pointsFromTurnoverAgainst": 1,
        "pointsFromTurnoverAgainstPerGame": 1,
        "pointsInThePaint": 1,
        "pointsInThePaintPerGame": 1,
        "pointsInThePaintAgainst": 1,
        "pointsInThePaintAgainstPerGame": 1,
        "pointsInThePaintMade": 1,
        "pointsInThePaintAttempted": 1,
        "pointsFromBench": 1,
        "pointsFromBenchPerGame": 1,
        "pointsFromBenchAgainst": 1,
        "pointsFromBenchAgainstPerGame": 1,
        "pointsPerGame": 1,
        "pointsSecondChance": 1,
        "pointsSecondChancePerGame": 1,
        "pointsSecondChanceAgainst": 1,
        "pointsSecondChanceAgainstPerGame": 1,
        "pointsSecondChanceAttempted": 1,
        "pointsSecondChanceMade": 1,
        "pointsTwoAttempted": 1,
        "pointsTwoAttemptedAgainst": 1,
        "pointsTwoAttemptedAgainstPerGame": 1,
        "pointsTwoAttemptedPerGame": 1,
        "pointsTwoMade": 1,
        "pointsTwoMadeAgainst": 1,
        "pointsTwoMadeAgainstPerGame": 1,
        "pointsTwoMadePerGame": 1,
        "pointsTwoPercentage": 1,
        "pointsTwoPercentageAgainst": 1,
        "pointsThreeAttempted": 1,
        "pointsThreeAttemptedAgainst": 1,
        "pointsThreeAttemptedAgainstPerGame": 1,
        "pointsThreeAttemptedPerGame": 1,
        "pointsThreeMade": 1,
        "pointsThreeMadeAgainst": 1,
        "pointsThreeMadeAgainstPerGame": 1,
        "pointsThreeMadePerGame": 1,
        "pointsThreePercentage": 1,
        "pointsThreePercentageAgainst": 1,
        "powerPlayPoints": 1,
        "powerPlayPointsAwarded": 1,
        "rebounds": 1,
        "reboundsAgainst": 1,
        "reboundsAgainstPerGame": 1,
        "reboundsTeamTotal": 1,
        "reboundsTeamTotalAgainst": 1,
        "reboundsTeamTotalAgainstPerGame": 1,
        "reboundsPerGame": 1,
        "reboundsTeamDefensive": 1,
        "reboundsTeamDefensiveAgainst": 1,
        "reboundsTeamDefensiveAgainstPerGame": 1,
        "reboundsDefensive": 1,
        "reboundsDefensiveAgainst": 1,
        "reboundsDefensiveAgainstPerGame": 1,
        "reboundsDefensivePerGame": 1,
        "reboundsTeamOffensive": 1,
        "reboundsTeamOffensiveAgainst": 1,
        "reboundsTeamOffensiveAgainstPerGame": 1,
        "reboundsOffensive": 1,
        "reboundsOffensiveAgainst": 1,
        "reboundsOffensiveAgainstPerGame": 1,
        "reboundsOffensivePerGame": 1,
        "steals": 1,
        "stealsAgainst": 1,
        "stealsAgainstPerGame": 1,
        "stealsPerGame": 1,
        "trueShootingAttempts": 1,
        "trueShootingPercentage": 1,
        "turnovers": 1,
        "turnoversAgainst": 1,
        "turnoversAgainstPerGame": 1,
        "turnoversTeam": 1,
        "turnoversTeamAgainst": 1,
        "turnoversTeamAgainstPerGame": 1,
        "turnoversPercentage": 1,
        "turnoversPerGame": 1,
        "wins": 1
      }
    }
  ]
}

Team statistics for a competition by period

get
/basketball/o/{organizationId}/statistics/for/entity/in/competitions/{competitionId}/periods

Return a list of team statistics for a competition filterable by period. This still displays aggregated/summed data, and should return the same values as the non by-period call, this one can be further filtered by period.

Required scopes
This endpoint requires the following scopes:
  • : Read any data from the organization down
Authorizations
OAuth2clientCredentialsRequired

You can create a JSON Web Token (JWT) using the token API call. Each token is given a set of scopes/permissions. Each endpoint has a scope/permission that it requires to run. If your token does not possess the correct scope then you will be unable to make the API call.

Token URL:
Path parameters
competitionIdstring · uuidRequired

The unique identifier of the competition

Example: 009e9276-5c80-11e8-9c2d-fa7ae01bbebc
organizationIdstring · min: 5 · max: 5Required

The unique identifier of the organization

Example: b1a23
Query parameters
externalstringOptional

A comma separated list of fields that will instead be interpreted as an externalId. See External Ids for more information.

Example: entityId,personId
fieldsstringOptional

A comma separated list of fields to display. The response will only display these fields. See Partial Response section for more information.

Example: dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]
fixtureTypestring · enum · max: 50Optional

Type of Fixture

  • ALL_STAR All Star
  • DEMONSTRATION Demonstration
  • FINAL Final
  • FRIENDLY Friendly
  • PLAYOFF Playoff
  • PRESEASON Pre Season
  • REGULAR Regular
Example: REGULARPossible values:
hideNullbooleanOptional

Don't display data fields with null values or empty structures

Example: true
homeAwaystring · enum · max: 50Optional

Where the result was

  • AWAY Away
  • HOME Home
Possible values:
includestringOptional

A comma separated list of resource types to include. See Resource Inclusion for more information.

Example: organizations,fixtures,entities
limitinteger · int32 · min: 1 · max: 1000Optional

The maximum number of records to return. See Pagination for more information.

Default: 10Example: 10
offsetinteger · int32Optional

The offset of the records. See Pagination for more information.

Example: 10
periodIdinteger · enumOptional

The identifier for the period

  • 1 Period 1
  • 2 Period 2
  • 3 Period 3
  • 4 Period 4
  • 11 Overtime 1
  • 12 Overtime 2
  • 13 Overtime 3
  • 14 Overtime 4
  • 15 Overtime 5
  • 16 Overtime 6
Possible values:
sectionstring · max: 100Optional

The section of the period (sub-period)

winLossstring · enum · max: 50Optional

What the result was

  • DRAW Draw
  • LOSS Loss
  • WIN Win
Possible values:
Responses
200

Successful operation

application/json
get
/basketball/o/{organizationId}/statistics/for/entity/in/competitions/{competitionId}/periods
GET /v1/basketball/o/{organizationId}/statistics/for/entity/in/competitions/{competitionId}/periods HTTP/1.1
Host: api.dc.connect.sportradar.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
  "meta": {
    "version": 1,
    "codeVersion": "d6cd1e2bd19e03a81132a23b2025920577f84e37",
    "code": 200,
    "time": "2018-06-05 23:43:41.227584+00:00",
    "fromCache": false,
    "count": 7,
    "limit": 10,
    "offset": 10,
    "generationTime": 0.011604
  },
  "links": {
    "self": "https://example.com",
    "next": "https://example.com",
    "previous": "https://example.com"
  },
  "included": {
    "resources": {
      "ANY_ADDITIONAL_PROPERTY": "league"
    }
  },
  "data": [
    {
      "entityId": "009e9276-5c80-11e8-9c2d-fa7ae01bbebc",
      "entity": {
        "resourceType": "entities",
        "id": "009e9276-5c80-11e8-9c2d-fa7ae01bbebc"
      },
      "organizationId": "9",
      "organization": {
        "resourceType": "organizations",
        "id": "9"
      },
      "competitionId": "009e9276-5c80-11e8-9c2d-fa7ae01bbebc",
      "competition": {
        "resourceType": "competitions",
        "id": "009e9276-5c80-11e8-9c2d-fa7ae01bbebc"
      },
      "statistics": {
        "assists": 1,
        "assistsAgainst": 1,
        "assistsAgainstPerGame": 1,
        "assistsPerGame": 1,
        "assistsDefensive": 1,
        "assistsTurnoverRatio": 1,
        "biggestLead": 1,
        "biggestScoringRun": 1,
        "blocks": 1,
        "blocksPerGame": 1,
        "blocksReceived": 1,
        "blocksReceivedPerGame": 1,
        "draws": 1,
        "dunks": 1,
        "dunksPerGame": 1,
        "efficiencyCustom": 1,
        "efficiency": 1,
        "pir": 1,
        "fieldGoalsAttempted": 1,
        "fieldGoalsAttemptedAgainst": 1,
        "fieldGoalsAttemptedAgainstPerGame": 1,
        "fieldGoalsMade": 1,
        "fieldGoalsMadeAgainst": 1,
        "fieldGoalsMadeAgainstPerGame": 1,
        "fieldGoalsEffectivePercentage": 1,
        "fieldGoalsPercentage": 1,
        "fieldGoalsAgainstPercentage": 1,
        "freeThrowsAttempted": 1,
        "freeThrowsAttemptedAgainst": 1,
        "freeThrowsAttemptedAgainstPerGame": 1,
        "freeThrowsAttemptedPerGame": 1,
        "freeThrowsMade": 1,
        "freeThrowsMadeAgainst": 1,
        "freeThrowsMadeAgainstPerGame": 1,
        "freeThrowsMadePerGame": 1,
        "freeThrowsPercentage": 1,
        "freeThrowsAgainstPercentage": 1,
        "foulsBenchTechnical": 1,
        "foulsCoachDisqualifying": 1,
        "foulsCoachTechnical": 1,
        "foulsDisqualifying": 1,
        "foulsOffensive": 1,
        "foulsDrawn": 1,
        "foulsDrawnPerGame": 1,
        "foulsPersonal": 1,
        "foulsPersonalAgainst": 1,
        "foulsPersonalAgainstPerGame": 1,
        "foulsPersonalPerGame": 1,
        "foulsTechnical": 1,
        "foulsTechnicalAgainst": 1,
        "foulsTechnicalAgainstPerGame": 1,
        "foulsTotal": 1,
        "foulsUnsportsmanlike": 1,
        "games": 1,
        "indexOfSuccess": 1,
        "losses": 1,
        "minutes": "text",
        "offensiveRating": 1,
        "points": 1,
        "pointsAgainst": 1,
        "pointsAgainstPerGame": 1,
        "pointsFastBreak": 1,
        "pointsFastBreakPerGame": 1,
        "pointsFastBreakAgainst": 1,
        "pointsFastBreakAgainstPerGame": 1,
        "pointsFastBreakAttempted": 1,
        "pointsFastBreakMade": 1,
        "pointsFromTurnover": 1,
        "pointsFromTurnoverAgainst": 1,
        "pointsFromTurnoverAgainstPerGame": 1,
        "pointsInThePaint": 1,
        "pointsInThePaintPerGame": 1,
        "pointsInThePaintAgainst": 1,
        "pointsInThePaintAgainstPerGame": 1,
        "pointsInThePaintMade": 1,
        "pointsInThePaintAttempted": 1,
        "pointsFromBench": 1,
        "pointsFromBenchPerGame": 1,
        "pointsFromBenchAgainst": 1,
        "pointsFromBenchAgainstPerGame": 1,
        "pointsPerGame": 1,
        "pointsSecondChance": 1,
        "pointsSecondChancePerGame": 1,
        "pointsSecondChanceAgainst": 1,
        "pointsSecondChanceAgainstPerGame": 1,
        "pointsSecondChanceAttempted": 1,
        "pointsSecondChanceMade": 1,
        "pointsTwoAttempted": 1,
        "pointsTwoAttemptedAgainst": 1,
        "pointsTwoAttemptedAgainstPerGame": 1,
        "pointsTwoAttemptedPerGame": 1,
        "pointsTwoMade": 1,
        "pointsTwoMadeAgainst": 1,
        "pointsTwoMadeAgainstPerGame": 1,
        "pointsTwoMadePerGame": 1,
        "pointsTwoPercentage": 1,
        "pointsTwoPercentageAgainst": 1,
        "pointsThreeAttempted": 1,
        "pointsThreeAttemptedAgainst": 1,
        "pointsThreeAttemptedAgainstPerGame": 1,
        "pointsThreeAttemptedPerGame": 1,
        "pointsThreeMade": 1,
        "pointsThreeMadeAgainst": 1,
        "pointsThreeMadeAgainstPerGame": 1,
        "pointsThreeMadePerGame": 1,
        "pointsThreePercentage": 1,
        "pointsThreePercentageAgainst": 1,
        "powerPlayPoints": 1,
        "powerPlayPointsAwarded": 1,
        "rebounds": 1,
        "reboundsAgainst": 1,
        "reboundsAgainstPerGame": 1,
        "reboundsTeamTotal": 1,
        "reboundsTeamTotalAgainst": 1,
        "reboundsTeamTotalAgainstPerGame": 1,
        "reboundsPerGame": 1,
        "reboundsTeamDefensive": 1,
        "reboundsTeamDefensiveAgainst": 1,
        "reboundsTeamDefensiveAgainstPerGame": 1,
        "reboundsDefensive": 1,
        "reboundsDefensiveAgainst": 1,
        "reboundsDefensiveAgainstPerGame": 1,
        "reboundsDefensivePerGame": 1,
        "reboundsTeamOffensive": 1,
        "reboundsTeamOffensiveAgainst": 1,
        "reboundsTeamOffensiveAgainstPerGame": 1,
        "reboundsOffensive": 1,
        "reboundsOffensiveAgainst": 1,
        "reboundsOffensiveAgainstPerGame": 1,
        "reboundsOffensivePerGame": 1,
        "steals": 1,
        "stealsAgainst": 1,
        "stealsAgainstPerGame": 1,
        "stealsPerGame": 1,
        "trueShootingAttempts": 1,
        "trueShootingPercentage": 1,
        "turnovers": 1,
        "turnoversAgainst": 1,
        "turnoversAgainstPerGame": 1,
        "turnoversTeam": 1,
        "turnoversTeamAgainst": 1,
        "turnoversTeamAgainstPerGame": 1,
        "turnoversPercentage": 1,
        "turnoversPerGame": 1,
        "wins": 1
      }
    }
  ]
}

Statistics for a team in a competition

get
/basketball/o/{organizationId}/statistics/for/entity/in/competitions/{competitionId}/entities/{entityId}

Return the statistic totals for a specific team in a competition.

Required scopes
This endpoint requires the following scopes:
  • : Read any data from the organization down
Authorizations
OAuth2clientCredentialsRequired

You can create a JSON Web Token (JWT) using the token API call. Each token is given a set of scopes/permissions. Each endpoint has a scope/permission that it requires to run. If your token does not possess the correct scope then you will be unable to make the API call.

Token URL:
Path parameters
competitionIdstring · uuidRequired

The unique identifier of the competition

Example: 009e9276-5c80-11e8-9c2d-fa7ae01bbebc
entityIdstring · uuidRequired

The unique identifier of the entity

Example: 009e9276-5c80-11e8-9c2d-fa7ae01bbebc
organizationIdstring · min: 5 · max: 5Required

The unique identifier of the organization

Example: b1a23
Query parameters
externalstringOptional

A comma separated list of fields that will instead be interpreted as an externalId. See External Ids for more information.

Example: entityId,personId
fieldsstringOptional

A comma separated list of fields to display. The response will only display these fields. See Partial Response section for more information.

Example: dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]
fixtureTypestring · enum · max: 50Optional

Type of Fixture

  • ALL_STAR All Star
  • DEMONSTRATION Demonstration
  • FINAL Final
  • FRIENDLY Friendly
  • PLAYOFF Playoff
  • PRESEASON Pre Season
  • REGULAR Regular
Example: REGULARPossible values:
hideNullbooleanOptional

Don't display data fields with null values or empty structures

Example: true
homeAwaystring · enum · max: 50Optional

Where the result was

  • AWAY Away
  • HOME Home
Possible values:
includestringOptional

A comma separated list of resource types to include. See Resource Inclusion for more information.

Example: organizations,fixtures,entities
limitinteger · int32 · min: 1 · max: 1000Optional

The maximum number of records to return. See Pagination for more information.

Default: 10Example: 10
offsetinteger · int32Optional

The offset of the records. See Pagination for more information.

Example: 10
sectionstring · max: 100Optional

The section of the period (sub-period)

winLossstring · enum · max: 50Optional

What the result was

  • DRAW Draw
  • LOSS Loss
  • WIN Win
Possible values:
Responses
200

Successful operation

application/json
get
/basketball/o/{organizationId}/statistics/for/entity/in/competitions/{competitionId}/entities/{entityId}
GET /v1/basketball/o/{organizationId}/statistics/for/entity/in/competitions/{competitionId}/entities/{entityId} HTTP/1.1
Host: api.dc.connect.sportradar.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
  "meta": {
    "version": 1,
    "codeVersion": "d6cd1e2bd19e03a81132a23b2025920577f84e37",
    "code": 200,
    "time": "2018-06-05 23:43:41.227584+00:00",
    "fromCache": false,
    "count": 7,
    "limit": 10,
    "offset": 10,
    "generationTime": 0.011604
  },
  "links": {
    "self": "https://example.com",
    "next": "https://example.com",
    "previous": "https://example.com"
  },
  "included": {
    "resources": {
      "ANY_ADDITIONAL_PROPERTY": "league"
    }
  },
  "data": [
    {
      "entityId": "009e9276-5c80-11e8-9c2d-fa7ae01bbebc",
      "entity": {
        "resourceType": "entities",
        "id": "009e9276-5c80-11e8-9c2d-fa7ae01bbebc"
      },
      "organizationId": "9",
      "organization": {
        "resourceType": "organizations",
        "id": "9"
      },
      "competitionId": "009e9276-5c80-11e8-9c2d-fa7ae01bbebc",
      "competition": {
        "resourceType": "competitions",
        "id": "009e9276-5c80-11e8-9c2d-fa7ae01bbebc"
      },
      "statistics": {
        "assists": 1,
        "assistsAgainst": 1,
        "assistsAgainstPerGame": 1,
        "assistsPerGame": 1,
        "assistsDefensive": 1,
        "assistsTurnoverRatio": 1,
        "biggestLead": 1,
        "biggestScoringRun": 1,
        "blocks": 1,
        "blocksPerGame": 1,
        "blocksReceived": 1,
        "blocksReceivedPerGame": 1,
        "draws": 1,
        "dunks": 1,
        "dunksPerGame": 1,
        "efficiencyCustom": 1,
        "efficiency": 1,
        "pir": 1,
        "fieldGoalsAttempted": 1,
        "fieldGoalsAttemptedAgainst": 1,
        "fieldGoalsAttemptedAgainstPerGame": 1,
        "fieldGoalsMade": 1,
        "fieldGoalsMadeAgainst": 1,
        "fieldGoalsMadeAgainstPerGame": 1,
        "fieldGoalsEffectivePercentage": 1,
        "fieldGoalsPercentage": 1,
        "fieldGoalsAgainstPercentage": 1,
        "freeThrowsAttempted": 1,
        "freeThrowsAttemptedAgainst": 1,
        "freeThrowsAttemptedAgainstPerGame": 1,
        "freeThrowsAttemptedPerGame": 1,
        "freeThrowsMade": 1,
        "freeThrowsMadeAgainst": 1,
        "freeThrowsMadeAgainstPerGame": 1,
        "freeThrowsMadePerGame": 1,
        "freeThrowsPercentage": 1,
        "freeThrowsAgainstPercentage": 1,
        "foulsBenchTechnical": 1,
        "foulsCoachDisqualifying": 1,
        "foulsCoachTechnical": 1,
        "foulsDisqualifying": 1,
        "foulsOffensive": 1,
        "foulsDrawn": 1,
        "foulsDrawnPerGame": 1,
        "foulsPersonal": 1,
        "foulsPersonalAgainst": 1,
        "foulsPersonalAgainstPerGame": 1,
        "foulsPersonalPerGame": 1,
        "foulsTechnical": 1,
        "foulsTechnicalAgainst": 1,
        "foulsTechnicalAgainstPerGame": 1,
        "foulsTotal": 1,
        "foulsUnsportsmanlike": 1,
        "games": 1,
        "indexOfSuccess": 1,
        "losses": 1,
        "minutes": "text",
        "offensiveRating": 1,
        "points": 1,
        "pointsAgainst": 1,
        "pointsAgainstPerGame": 1,
        "pointsFastBreak": 1,
        "pointsFastBreakPerGame": 1,
        "pointsFastBreakAgainst": 1,
        "pointsFastBreakAgainstPerGame": 1,
        "pointsFastBreakAttempted": 1,
        "pointsFastBreakMade": 1,
        "pointsFromTurnover": 1,
        "pointsFromTurnoverAgainst": 1,
        "pointsFromTurnoverAgainstPerGame": 1,
        "pointsInThePaint": 1,
        "pointsInThePaintPerGame": 1,
        "pointsInThePaintAgainst": 1,
        "pointsInThePaintAgainstPerGame": 1,
        "pointsInThePaintMade": 1,
        "pointsInThePaintAttempted": 1,
        "pointsFromBench": 1,
        "pointsFromBenchPerGame": 1,
        "pointsFromBenchAgainst": 1,
        "pointsFromBenchAgainstPerGame": 1,
        "pointsPerGame": 1,
        "pointsSecondChance": 1,
        "pointsSecondChancePerGame": 1,
        "pointsSecondChanceAgainst": 1,
        "pointsSecondChanceAgainstPerGame": 1,
        "pointsSecondChanceAttempted": 1,
        "pointsSecondChanceMade": 1,
        "pointsTwoAttempted": 1,
        "pointsTwoAttemptedAgainst": 1,
        "pointsTwoAttemptedAgainstPerGame": 1,
        "pointsTwoAttemptedPerGame": 1,
        "pointsTwoMade": 1,
        "pointsTwoMadeAgainst": 1,
        "pointsTwoMadeAgainstPerGame": 1,
        "pointsTwoMadePerGame": 1,
        "pointsTwoPercentage": 1,
        "pointsTwoPercentageAgainst": 1,
        "pointsThreeAttempted": 1,
        "pointsThreeAttemptedAgainst": 1,
        "pointsThreeAttemptedAgainstPerGame": 1,
        "pointsThreeAttemptedPerGame": 1,
        "pointsThreeMade": 1,
        "pointsThreeMadeAgainst": 1,
        "pointsThreeMadeAgainstPerGame": 1,
        "pointsThreeMadePerGame": 1,
        "pointsThreePercentage": 1,
        "pointsThreePercentageAgainst": 1,
        "powerPlayPoints": 1,
        "powerPlayPointsAwarded": 1,
        "rebounds": 1,
        "reboundsAgainst": 1,
        "reboundsAgainstPerGame": 1,
        "reboundsTeamTotal": 1,
        "reboundsTeamTotalAgainst": 1,
        "reboundsTeamTotalAgainstPerGame": 1,
        "reboundsPerGame": 1,
        "reboundsTeamDefensive": 1,
        "reboundsTeamDefensiveAgainst": 1,
        "reboundsTeamDefensiveAgainstPerGame": 1,
        "reboundsDefensive": 1,
        "reboundsDefensiveAgainst": 1,
        "reboundsDefensiveAgainstPerGame": 1,
        "reboundsDefensivePerGame": 1,
        "reboundsTeamOffensive": 1,
        "reboundsTeamOffensiveAgainst": 1,
        "reboundsTeamOffensiveAgainstPerGame": 1,
        "reboundsOffensive": 1,
        "reboundsOffensiveAgainst": 1,
        "reboundsOffensiveAgainstPerGame": 1,
        "reboundsOffensivePerGame": 1,
        "steals": 1,
        "stealsAgainst": 1,
        "stealsAgainstPerGame": 1,
        "stealsPerGame": 1,
        "trueShootingAttempts": 1,
        "trueShootingPercentage": 1,
        "turnovers": 1,
        "turnoversAgainst": 1,
        "turnoversAgainstPerGame": 1,
        "turnoversTeam": 1,
        "turnoversTeamAgainst": 1,
        "turnoversTeamAgainstPerGame": 1,
        "turnoversPercentage": 1,
        "turnoversPerGame": 1,
        "wins": 1
      }
    }
  ]
}

Statistics for a team in a competition

get
/basketball/o/{organizationId}/statistics/for/entity/in/competitions/{competitionId}/entities/{entityId}/periods

Return the statistics for a specific team in a competition.

Required scopes
This endpoint requires the following scopes:
  • : Read any data from the organization down
Authorizations
OAuth2clientCredentialsRequired

You can create a JSON Web Token (JWT) using the token API call. Each token is given a set of scopes/permissions. Each endpoint has a scope/permission that it requires to run. If your token does not possess the correct scope then you will be unable to make the API call.

Token URL:
Path parameters
competitionIdstring · uuidRequired

The unique identifier of the competition

Example: 009e9276-5c80-11e8-9c2d-fa7ae01bbebc
entityIdstring · uuidRequired

The unique identifier of the entity

Example: 009e9276-5c80-11e8-9c2d-fa7ae01bbebc
organizationIdstring · min: 5 · max: 5Required

The unique identifier of the organization

Example: b1a23
Query parameters
externalstringOptional

A comma separated list of fields that will instead be interpreted as an externalId. See External Ids for more information.

Example: entityId,personId
fieldsstringOptional

A comma separated list of fields to display. The response will only display these fields. See Partial Response section for more information.

Example: dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]
fixtureTypestring · enum · max: 50Optional

Type of Fixture

  • ALL_STAR All Star
  • DEMONSTRATION Demonstration
  • FINAL Final
  • FRIENDLY Friendly
  • PLAYOFF Playoff
  • PRESEASON Pre Season
  • REGULAR Regular
Example: REGULARPossible values:
hideNullbooleanOptional

Don't display data fields with null values or empty structures

Example: true
homeAwaystring · enum · max: 50Optional

Where the result was

  • AWAY Away
  • HOME Home
Possible values:
includestringOptional

A comma separated list of resource types to include. See Resource Inclusion for more information.

Example: organizations,fixtures,entities
limitinteger · int32 · min: 1 · max: 1000Optional

The maximum number of records to return. See Pagination for more information.

Default: 10Example: 10
offsetinteger · int32Optional

The offset of the records. See Pagination for more information.

Example: 10
periodIdinteger · enumOptional

The identifier for the period

  • 1 Period 1
  • 2 Period 2
  • 3 Period 3
  • 4 Period 4
  • 11 Overtime 1
  • 12 Overtime 2
  • 13 Overtime 3
  • 14 Overtime 4
  • 15 Overtime 5
  • 16 Overtime 6
Possible values:
sectionstring · max: 100Optional

The section of the period (sub-period)

winLossstring · enum · max: 50Optional

What the result was

  • DRAW Draw
  • LOSS Loss
  • WIN Win
Possible values:
Responses
200

Successful operation

application/json
get
/basketball/o/{organizationId}/statistics/for/entity/in/competitions/{competitionId}/entities/{entityId}/periods
GET /v1/basketball/o/{organizationId}/statistics/for/entity/in/competitions/{competitionId}/entities/{entityId}/periods HTTP/1.1
Host: api.dc.connect.sportradar.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
  "meta": {
    "version": 1,
    "codeVersion": "d6cd1e2bd19e03a81132a23b2025920577f84e37",
    "code": 200,
    "time": "2018-06-05 23:43:41.227584+00:00",
    "fromCache": false,
    "count": 7,
    "limit": 10,
    "offset": 10,
    "generationTime": 0.011604
  },
  "links": {
    "self": "https://example.com",
    "next": "https://example.com",
    "previous": "https://example.com"
  },
  "included": {
    "resources": {
      "ANY_ADDITIONAL_PROPERTY": "league"
    }
  },
  "data": [
    {
      "entityId": "009e9276-5c80-11e8-9c2d-fa7ae01bbebc",
      "entity": {
        "resourceType": "entities",
        "id": "009e9276-5c80-11e8-9c2d-fa7ae01bbebc"
      },
      "organizationId": "9",
      "organization": {
        "resourceType": "organizations",
        "id": "9"
      },
      "competitionId": "009e9276-5c80-11e8-9c2d-fa7ae01bbebc",
      "competition": {
        "resourceType": "competitions",
        "id": "009e9276-5c80-11e8-9c2d-fa7ae01bbebc"
      },
      "statistics": {
        "assists": 1,
        "assistsAgainst": 1,
        "assistsAgainstPerGame": 1,
        "assistsPerGame": 1,
        "assistsDefensive": 1,
        "assistsTurnoverRatio": 1,
        "biggestLead": 1,
        "biggestScoringRun": 1,
        "blocks": 1,
        "blocksPerGame": 1,
        "blocksReceived": 1,
        "blocksReceivedPerGame": 1,
        "draws": 1,
        "dunks": 1,
        "dunksPerGame": 1,
        "efficiencyCustom": 1,
        "efficiency": 1,
        "pir": 1,
        "fieldGoalsAttempted": 1,
        "fieldGoalsAttemptedAgainst": 1,
        "fieldGoalsAttemptedAgainstPerGame": 1,
        "fieldGoalsMade": 1,
        "fieldGoalsMadeAgainst": 1,
        "fieldGoalsMadeAgainstPerGame": 1,
        "fieldGoalsEffectivePercentage": 1,
        "fieldGoalsPercentage": 1,
        "fieldGoalsAgainstPercentage": 1,
        "freeThrowsAttempted": 1,
        "freeThrowsAttemptedAgainst": 1,
        "freeThrowsAttemptedAgainstPerGame": 1,
        "freeThrowsAttemptedPerGame": 1,
        "freeThrowsMade": 1,
        "freeThrowsMadeAgainst": 1,
        "freeThrowsMadeAgainstPerGame": 1,
        "freeThrowsMadePerGame": 1,
        "freeThrowsPercentage": 1,
        "freeThrowsAgainstPercentage": 1,
        "foulsBenchTechnical": 1,
        "foulsCoachDisqualifying": 1,
        "foulsCoachTechnical": 1,
        "foulsDisqualifying": 1,
        "foulsOffensive": 1,
        "foulsDrawn": 1,
        "foulsDrawnPerGame": 1,
        "foulsPersonal": 1,
        "foulsPersonalAgainst": 1,
        "foulsPersonalAgainstPerGame": 1,
        "foulsPersonalPerGame": 1,
        "foulsTechnical": 1,
        "foulsTechnicalAgainst": 1,
        "foulsTechnicalAgainstPerGame": 1,
        "foulsTotal": 1,
        "foulsUnsportsmanlike": 1,
        "games": 1,
        "indexOfSuccess": 1,
        "losses": 1,
        "minutes": "text",
        "offensiveRating": 1,
        "points": 1,
        "pointsAgainst": 1,
        "pointsAgainstPerGame": 1,
        "pointsFastBreak": 1,
        "pointsFastBreakPerGame": 1,
        "pointsFastBreakAgainst": 1,
        "pointsFastBreakAgainstPerGame": 1,
        "pointsFastBreakAttempted": 1,
        "pointsFastBreakMade": 1,
        "pointsFromTurnover": 1,
        "pointsFromTurnoverAgainst": 1,
        "pointsFromTurnoverAgainstPerGame": 1,
        "pointsInThePaint": 1,
        "pointsInThePaintPerGame": 1,
        "pointsInThePaintAgainst": 1,
        "pointsInThePaintAgainstPerGame": 1,
        "pointsInThePaintMade": 1,
        "pointsInThePaintAttempted": 1,
        "pointsFromBench": 1,
        "pointsFromBenchPerGame": 1,
        "pointsFromBenchAgainst": 1,
        "pointsFromBenchAgainstPerGame": 1,
        "pointsPerGame": 1,
        "pointsSecondChance": 1,
        "pointsSecondChancePerGame": 1,
        "pointsSecondChanceAgainst": 1,
        "pointsSecondChanceAgainstPerGame": 1,
        "pointsSecondChanceAttempted": 1,
        "pointsSecondChanceMade": 1,
        "pointsTwoAttempted": 1,
        "pointsTwoAttemptedAgainst": 1,
        "pointsTwoAttemptedAgainstPerGame": 1,
        "pointsTwoAttemptedPerGame": 1,
        "pointsTwoMade": 1,
        "pointsTwoMadeAgainst": 1,
        "pointsTwoMadeAgainstPerGame": 1,
        "pointsTwoMadePerGame": 1,
        "pointsTwoPercentage": 1,
        "pointsTwoPercentageAgainst": 1,
        "pointsThreeAttempted": 1,
        "pointsThreeAttemptedAgainst": 1,
        "pointsThreeAttemptedAgainstPerGame": 1,
        "pointsThreeAttemptedPerGame": 1,
        "pointsThreeMade": 1,
        "pointsThreeMadeAgainst": 1,
        "pointsThreeMadeAgainstPerGame": 1,
        "pointsThreeMadePerGame": 1,
        "pointsThreePercentage": 1,
        "pointsThreePercentageAgainst": 1,
        "powerPlayPoints": 1,
        "powerPlayPointsAwarded": 1,
        "rebounds": 1,
        "reboundsAgainst": 1,
        "reboundsAgainstPerGame": 1,
        "reboundsTeamTotal": 1,
        "reboundsTeamTotalAgainst": 1,
        "reboundsTeamTotalAgainstPerGame": 1,
        "reboundsPerGame": 1,
        "reboundsTeamDefensive": 1,
        "reboundsTeamDefensiveAgainst": 1,
        "reboundsTeamDefensiveAgainstPerGame": 1,
        "reboundsDefensive": 1,
        "reboundsDefensiveAgainst": 1,
        "reboundsDefensiveAgainstPerGame": 1,
        "reboundsDefensivePerGame": 1,
        "reboundsTeamOffensive": 1,
        "reboundsTeamOffensiveAgainst": 1,
        "reboundsTeamOffensiveAgainstPerGame": 1,
        "reboundsOffensive": 1,
        "reboundsOffensiveAgainst": 1,
        "reboundsOffensiveAgainstPerGame": 1,
        "reboundsOffensivePerGame": 1,
        "steals": 1,
        "stealsAgainst": 1,
        "stealsAgainstPerGame": 1,
        "stealsPerGame": 1,
        "trueShootingAttempts": 1,
        "trueShootingPercentage": 1,
        "turnovers": 1,
        "turnoversAgainst": 1,
        "turnoversAgainstPerGame": 1,
        "turnoversTeam": 1,
        "turnoversTeamAgainst": 1,
        "turnoversTeamAgainstPerGame": 1,
        "turnoversPercentage": 1,
        "turnoversPerGame": 1,
        "wins": 1
      }
    }
  ]
}

Last updated

Was this helpful?