Subscription to this function is not available for your account. To upgrade and receive access to this contact sales@datasportsgroup.com
v4 GET /diving/get_contestants
Returns a list of contestants
Request URL
https://dsg-api.com/clients/{client_name}/diving/get_contestants?client={client_name}&authkey={client_authkey}&type=discipline&type_id={discipline_id}&season={season_id}
API Threshold
  • 10k calls per hour (2.78 calls per second)
  • This threshold applies to ALL your calls you do across the API.
  • Your number of calls get reset every hour at :00
  • If the thresold is reached within the hour you will get a xml/json message accordingly (which is gone when the next hour starts, see previous point)
Parameters
area_id
int
area to get the subareas or specific area from
authkey
string Required
client authentification key
client
string Required
unique client ID
ftype
string
changes feed type from XML to json (ftype=json or ftype=json_array)
lang
string
two-character language code, defaults to 'en'
season
int Required
unique season identifier
type
string Required
type=discipline_id is required
type_id
int Required
discipline_id to be filtered
Nodes
competition
details about competition
area_id
unique identifier for an area
area_name
name of the area
competition_id
unique identifier for a competition
format
competition format (domestic_league, domestic_cup, domestic_league_cup, domestic_super_cup, international_cup, international_super_cup, playoff, tournament, race, unofficial)
gender
determines the gender of the competition (male or female)
last_updated
When record was last updated. Format YYYY-MM-DD HH:MM:SS in CET timezone.
name
name of the competition
type
determines if a competition is between club teams (club) or national teams (international)
contestant
details about the contestant
common_name
common name of the person
contestant_team_id
unique identifier for the contestant team/double
first_name
first name of the person
last_name
last name of the person
nationality_area_code
three character area code
nationality_area_id
unique identifier for an area
nationality_area_name
area name of peoples nationality
people_id
unique identifier for person
short_name
shortened name of the person
slug
widget slug to be used for athlete widget (multisport)
datasportsgroup
details about the API version, sport, language and generation timestamp
generated_utc
UTC timestamp when the API output was generated
lang
language of the API call
sport
sport value
version
version of the API
discipline
basic information about the discipline
discipline_id
unique identifier of the discipline
name
name of the discipline
type
type of discipline (contestant, contestant_team or team)
gender
details about the gender
age_group
defines the age group (senior,u23,u22,u21....)
value
gender type (male, female or mixed)
membership
details about the membership
membership_id
unique identifier for the membership
team_id
unique identifier of the team
team_name
current team name
method
details about the API function
method_id
unique ID of method
name
name of method
round
basic details about the round
name
name of round
round_id
unique identifier of round
season
details about the season
end_date
end date, format 'yyyy-mm-dd'
last_updated
When record was last updated. Format YYYY-MM-DD HH:MM:SS in CET timezone.
logo
full path URL of logo for particular season
original_name
competition name during this season
season_id
unique identifier for season
start_date
start date, format 'yyyy-mm-dd'
title
title of season
team
details about the team
short_name
short name of the team.
team_area_code
three-letter acronym for the area of the team
team_area_id
unique identifier for an area
team_area_name
area name of the team
team_id
unique identifier of the team
team_logo
full path URL of team logo
team_name
current team name
tla_name
three letter acronym for this team
tour
details about the tour
gender
gender of the tour
name
name of the particular tour
tour_id
unique tour identifier
tour_type
defines if the tournament is part of a tour or not. If not then value "non-tour"
tour_season
details about a tour season
logo
full path URL of logo for particular tour_season
name
name of the tour_season
title
title of the particular tour season
tour_season_id
unique identifier of a tour season
Response Headers
200
Success
401
Unauthorized
429
Too Many Requests
Code Samples
<?php
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "https://dsg-api.com/clients/{client_name}/diving/get_contestants?client={client_name}&authkey={client_authkey}&type=discipline&type_id={discipline_id}&season={season_id}");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_USERPWD, "{User}:{Password}");
$content = curl_exec($ch);
curl_close($ch);
?>
curl GET -u "User:Password" "https://dsg-api.com/clients/{client_name}/diving/get_contestants?client={client_name}&authkey={client_authkey}&type=discipline&type_id={discipline_id}&season={season_id}"
Imports System
Imports System.Net	
Imports System.IO
Imports System.Text

