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
Return a list of person statistic totals for a competition
- : Read any data from the organization down
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.
The unique identifier of the competition
009e9276-5c80-11e8-9c2d-fa7ae01bbebcThe unique identifier of the organization
b1a23The unique identifier of the entity
009e9276-5c80-11e8-9c2d-fa7ae01bbebcA comma separated list of fields that will instead be interpreted as an externalId. See External Ids for more information.
entityId,personIdA comma separated list of fields to display. The response will only display these fields. See Partial Response section for more information.
dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]Type of Fixture
ALL_STARAll StarDEMONSTRATIONDemonstrationFINALFinalFRIENDLYFriendlyPLAYOFFPlayoffPRESEASONPre SeasonREGULARRegular
REGULARPossible values: Don't display data fields with null values or empty structures
trueWhere the result was
AWAYAwayHOMEHome
A comma separated list of resource types to include. See Resource Inclusion for more information.
organizations,fixtures,entitiesIs the person a player?
Is the person a team official?
The maximum number of records to return. See Pagination for more information.
10Example: 10The offset of the records. See Pagination for more information.
10The unique identifier of the person
009e9276-5c80-11e8-9c2d-fa7ae01bbebcIs the person a starter in the match ?
What the result was
DRAWDrawLOSSLossWINWin
Successful operation
Error
GET /v1/tennis/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": {}
}
]
}Team statistics for a competition
Return a list of team statistic totals for a competition
- : Read any data from the organization down
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.
The unique identifier of the competition
009e9276-5c80-11e8-9c2d-fa7ae01bbebcThe unique identifier of the organization
b1a23The unique identifier of the entity
009e9276-5c80-11e8-9c2d-fa7ae01bbebcA comma separated list of fields that will instead be interpreted as an externalId. See External Ids for more information.
entityId,personIdA comma separated list of fields to display. The response will only display these fields. See Partial Response section for more information.
dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]Type of Fixture
ALL_STARAll StarDEMONSTRATIONDemonstrationFINALFinalFRIENDLYFriendlyPLAYOFFPlayoffPRESEASONPre SeasonREGULARRegular
REGULARPossible values: Don't display data fields with null values or empty structures
trueWhere the result was
AWAYAwayHOMEHome
A comma separated list of resource types to include. See Resource Inclusion for more information.
organizations,fixtures,entitiesThe maximum number of records to return. See Pagination for more information.
10Example: 10The offset of the records. See Pagination for more information.
10What the result was
DRAWDrawLOSSLossWINWin
Successful operation
Error
GET /v1/tennis/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": {}
}
]
}Team statistics for a competition by period
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.
- : Read any data from the organization down
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.
The unique identifier of the competition
009e9276-5c80-11e8-9c2d-fa7ae01bbebcThe unique identifier of the organization
b1a23A comma separated list of fields that will instead be interpreted as an externalId. See External Ids for more information.
entityId,personIdA comma separated list of fields to display. The response will only display these fields. See Partial Response section for more information.
dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]Type of Fixture
ALL_STARAll StarDEMONSTRATIONDemonstrationFINALFinalFRIENDLYFriendlyPLAYOFFPlayoffPRESEASONPre SeasonREGULARRegular
REGULARPossible values: Don't display data fields with null values or empty structures
trueWhere the result was
AWAYAwayHOMEHome
A comma separated list of resource types to include. See Resource Inclusion for more information.
organizations,fixtures,entitiesThe maximum number of records to return. See Pagination for more information.
10Example: 10The offset of the records. See Pagination for more information.
10The identifier for the period
- None Total match
1Set 12Set 23Set 34Set 45Set 56Set 67Set 7
The section of the period (sub-period)
What the result was
DRAWDrawLOSSLossWINWin
Successful operation
Error
GET /v1/tennis/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": {}
}
]
}Statistics for a team in a competition
Return the statistic totals for a specific team in a competition.
- : Read any data from the organization down
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.
The unique identifier of the competition
009e9276-5c80-11e8-9c2d-fa7ae01bbebcThe unique identifier of the entity
009e9276-5c80-11e8-9c2d-fa7ae01bbebcThe unique identifier of the organization
b1a23A comma separated list of fields that will instead be interpreted as an externalId. See External Ids for more information.
entityId,personIdA comma separated list of fields to display. The response will only display these fields. See Partial Response section for more information.
dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]Type of Fixture
ALL_STARAll StarDEMONSTRATIONDemonstrationFINALFinalFRIENDLYFriendlyPLAYOFFPlayoffPRESEASONPre SeasonREGULARRegular
REGULARPossible values: Don't display data fields with null values or empty structures
trueWhere the result was
AWAYAwayHOMEHome
A comma separated list of resource types to include. See Resource Inclusion for more information.
organizations,fixtures,entitiesThe maximum number of records to return. See Pagination for more information.
10Example: 10The offset of the records. See Pagination for more information.
10The section of the period (sub-period)
What the result was
DRAWDrawLOSSLossWINWin
Successful operation
Error
GET /v1/tennis/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": {}
}
]
}Statistics for a team in a competition
Return the statistics for a specific team in a competition.
- : Read any data from the organization down
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.
The unique identifier of the competition
009e9276-5c80-11e8-9c2d-fa7ae01bbebcThe unique identifier of the entity
009e9276-5c80-11e8-9c2d-fa7ae01bbebcThe unique identifier of the organization
b1a23A comma separated list of fields that will instead be interpreted as an externalId. See External Ids for more information.
entityId,personIdA comma separated list of fields to display. The response will only display these fields. See Partial Response section for more information.
dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]Type of Fixture
ALL_STARAll StarDEMONSTRATIONDemonstrationFINALFinalFRIENDLYFriendlyPLAYOFFPlayoffPRESEASONPre SeasonREGULARRegular
REGULARPossible values: Don't display data fields with null values or empty structures
trueWhere the result was
AWAYAwayHOMEHome
A comma separated list of resource types to include. See Resource Inclusion for more information.
organizations,fixtures,entitiesThe maximum number of records to return. See Pagination for more information.
10Example: 10The offset of the records. See Pagination for more information.
10The identifier for the period
- None Total match
1Set 12Set 23Set 34Set 45Set 56Set 67Set 7
The section of the period (sub-period)
What the result was
DRAWDrawLOSSLossWINWin
Successful operation
Error
GET /v1/tennis/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": {}
}
]
}Last updated
Was this helpful?