Leagues
League is an optional level/entity. It allows for the grouping of a number of competitions under the one object. Organizations can have many leagues and one league can have many competitions. One competition can only belong to one league. However competitions do not have to belong to any leagues.
Return a list of available leagues within the organization.
- : 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 organization
b1a23Record was added after this date/time. In UTC.
2018-08-16T02:10:48Country code
USAA 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)]Don't display data fields with null values or empty structures
trueA 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: 10Fields that allow a 'Contains' query string parameter search for words separated by a space, matching characters left to right. Example: nameLatin=David Johnson nameLatinContains=Dav will match nameLatinContains=John will match nameLatinContains=son will not match
Dav and nameLatin='David Johnson'Fields that allow a 'Contains' query string parameter search for words separated by a space, matching characters left to right. Example: nameLocal=David Johnson nameLocalContains=Dav will match nameLocalContains=John will match nameLocalContains=son will not match
Dav and nameLocal='David Johnson'The offset of the records. See Pagination for more information.
10The region type
INTERNATIONALMultiple countriesLOCALLocal areaNATIONALOne countrySTATEOne state
STATEPossible values: Record was modified after this date/time. In UTC.
2018-08-16T02:11:48Successful operation
Error
GET /v1/icehockey/o/{organizationId}/leagues 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": [
{
"leagueId": "009e9276-5c80-11e8-9c2d-fa7ae01bbebc",
"organizationId": "9",
"organization": {
"resourceType": "organizations",
"id": "9"
},
"abbreviationLocal": "NFA",
"nameLocal": "Test name local",
"abbreviationLatin": "NFA",
"nameLatin": "Test name latin ",
"countryCode": "USA",
"regionType": "STATE",
"social": {
"website": "http://www.example.com",
"facebook": "https://www.facebook.com/example",
"twitter": "https://www.twitter.com/example",
"wikipedia": "https://en.wikipedia.org/wiki/example",
"instagram": "https://www.instagram.com/example"
},
"externalId": "A123",
"updated": "2025-11-19T06:28:48.269Z",
"added": "2025-11-19T06:28:48.269Z",
"images": [
{
"imageId": "009e9276-5c80-11e8-9c2d-fa7ae01bbebc",
"organizationId": "9",
"organization": {
"resourceType": "organizations",
"id": "9"
},
"baseType": "entity",
"baseId": "009e9276-5c80-11e8-9c2d-fa7ae01bbebc",
"fileType": "png",
"imageType": "LOGO",
"secondaryType": "entity",
"secondaryId": "009e9276-5c80-11e8-9c2d-fa7ae01bbebc",
"rating": "LOW",
"url": "text",
"maximumHeight": 200,
"maximumWidth": 200,
"updated": "2025-11-19T06:28:48.269Z",
"added": "2025-11-19T06:28:48.269Z"
}
]
}
]
}Add a new league to the organization.
- : Write/Update any data from below the organization
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 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)]Don't display data fields with null values or empty structures
trueA comma separated list of resource types to include. See Resource Inclusion for more information.
organizations,fixtures,entitiesThe unique identifier of the league
009e9276-5c80-11e8-9c2d-fa7ae01bbebcAn abbreviation/short name in the local language
NFAThe name of the league in the local language
Test name localAn abbreviation/short name in latin characters
NFAThe name of the league in latin characters
Test name latinCountry code of the league. We recommend you use ISO-3166-1:alpha3 (upper case) values where available.
USAHow geographically relevant is this league
INTERNATIONALMultiple countriesINTERSTATECross stateLOCALLocal areaNATIONALOne countrySTATEOne state
STATEPossible values: The Id of the data as set by the provider of the data
A123Pattern: ^[0-9A-Za-z/_-]+$Successful operation
Error
POST /v1/icehockey/o/{organizationId}/leagues HTTP/1.1
Host: api.dc.connect.sportradar.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 461
{
"leagueId": "009e9276-5c80-11e8-9c2d-fa7ae01bbebc",
"abbreviationLocal": "NFA",
"nameLocal": "Test name local",
"abbreviationLatin": "NFA",
"nameLatin": "Test name latin ",
"countryCode": "USA",
"regionType": "STATE",
"social": {
"website": "http://www.example.com",
"facebook": "https://www.facebook.com/example",
"twitter": "https://www.twitter.com/example",
"wikipedia": "https://en.wikipedia.org/wiki/example",
"instagram": "https://www.instagram.com/example"
},
"externalId": "A123"
}{
"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": [
{
"leagueId": "009e9276-5c80-11e8-9c2d-fa7ae01bbebc",
"organizationId": "9",
"organization": {
"resourceType": "organizations",
"id": "9"
},
"abbreviationLocal": "NFA",
"nameLocal": "Test name local",
"abbreviationLatin": "NFA",
"nameLatin": "Test name latin ",
"countryCode": "USA",
"regionType": "STATE",
"social": {
"website": "http://www.example.com",
"facebook": "https://www.facebook.com/example",
"twitter": "https://www.twitter.com/example",
"wikipedia": "https://en.wikipedia.org/wiki/example",
"instagram": "https://www.instagram.com/example"
},
"externalId": "A123",
"updated": "2025-11-19T06:28:48.269Z",
"added": "2025-11-19T06:28:48.269Z",
"images": [
{
"imageId": "009e9276-5c80-11e8-9c2d-fa7ae01bbebc",
"organizationId": "9",
"organization": {
"resourceType": "organizations",
"id": "9"
},
"baseType": "entity",
"baseId": "009e9276-5c80-11e8-9c2d-fa7ae01bbebc",
"fileType": "png",
"imageType": "LOGO",
"secondaryType": "entity",
"secondaryId": "009e9276-5c80-11e8-9c2d-fa7ae01bbebc",
"rating": "LOW",
"url": "text",
"maximumHeight": 200,
"maximumWidth": 200,
"updated": "2025-11-19T06:28:48.269Z",
"added": "2025-11-19T06:28:48.269Z"
}
]
}
]
}Return detailed information about a specific league.
- : 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 league
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)]Don't display data fields with null values or empty structures
trueA 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.
10Successful operation
Error
GET /v1/icehockey/o/{organizationId}/leagues/{leagueId} 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": [
{
"leagueId": "009e9276-5c80-11e8-9c2d-fa7ae01bbebc",
"organizationId": "9",
"organization": {
"resourceType": "organizations",
"id": "9"
},
"abbreviationLocal": "NFA",
"nameLocal": "Test name local",
"abbreviationLatin": "NFA",
"nameLatin": "Test name latin ",
"countryCode": "USA",
"regionType": "STATE",
"social": {
"website": "http://www.example.com",
"facebook": "https://www.facebook.com/example",
"twitter": "https://www.twitter.com/example",
"wikipedia": "https://en.wikipedia.org/wiki/example",
"instagram": "https://www.instagram.com/example"
},
"externalId": "A123",
"updated": "2025-11-19T06:28:48.269Z",
"added": "2025-11-19T06:28:48.269Z",
"images": [
{
"imageId": "009e9276-5c80-11e8-9c2d-fa7ae01bbebc",
"organizationId": "9",
"organization": {
"resourceType": "organizations",
"id": "9"
},
"baseType": "entity",
"baseId": "009e9276-5c80-11e8-9c2d-fa7ae01bbebc",
"fileType": "png",
"imageType": "LOGO",
"secondaryType": "entity",
"secondaryId": "009e9276-5c80-11e8-9c2d-fa7ae01bbebc",
"rating": "LOW",
"url": "text",
"maximumHeight": 200,
"maximumWidth": 200,
"updated": "2025-11-19T06:28:48.269Z",
"added": "2025-11-19T06:28:48.269Z"
}
]
}
]
}Change the information of a specific league
- : Write/Update any data from below the organization
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 league
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)]Don't display data fields with null values or empty structures
trueA comma separated list of resource types to include. See Resource Inclusion for more information.
organizations,fixtures,entitiesAn abbreviation/short name in the local language
NFAThe name of the league in the local language
Test name localAn abbreviation/short name in latin characters
NFAThe name of the league in latin characters
Test name latinCountry code of the league. We recommend you use ISO-3166-1:alpha3 (upper case) values where available.
USAHow geographically relevant is this league
INTERNATIONALMultiple countriesINTERSTATECross stateLOCALLocal areaNATIONALOne countrySTATEOne state
STATEPossible values: The Id of the data as set by the provider of the data
A123Pattern: ^[0-9A-Za-z/_-]+$Successful operation
Error
PUT /v1/icehockey/o/{organizationId}/leagues/{leagueId} HTTP/1.1
Host: api.dc.connect.sportradar.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 411
{
"abbreviationLocal": "NFA",
"nameLocal": "Test name local",
"abbreviationLatin": "NFA",
"nameLatin": "Test name latin ",
"countryCode": "USA",
"regionType": "STATE",
"social": {
"website": "http://www.example.com",
"facebook": "https://www.facebook.com/example",
"twitter": "https://www.twitter.com/example",
"wikipedia": "https://en.wikipedia.org/wiki/example",
"instagram": "https://www.instagram.com/example"
},
"externalId": "A123"
}{
"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": [
{
"leagueId": "009e9276-5c80-11e8-9c2d-fa7ae01bbebc",
"organizationId": "9",
"organization": {
"resourceType": "organizations",
"id": "9"
},
"abbreviationLocal": "NFA",
"nameLocal": "Test name local",
"abbreviationLatin": "NFA",
"nameLatin": "Test name latin ",
"countryCode": "USA",
"regionType": "STATE",
"social": {
"website": "http://www.example.com",
"facebook": "https://www.facebook.com/example",
"twitter": "https://www.twitter.com/example",
"wikipedia": "https://en.wikipedia.org/wiki/example",
"instagram": "https://www.instagram.com/example"
},
"externalId": "A123",
"updated": "2025-11-19T06:28:48.269Z",
"added": "2025-11-19T06:28:48.269Z",
"images": [
{
"imageId": "009e9276-5c80-11e8-9c2d-fa7ae01bbebc",
"organizationId": "9",
"organization": {
"resourceType": "organizations",
"id": "9"
},
"baseType": "entity",
"baseId": "009e9276-5c80-11e8-9c2d-fa7ae01bbebc",
"fileType": "png",
"imageType": "LOGO",
"secondaryType": "entity",
"secondaryId": "009e9276-5c80-11e8-9c2d-fa7ae01bbebc",
"rating": "LOW",
"url": "text",
"maximumHeight": 200,
"maximumWidth": 200,
"updated": "2025-11-19T06:28:48.269Z",
"added": "2025-11-19T06:28:48.269Z"
}
]
}
]
}Delete a specific league
- : Write/Update any data from below the organization
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 league
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)]Force a delete command to run and delete child records as well if there are existing records depending on the record.
trueDon't display data fields with null values or empty structures
trueA comma separated list of resource types to include. See Resource Inclusion for more information.
organizations,fixtures,entitiesSuccessful operation
Error
DELETE /v1/icehockey/o/{organizationId}/leagues/{leagueId} 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": [
{
"leagueId": "009e9276-5c80-11e8-9c2d-fa7ae01bbebc",
"organizationId": "9",
"organization": {
"resourceType": "organizations",
"id": "9"
},
"abbreviationLocal": "NFA",
"nameLocal": "Test name local",
"abbreviationLatin": "NFA",
"nameLatin": "Test name latin ",
"countryCode": "USA",
"regionType": "STATE",
"social": {
"website": "http://www.example.com",
"facebook": "https://www.facebook.com/example",
"twitter": "https://www.twitter.com/example",
"wikipedia": "https://en.wikipedia.org/wiki/example",
"instagram": "https://www.instagram.com/example"
},
"externalId": "A123",
"updated": "2025-11-19T06:28:48.269Z",
"added": "2025-11-19T06:28:48.269Z",
"images": [
{
"imageId": "009e9276-5c80-11e8-9c2d-fa7ae01bbebc",
"organizationId": "9",
"organization": {
"resourceType": "organizations",
"id": "9"
},
"baseType": "entity",
"baseId": "009e9276-5c80-11e8-9c2d-fa7ae01bbebc",
"fileType": "png",
"imageType": "LOGO",
"secondaryType": "entity",
"secondaryId": "009e9276-5c80-11e8-9c2d-fa7ae01bbebc",
"rating": "LOW",
"url": "text",
"maximumHeight": 200,
"maximumWidth": 200,
"updated": "2025-11-19T06:28:48.269Z",
"added": "2025-11-19T06:28:48.269Z"
}
]
}
]
}Last updated
Was this helpful?