Public Module Module1
	Public Sub Main()
		Dim url As String = "https://dsg-api.com/clients/{client_name}/diving/get_contestants?client={client_name}&authkey={client_authkey}&type=discipline&type_id={discipline_id}&season={season_id}"
		Dim myReq As WebRequest = WebRequest.Create(url)
		myReq.Credentials = new System.Net.NetworkCredential("{User}", "{Password}")
		Dim wr As WebResponse = myReq.GetResponse()
		Dim receiveStream As Stream = wr.GetResponseStream()
		Dim reader As StreamReader = New StreamReader(receiveStream, Encoding.UTF8)
		Dim content As String = reader.ReadToEnd()
	End Sub
End Module
response = requests.get("https://dsg-api.com/clients/{client_name}/diving/get_contestants?client={client_name}&authkey={client_authkey}&type=discipline&type_id={discipline_id}&season={season_id}", auth=("User", "Password"))
Response Example
200 Success
{"datasportsgroup":{"version":"2.1232.4","sport":"diving","lang":"en","generated_utc":"2025-08-01T15:22:06+00:00","method":{"method_id":"1232","name":"get_contestants"},"tour":{"tour_id":"110","name":"World Aquatics Diving World Cup","gender":"mixed","tour_type":"tour","tour_season":{"tour_season_id":"1415","title":"2025","name":"World Aquatics Diving World Cup","logo":"https:\/\/dsg-images.com\/tours\/200x200\/110.png","competition":{"competition_id":"5257","name":"Windsor","gender":"both","type":"player","format":"tournament","area_id":"43","area_name":"Canada","last_updated":"2022-02-28 09:19:27","season":{"season_id":"76666","title":"2025","original_name":"Windsor","start_date":"2025-04-10","end_date":"2025-04-13","logo":"","last_updated":"2025-07-18 12:41:13","discipline":{"discipline_id":"166","name":"3m Springboard","type":"contestant","gender":[{"value":"male","age_group":"senior","contestant":[{"people_id":"8030551","first_name":"Hudson ","last_name":"Skinner","short_name":"H. Skinner","common_name":"Hudson Skinner","nationality_area_id":"19","nationality_area_code":"AUS","nationality_area_name":"Australia"},{"people_id":"7977910","first_name":"Carson","last_name":"Paul","short_name":"C. Paul","common_name":"Carson Paul","nationality_area_id":"43","nationality_area_code":"CAN","nationality_area_name":"Canada"},{"people_id":"8030779","first_name":"Victor","last_name":"Povzner","short_name":"V. Povzner","common_name":"Victor Povzner","nationality_area_id":"43","nationality_area_code":"CAN","nationality_area_name":"Canada"},{"people_id":"489665","first_name":"Zongyuan","last_name":"Wang","short_name":"Wang Zongyuan","common_name":"Wang Zongyuan","nationality_area_id":"49","nationality_area_code":"CHN","nationality_area_name":"China PR"},{"people_id":"8030550","first_name":"Hu","last_name":"Yukang","short_name":"Yukang Hu","common_name":"Yukang Hu","nationality_area_id":"49","nationality_area_code":"CHN","nationality_area_name":"China PR"},{"people_id":"7979244","first_name":"Jiuyuan","last_name":"Zheng","short_name":"Zheng Jiuyuan","common_name":"Zheng Jiuyuan","nationality_area_id":"49","nationality_area_code":"CHN","nationality_area_name":"China PR"},{"people_id":"7922888","first_name":"Luis Felipe","last_name":"Uribe Bermudez","short_name":"L. Uribe","common_name":"Luis Uribe","nationality_area_id":"51","nationality_area_code":"COL","nationality_area_name":"Colombia"},{"people_id":"7977907","first_name":"Matej","last_name":"Nevescanin","short_name":"M. Nevescanin","common_name":"Matej Nevescanin","nationality_area_id":"56","nationality_area_code":"HRV","nationality_area_name":"Croatia"},{"people_id":"7792454","first_name":"Jordan","last_name":"Houlden","short_name":"J. Houlden","common_name":"Jordan Houlden","nationality_area_id":"68","nationality_area_code":"ENG","nationality_area_name":"England"},{"people_id":"409807","first_name":"Jack David","last_name":"Laugher","short_name":"J. Laugher","common_name":"Jack Laugher","nationality_area_id":"68","nationality_area_code":"ENG","nationality_area_name":"England"},{"people_id":"7736853","first_name":"Gwendal","last_name":"Bisch","short_name":"G. Bisch","common_name":"Gwendal Bisch","nationality_area_id":"76","nationality_area_code":"FRA","nationality_area_name":"France"},{"people_id":"7922889","first_name":"Jules","last_name":"Bouyer","short_name":"J. Bouyer","common_name":"Jules Bouyer","nationality_area_id":"76","nationality_area_code":"FRA","nationality_area_name":"France"},{"people_id":"7736884","first_name":"Lou","last_name":"Massenberg","short_name":"L. Massenberg","common_name":"Lou Massenberg","nationality_area_id":"80","nationality_area_code":"DEU","nationality_area_name":"Germany"},{"people_id":"7922886","first_name":"Moritz","last_name":"Wesemann","short_name":"M. Wesemann","common_name":"Moritz Wesemann","nationality_area_id":"80","nationality_area_code":"DEU","nationality_area_name":"Germany"},{"people_id":"8030546","first_name":"Stefano ","last_name":"Belotti","short_name":"S. Belotti","common_name":"Stefano Belotti","nationality_area_id":"100","nationality_area_code":"ITA","nationality_area_name":"Italy"},{"people_id":"7979560","first_name":"Matteo","last_name":"Santoro","short_name":"M. Santoro","common_name":"Matteo Santoro","nationality_area_id":"100","nationality_area_code":"ITA","nationality_area_name":"Italy"},{"people_id":"409827","first_name":"Sho","last_name":"Sakai","short_name":"S. Sakai","common_name":"Sho Sakai","nationality_area_id":"102","nationality_area_code":"JPN","nationality_area_name":"Japan"},{"people_id":"409829","first_name":"Woo","last_name":"Haram","short_name":"Haram Woo","common_name":"Haram Woo","nationality_area_id":"107","nationality_area_code":"KOR","nationality_area_name":"Korea Republic"},{"people_id":"7934240","first_name":"Jaegyeong","last_name":"Yi","short_name":"Yi Jaegyeong","common_name":"Yi Jaegyeong","nationality_area_id":"107","nationality_area_code":"KOR","nationality_area_name":"Korea Republic"},{"people_id":"7736861","first_name":"Juan Manuel","last_name":"Celaya Hernandez","short_name":"Juan Celaya Hernandez","common_name":"Juan Celaya Hernandez","nationality_area_id":"129","nationality_area_code":"MEX","nationality_area_name":"Mexico"},{"people_id":"7939114","first_name":"Kevin Alexander","last_name":"Munoz Heredia","short_name":"K. Munoz","common_name":"Kevin Munoz","nationality_area_id":"129","nationality_area_code":"MEX","nationality_area_name":"Mexico"},{"people_id":"489676","first_name":"Osmar","last_name":"Olvera Ibarra","short_name":"O. Olvera","common_name":"Osmar Olvera","nationality_area_id":"129","nationality_area_code":"MEX","nationality_area_name":"Mexico"},{"people_id":"7736915","first_name":"Liam","last_name":"Stone","short_name":"L. Stone","common_name":"Liam Stone","nationality_area_id":"141","nationality_area_code":"NZL","nationality_area_name":"New Zealand"},{"people_id":"7792474","first_name":"Frazer John","last_name":"Tavener","short_name":"F. Tavener","common_name":"Frazer Tavener","nationality_area_id":"141","nationality_area_code":"NZL","nationality_area_name":"New Zealand"},{"people_id":"8030549","first_name":"Juan ","last_name":"Pablo Cortes Zapata","short_name":"Juan Pablo Cortes Zapata","common_name":"Juan Pablo Cortes Zapata","nationality_area_id":"176","nationality_area_code":"ESP","nationality_area_name":"Spain"},{"people_id":"7979247","first_name":"Jack","last_name":"Ryan","short_name":"J. Ryan","common_name":"Jack Ryan","nationality_area_id":"203","nationality_area_code":"USA","nationality_area_name":"United States"},{"people_id":"7934257","first_name":"Carson","last_name":"Tyler","short_name":"C. Tyler","common_name":"Carson Tyler","nationality_area_id":"203","nationality_area_code":"USA","nationality_area_name":"United States"},{"people_id":"7977919","first_name":"Vyacheslav","last_name":"Kachanov","short_name":"V. Kachanov","common_name":"Vyacheslav Kachanov","nationality_area_id":"205","nationality_area_code":"UZB","nationality_area_name":"Uzbekistan"}]},{"value":"female","age_group":"senior","contestant":[{"people_id":"409788","first_name":"Maddison","last_name":"Keeney","short_name":"M. Keeney","common_name":"Maddison Keeney","nationality_area_id":"19","nationality_area_code":"AUS","nationality_area_name":"Australia"},{"people_id":"7940301","first_name":"Alysha","last_name":"Koloi","short_name":"A. Koloi","common_name":"Alysha Koloi","nationality_area_id":"19","nationality_area_code":"AUS","nationality_area_name":"Australia"},{"people_id":"8030782","first_name":"Amelie-Laura","last_name":"Jasmin","short_name":"A. Jasmin","common_name":"Amelie Jasmin","nationality_area_id":"43","nationality_area_code":"CAN","nationality_area_name":"Canada"},{"people_id":"8030785","first_name":"Sonya","last_name":"Palkhivala","short_name":"S. Palkhivala","common_name":"Sonya Palkhivala","nationality_area_id":"43","nationality_area_code":"CAN","nationality_area_name":"Canada"},{"people_id":"7792464","first_name":"Mia Jolie Doucet","last_name":"Vallee","short_name":"M. Vallee","common_name":"Mia Vallee","nationality_area_id":"43","nationality_area_code":"CAN","nationality_area_name":"Canada"},{"people_id":"498923","first_name":"Yani","last_name":"Chang","short_name":"Chang Yani","common_name":"Chang Yani","nationality_area_id":"49","nationality_area_code":"CHN","nationality_area_name":"China PR"},{"people_id":"8030780","first_name":"Jia","last_name":"Chen","short_name":"Chen Jia","common_name":"Chen Jia","nationality_area_id":"49","nationality_area_code":"CHN","nationality_area_name":"China PR"},{"people_id":"498895","first_name":"Chen","last_name":"Yiwen","short_name":"Yiwen Chen","common_name":"Yiwen Chen","nationality_area_id":"49","nationality_area_code":"CHN","nationality_area_name":"China PR"},{"people_id":"7738009","first_name":"Anisley","last_name":"Garcia Navarro","short_name":"Anisley Garcia Navarro","common_name":"Anisley Garcia Navarro","nationality_area_id":"57","nationality_area_code":"CUB","nationality_area_name":"Cuba"},{"people_id":"7792465","first_name":"Desharne","last_name":"Bent-Ashmeil","short_name":"D. Bent-Ashmeil","common_name":"Desharne Bent-Ashmeil","nationality_area_id":"68","nationality_area_code":"ENG","nationality_area_name":"England"},{"people_id":"7792466","first_name":"Yasmin Isis","last_name":"Harper","short_name":"Y. Harper","common_name":"Yasmin Harper","nationality_area_id":"68","nationality_area_code":"ENG","nationality_area_name":"England"},{"people_id":"7933370","first_name":"Nais","last_name":"Gillet","short_name":"N. Gillet","common_name":"Nais Gillet","nationality_area_id":"76","nationality_area_code":"FRA","nationality_area_name":"France"},{"people_id":"7933369","first_name":"Jette","last_name":"Müller","short_name":"J. Müller","common_name":"Jette Müller","nationality_area_id":"80","nationality_area_code":"DEU","nationality_area_name":"Germany"},{"people_id":"7738056","first_name":"Chiara","last_name":"Pellacani","short_name":"C. Pellacani","common_name":"Chiara Pellacani","nationality_area_id":"100","nationality_area_code":"ITA","nationality_area_name":"Italy"},{"people_id":"8030781","first_name":"Elisa","last_name":"Pizzini","short_name":"E. Pizzini","common_name":"Elisa Pizzini","nationality_area_id":"100","nationality_area_code":"ITA","nationality_area_name":"Italy"},{"people_id":"489724","first_name":"Sayaka","last_name":"Mikami","short_name":"S. Mikami","common_name":"Sayaka Mikami","nationality_area_id":"102","nationality_area_code":"JPN","nationality_area_name":"Japan"},{"people_id":"8030787","first_name":"Lia Yatzil","last_name":"Cueva Lobato","short_name":"L. Cueva Lobato","common_name":"Lia Cueva Lobato","nationality_area_id":"129","nationality_area_code":"MEX","nationality_area_name":"Mexico"},{"people_id":"8030786","first_name":"Mia Zazil","last_name":"Cueva Lobato","short_name":"M. Cueva Lobato","common_name":"Mia Cueva Lobato","nationality_area_id":"129","nationality_area_code":"MEX","nationality_area_name":"Mexico"},{"people_id":"489737","first_name":"Michelle","last_name":"Heimberg","short_name":"M. Heimberg","common_name":"Michelle Heimberg","nationality_area_id":"185","nationality_area_code":"CHE","nationality_area_name":"Switzerland"},{"people_id":"8030784","first_name":"Kyndal","last_name":"Knight","short_name":"K. Knight","common_name":"Kyndal Knight","nationality_area_id":"203","nationality_area_code":"USA","nationality_area_name":"United States"},{"people_id":"8030783","first_name":"Sophia","last_name":"Verzyl","short_name":"S. Verzyl","common_name":"Sophia Verzyl","nationality_area_id":"203","nationality_area_code":"USA","nationality_area_name":"United States"}]}]}}}}}}}