{"_id":"564b6753cc472d0d00da940e","version":{"_id":"55773a5ba042551900b002ce","project":"55773a5ba042551900b002cb","__v":18,"createdAt":"2015-06-09T19:11:23.764Z","releaseDate":"2015-06-09T19:11:23.764Z","categories":["55773a5ca042551900b002cf","55773a6ce6063e0d00481380","55773ab007e7110d001043ec","55773abaa042551900b002d5","55773ac207e7110d001043ed","55773acb07e7110d001043ee","55773ad3a042551900b002d6","55773adce6063e0d00481383","55773ae4a042551900b002d7","55773af307e7110d001043ef","55773af907e7110d001043f0","55773b0407e7110d001043f1","563a4f7ad25e8919005f3f39","563a4fcaa19edf0d00972321","564a70dc4cd0521700523edf","564b797bcc472d0d00da9435","564b855b766d4923004e1fd1","59cd4b81935249001c77c48e"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"Motherboard","version_clean":"1.0.0","version":"1"},"project":"55773a5ba042551900b002cb","__v":2,"category":{"_id":"55773abaa042551900b002d5","version":"55773a5ba042551900b002ce","__v":18,"pages":["55776c06a042551900b0034f","564a6fdf4cd0521700523edc","564b6753cc472d0d00da940e","564b78801ed5c823003eb640","564b788fcc472d0d00da942e","564b7898dda79a19000f2641","564b78bfdda79a19000f2643","564b78cd1ed5c823003eb643","564b78ebdda79a19000f2646","564b791d766d4923004e1fb3","564b7929e323d01700a5132f","564b7935766d4923004e1fb5","564b793fe323d01700a51331","564b7957cc472d0d00da9431","564b7962dda79a19000f2648","564b79b31ed5c823003eb645","564b79c31ed5c823003eb647","564b79fee323d01700a51336"],"project":"55773a5ba042551900b002cb","sync":{"url":"","isSync":false},"reference":true,"createdAt":"2015-06-09T19:12:58.040Z","from_sync":false,"order":2,"slug":"athletes-api","title":"Athletes API"},"editedParams2":true,"user":"546d17e2eb9cfd1400dd4529","editedParams":true,"parentDoc":null,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2015-11-17T17:43:47.251Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[{"status":200,"name":"","code":"{\n    \"code\": 200,\n    \"status\": \"success\",\n    \"data\": {\n        \"athlete_id\": 11378,\n        \"athlete_title\": \"Jonathan Brownlee\",\n        \"athlete_slug\": \"jonathan_brownlee\",\n        \"athlete_edit_date\": \"2016-02-09T14:04:34+00:00\",\n        \"athlete_first\": \"Jonathan\",\n        \"athlete_last\": \"Brownlee\",\n        \"athlete_country_id\": 292,\n        \"athlete_gender\": \"male\",\n        \"athlete_yob\": \"1990\",\n        \"validated\": false,\n        \"athlete_profile_image\": \"http://www.triathlon.org/images/athlete_thumbs/johnathon-brownlee-181x181.jpg\",\n        \"athlete_noc\": \"GBR\",\n        \"athlete_country_name\": \"Great Britain\",\n        \"athlete_country_isoa2\": \"GB\",\n        \"athlete_listing\": \"http://www.triathlon.org/athletes/profile/11378/jonathan_brownlee\",\n        \"athlete_flag\": \"https://f9ca11ef49c28681fc01-0acbf57e00c47a50e70a1acb89e86c89.ssl.cf1.rackcdn.com/images/icons/gb.png\",\n        \"athlete_api_listing\": \"https://api.triathlon.org/v1/v1/athletes/11378\",\n        \"athlete_categories\": [\n            42\n        ],\n        \"profile_edit_date\": \"2016-02-09T14:04:34+00:00\",\n        \"presentation_summary\": \"2009 World Junior Silver Medallist\\n2010 World U23 Champion\\n2014 World Championship Bronze Medallist,\\n2 time World Championship Silver Medallist,\\n2012 World Champion &\\nLondon 2012 Olympic Bronze Medallist\",\n        \"biography\": \"Jonathan Brownlee is a professional English triathlete. He was the 2012 Triathlon World Champion, and the silver medalist in 2011 and 2013. Brownlee is the two time World Sprint Triathlon Champion and is the former Under 23 Triathlon World Champion (2010). Brownlee won the bronze medal in the Olympic triathlon at the London 2012 Olympic Games. His brother, Alistair Brownlee, is also a triathlon champion, having won the gold medal at the 2012 Olympics.\\n\\nJonathan was educated at Bradford Grammar School before attending the University of Leeds, where he is studying history. He is a member of the Bingley Harriers and is coached by Malcolm Brown and Jack Maitland at the British Triathlon Federation's High Performance Centre, based at Leeds Metropolitan University's Carnegie Centre.\\n\\nJonathan's older brother Alistair Brownlee was the winner of the 2009 ITU Triathlon World Championships and the 2011 Dextro Energy Triathlon ITU World Championship Series.\\n\\nJonathan Brownlee was the British youth champion in both triathlon and duathlon in both 2006 and 2007.  In 2008 he won bronze medals at both the ETU European Junior Triathlon Championships and ITU World Junior Championships, and placed 17th in his ITU World Championship Series début event in Kitzbühel.  During the 2009 season he also won gold in the triathlon at the Australian Youth Olympic Festival and competed in two races in the 2009 ITU World Championship Series, finishing 13th in Kitzbühel and 27th in London. \\n-<i><a href=\\\"http://en.wikipedia.org/wiki/Jonathan_Brownlee\\\" title=\\\"\\\"Jonathan Brownlee\\\"\\\">\\\"Jonathan Brownlee\\\"</a>. wikipedia.org. Retrieved 2011-12-16.</i>\",\n        \"website\": null,\n        \"twitter\": \"jonny_brownlee\",\n        \"facebook\": null,\n        \"place_of_birth\": \"Horsforth, Leeds\",\n        \"weight\": null,\n        \"height\": null,\n        \"nickname\": \"Jonny\",\n        \"residence\": null,\n        \"languages_spoken\": null,\n        \"debut\": null,\n        \"occupation\": null,\n        \"other_sports_competed\": null,\n        \"higher_education\": \"Bradford Grammar School, University of Leeds\",\n        \"marital_status\": \"single\",\n        \"hobbies\": null,\n        \"spouse_children\": null,\n        \"hero\": null,\n        \"memorable_achievement\": null,\n        \"injuries\": null,\n        \"coach\": \"Malcolm Brown and Jack Maitland\",\n        \"tag_info\": {\n            \"tag_id\": 252,\n            \"tag_name\": \"jonathan brownlee\",\n            \"channel_entries\": 173,\n            \"clicks\": 11565,\n            \"image_entries\": 36\n        },\n        \"latest_images\": [\n            {\n                \"gallery_id\": 104868,\n                \"image_id\": 57603,\n                \"image_filename\": \"del_0295.jpg\",\n                \"image_filesize\": \"1.32MB\",\n                \"image_extension\": \"jpg\",\n                \"image_width\": 4928,\n                \"image_height\": 3280,\n                \"image_date\": \"2016-04-12T23:10:45Z\",\n                \"image_url\": \"http://www.triathlon.org/uploads/hrgalleries/104868/del_0295.jpg\",\n                \"thumbnail\": \"http://www.triathlon.org/uploads/hrgalleries/104868/del_0295__medium.jpg\",\n                \"event\": {\n                    \"event_id\": 97637,\n                    \"event_title\": \"2016 ITU World Triathlon Gold Coast\",\n                    \"event_slug\": \"2016_itu_world_triathlon_gold_coast\",\n                    \"event_edit_date\": \"2016-04-11T18:47:28+00:00\",\n                    \"event_venue\": \"Gold Coast\",\n                    \"event_country\": \"Australia\",\n                    \"event_latitude\": -28.01726,\n                    \"event_longitude\": 153.4257,\n                    \"event_date\": \"2016-04-09\",\n                    \"event_finish_date\": \"2016-04-10\",\n                    \"event_country_isoa2\": \"AU\",\n                    \"event_country_noc\": \"AUS\",\n                    \"event_region_id\": 14,\n                    \"event_country_id\": 111,\n                    \"event_region_name\": \"Oceania\",\n                    \"event_categories\": [\n                        {\n                            \"cat_name\": \"World Triathlon Series\",\n                            \"cat_id\": 351,\n                            \"cat_parent_id\": 0\n                        }\n                    ],\n                    \"event_specifications\": [\n                        {\n                            \"cat_name\": \"Triathlon\",\n                            \"cat_id\": 357,\n                            \"cat_parent_id\": 0\n                        },\n                        {\n                            \"cat_name\": \"Standard\",\n                            \"cat_id\": 377,\n                            \"cat_parent_id\": 357\n                        }\n                    ],\n                    \"event_flag\": \"https://f9ca11ef49c28681fc01-0acbf57e00c47a50e70a1acb89e86c89.ssl.cf1.rackcdn.com/images/icons/au.png\",\n                    \"event_listing\": \"http://www.triathlon.org/events/event/2016_itu_world_triathlon_gold_coast\",\n                    \"event_api_listing\": \"https://api.triathlon.org/v1/v1/events/97637\"\n                }\n            }\n        ],\n        \"latest_news\": [\n            {\n                \"news_id\": 104867,\n                \"news_title\": \"Mola continues winning streak in Gold Coast\",\n                \"news_slug\": \"mola_continues_winning_streak_in_gold_coast\",\n                \"news_entry_date\": \"2016-04-09T04:51:55Z\",\n                \"news_excerpt\": \"Keeping his undefeated 2016 streak alive, Spaniard Mario Mola executed a brilliant finishing run to win the 2016 Jewel World Triathlon Gold Coast on Saturday. \\n\",\n                \"news_thumbnail\": \"http://www.triathlon.org/images/news_thumbs/DEL_0826_v2.jpg\",\n                \"news_tab_image\": \"http://www.triathlon.org/images/news_thumbs/DEL_0826_v21.jpg\",\n                \"news_multipurpose_image\": \"http://www.triathlon.org/images/news_thumbs/DEL_0826.JPG\",\n                \"news_url\": \"http://www.triathlon.org/news/article/mola_continues_winning_streak_in_gold_coast\",\n                \"news_api_url\": \"https://api.triathlon.org/content/news/104867\",\n                \"news_categories\": [\n                    {\n                        \"cat_name\": \"World Championship Series\",\n                        \"cat_id\": 6,\n                        \"cat_parent_id\": 8\n                    },\n                    {\n                        \"cat_name\": \"Events\",\n                        \"cat_id\": 8,\n                        \"cat_parent_id\": 0\n                    }\n                ]\n            }\n        ],\n        \"latest_videos\": [\n            {\n                \"video_id\": 104916,\n                \"video_title\": \"2016 Gold Coast Men ESP\",\n                \"video_slug\": \"2016_gold_coast_men_esp\",\n                \"video_entry_date\": \"2016-04-12T18:01:22Z\",\n                \"video_thumbnail\": \"http://www.triathlon.org/images/news_thumbs/1398079.jpg\",\n                \"video_caption\": \"Manteniendo su invicto 2016 racha, el español Mario Mola ejecutado un proceso de acabado brillante para ganar el Mundial de Triatlón 2016 Joya Gold Coast.\",\n                \"youtube_url\": \"https://www.youtube.com/embed/2XLuTIk-qoQ\",\n                \"video_url\": \"http://www.triathlon.org/multimedia/video/2016_gold_coast_men_esp\",\n                \"video_api_url\": \"https://api.triathlon.org/content/videos/104916\",\n                \"video_categories\": [\n                    {\n                        \"cat_name\": \"Events\",\n                        \"cat_id\": 59,\n                        \"cat_parent_id\": 0\n                    },\n                    {\n                        \"cat_name\": \"World Triathlon Series\",\n                        \"cat_id\": 60,\n                        \"cat_parent_id\": 59\n                    },\n                    {\n                        \"cat_name\": \"Spanish\",\n                        \"cat_id\": 424,\n                        \"cat_parent_id\": 0\n                    }\n                ]\n            }\n        ],\n        \"results_wts\": [\n            {\n                \"event_id\": 97637,\n                \"event_title\": \"2016 ITU World Triathlon Gold Coast\",\n                \"event_slug\": \"2016_itu_world_triathlon_gold_coast\",\n                \"event_edit_date\": \"2016-04-11T18:47:28+00:00\",\n                \"event_venue\": \"Gold Coast\",\n                \"event_country\": \"Australia\",\n                \"event_latitude\": -28.01726,\n                \"event_longitude\": 153.4257,\n                \"event_date\": \"2016-04-09\",\n                \"event_finish_date\": \"2016-04-10\",\n                \"event_country_isoa2\": \"AU\",\n                \"event_country_noc\": \"AUS\",\n                \"event_region_id\": 14,\n                \"event_country_id\": 111,\n                \"event_region_name\": \"Oceania\",\n                \"event_categories\": [\n                    {\n                        \"cat_name\": \"World Triathlon Series\",\n                        \"cat_id\": 351,\n                        \"cat_parent_id\": 0\n                    }\n                ],\n                \"event_specifications\": [\n                    {\n                        \"cat_name\": \"Triathlon\",\n                        \"cat_id\": 357,\n                        \"cat_parent_id\": 0\n                    },\n                    {\n                        \"cat_name\": \"Standard\",\n                        \"cat_id\": 377,\n                        \"cat_parent_id\": 357\n                    }\n                ],\n                \"event_flag\": \"https://f9ca11ef49c28681fc01-0acbf57e00c47a50e70a1acb89e86c89.ssl.cf1.rackcdn.com/images/icons/au.png\",\n                \"event_listing\": \"http://www.triathlon.org/events/event/2016_itu_world_triathlon_gold_coast\",\n                \"event_api_listing\": \"https://api.triathlon.org/v1/v1/events/97637\",\n                \"prog_id\": 280765,\n                \"prog_name\": \"Elite Men\",\n                \"result_id\": 526904,\n                \"position\": 3,\n                \"total_time\": \"01:47:09\",\n                \"result_listing\": \"http://www.triathlon.org/results/result/2016_itu_world_triathlon_gold_coast/280765\",\n                \"result_api_listing\": \"https://api.triathlon.org/v1/events/97637/programs/280765/results\",\n                \"headers\": [\n                    {\n                        \"segment\": \"leg1\",\n                        \"name\": \"Swim\"\n                    },\n                    {\n                        \"segment\": \"t1\",\n                        \"name\": \"T1\"\n                    },\n                    {\n                        \"segment\": \"leg2\",\n                        \"name\": \"Bike\"\n                    },\n                    {\n                        \"segment\": \"t2\",\n                        \"name\": \"T2\"\n                    },\n                    {\n                        \"segment\": \"leg3\",\n                        \"name\": \"Run\"\n                    }\n                ],\n                \"headers_count\": 5,\n                \"splits\": [\n                    \"00:16:12\",\n                    \"00:00:27\",\n                    \"00:58:43\",\n                    \"00:00:21\",\n                    \"00:31:28\"\n                ]\n            }\n        ],\n        \"major_games\": [\n            {\n                \"event_id\": 60952,\n                \"event_title\": \"2012 London Olympic Games\",\n                \"event_slug\": \"2012_london_olympic_games\",\n                \"event_edit_date\": \"2014-05-07T18:50:41+00:00\",\n                \"event_venue\": \"London\",\n                \"event_country\": \"Great Britain\",\n                \"event_latitude\": 51.504442,\n                \"event_longitude\": -0.1710926,\n                \"event_date\": \"2012-08-04\",\n                \"event_finish_date\": \"2012-08-07\",\n                \"event_country_isoa2\": \"GB\",\n                \"event_country_noc\": \"GBR\",\n                \"event_region_id\": 10,\n                \"event_country_id\": 292,\n                \"event_region_name\": \"Europe\",\n                \"event_categories\": [\n                    {\n                        \"cat_name\": \"Major Games\",\n                        \"cat_id\": 343,\n                        \"cat_parent_id\": 0\n                    }\n                ],\n                \"event_specifications\": [\n                    {\n                        \"cat_name\": \"Triathlon\",\n                        \"cat_id\": 357,\n                        \"cat_parent_id\": 0\n                    },\n                    {\n                        \"cat_name\": \"Standard\",\n                        \"cat_id\": 377,\n                        \"cat_parent_id\": 357\n                    }\n                ],\n                \"event_flag\": \"https://f9ca11ef49c28681fc01-0acbf57e00c47a50e70a1acb89e86c89.ssl.cf1.rackcdn.com/images/icons/gb.png\",\n                \"event_listing\": \"http://www.triathlon.org/events/event/2012_london_olympic_games\",\n                \"event_api_listing\": \"https://api.triathlon.org/v1/v1/events/60952\",\n                \"prog_id\": 8597,\n                \"prog_name\": \"Elite Men\",\n                \"result_id\": 356244,\n                \"position\": 3,\n                \"total_time\": \"01:46:56\",\n                \"result_listing\": \"http://www.triathlon.org/results/result/2012_london_olympic_games/8597\",\n                \"result_api_listing\": \"https://api.triathlon.org/v1/events/60952/programs/8597/results\",\n                \"headers\": [\n                    {\n                        \"segment\": \"leg1\",\n                        \"name\": \"Swim\"\n                    },\n                    {\n                        \"segment\": \"t1\",\n                        \"name\": \"T1\"\n                    },\n                    {\n                        \"segment\": \"leg2\",\n                        \"name\": \"Bike\"\n                    },\n                    {\n                        \"segment\": \"t2\",\n                        \"name\": \"T2\"\n                    },\n                    {\n                        \"segment\": \"leg3\",\n                        \"name\": \"Run\"\n                    }\n                ],\n                \"headers_count\": 5,\n                \"splits\": [\n                    \"00:17:02\",\n                    \"00:00:38\",\n                    \"00:59:11\",\n                    \"00:00:28\",\n                    \"00:29:37\"\n                ]\n            }\n        ],\n        \"latest_results\": [\n            {\n                \"event_id\": 97637,\n                \"event_title\": \"2016 ITU World Triathlon Gold Coast\",\n                \"event_slug\": \"2016_itu_world_triathlon_gold_coast\",\n                \"event_edit_date\": \"2016-04-11T18:47:28+00:00\",\n                \"event_venue\": \"Gold Coast\",\n                \"event_country\": \"Australia\",\n                \"event_latitude\": -28.01726,\n                \"event_longitude\": 153.4257,\n                \"event_date\": \"2016-04-09\",\n                \"event_finish_date\": \"2016-04-10\",\n                \"event_country_isoa2\": \"AU\",\n                \"event_country_noc\": \"AUS\",\n                \"event_region_id\": 14,\n                \"event_country_id\": 111,\n                \"event_region_name\": \"Oceania\",\n                \"event_categories\": [\n                    {\n                        \"cat_name\": \"World Triathlon Series\",\n                        \"cat_id\": 351,\n                        \"cat_parent_id\": 0\n                    }\n                ],\n                \"event_specifications\": [\n                    {\n                        \"cat_name\": \"Triathlon\",\n                        \"cat_id\": 357,\n                        \"cat_parent_id\": 0\n                    },\n                    {\n                        \"cat_name\": \"Standard\",\n                        \"cat_id\": 377,\n                        \"cat_parent_id\": 357\n                    }\n                ],\n                \"event_flag\": \"https://f9ca11ef49c28681fc01-0acbf57e00c47a50e70a1acb89e86c89.ssl.cf1.rackcdn.com/images/icons/au.png\",\n                \"event_listing\": \"http://www.triathlon.org/events/event/2016_itu_world_triathlon_gold_coast\",\n                \"event_api_listing\": \"https://api.triathlon.org/v1/v1/events/97637\",\n                \"prog_id\": 280765,\n                \"prog_name\": \"Elite Men\",\n                \"result_id\": 526904,\n                \"position\": 3,\n                \"total_time\": \"01:47:09\",\n                \"result_listing\": \"http://www.triathlon.org/results/result/2016_itu_world_triathlon_gold_coast/280765\",\n                \"result_api_listing\": \"https://api.triathlon.org/v1/events/97637/programs/280765/results\",\n                \"headers\": [\n                    {\n                        \"segment\": \"leg1\",\n                        \"name\": \"Swim\"\n                    },\n                    {\n                        \"segment\": \"t1\",\n                        \"name\": \"T1\"\n                    },\n                    {\n                        \"segment\": \"leg2\",\n                        \"name\": \"Bike\"\n                    },\n                    {\n                        \"segment\": \"t2\",\n                        \"name\": \"T2\"\n                    },\n                    {\n                        \"segment\": \"leg3\",\n                        \"name\": \"Run\"\n                    }\n                ],\n                \"headers_count\": 5,\n                \"splits\": [\n                    \"00:16:12\",\n                    \"00:00:27\",\n                    \"00:58:43\",\n                    \"00:00:21\",\n                    \"00:31:28\"\n                ]\n            }\n        ],\n        \"current_rankings\": {\n            \"points_list\": {\n                \"ranking_name\": \"Points List\",\n                \"ranking_cat_id\": 3,\n                \"ranking\": 16\n            },\n            \"world_triathlon_series\": {\n                \"ranking_name\": \"World Triathlon Series\",\n                \"ranking_cat_id\": 4,\n                \"ranking\": 9\n            }\n        },\n        \"stats\": {\n            \"race_starts\": 57,\n            \"race_finishes\": 56,\n            \"finish_percentage\": 98,\n            \"race_wins\": 19,\n            \"race_podiums\": 40,\n            \"race_podium_percentage\": 70\n        }\n    }\n}","language":"json"}]},"settings":"","examples":{"codes":[]},"method":"get","auth":"required","params":[{"_id":"564b67803b0d4917007ddbed","ref":"","in":"path","required":true,"desc":"The unique id of the athlete to be returned","default":"","type":"int","name":"athlete_id"},{"_id":"564b67803b0d4917007ddbec","ref":"","in":"query","required":false,"desc":"Return only a basic athlete object","default":"","type":"string","name":"output"}],"url":"/athletes/:athlete_id"},"isReference":true,"order":2,"body":"The **Retrieve Athlete Information** method returns a full athlete profile for a given `athlete_id`.\n\nFor the latest results, news, videos and images the latest **5** results are included. If you require more then please consult the relevant endpoints for results, news, videos and images.\n[block:callout]\n{\n  \"type\": \"warning\",\n  \"title\": \"Full vs Basic Profile\",\n  \"body\": \"Due to the quantity of information in a full profile this call should only be used when necessary. A large amount of information is also available in the basic profile and is a much faster API call and is the preferred method for obtaining athlete basic profile data. To obtain a basic profile simply use the parameter **output=basic** as in the following example.\"\n}\n[/block]\n\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"curl --header \\\"apikey: [[app:key]]\\\" https://api.triathlon.org/v1/athletes/5695?output=basic\",\n      \"language\": \"curl\",\n      \"name\": \"Athlete Basic Profile\"\n    }\n  ]\n}\n[/block]","excerpt":"","slug":"retrieve-athlete-information","type":"endpoint","title":"Retrieve Athlete Information"}

getRetrieve Athlete Information


Definition

{{ api_url }}{{ page_api_url }}

Parameters

Path Params

athlete_id:
required
integer
The unique id of the athlete to be returned

Query Params

output:
string
Return only a basic athlete object

Result Format


Documentation

The **Retrieve Athlete Information** method returns a full athlete profile for a given `athlete_id`. For the latest results, news, videos and images the latest **5** results are included. If you require more then please consult the relevant endpoints for results, news, videos and images. [block:callout] { "type": "warning", "title": "Full vs Basic Profile", "body": "Due to the quantity of information in a full profile this call should only be used when necessary. A large amount of information is also available in the basic profile and is a much faster API call and is the preferred method for obtaining athlete basic profile data. To obtain a basic profile simply use the parameter **output=basic** as in the following example." } [/block] [block:code] { "codes": [ { "code": "curl --header \"apikey: [[app:key]]\" https://api.triathlon.org/v1/athletes/5695?output=basic", "language": "curl", "name": "Athlete Basic Profile" } ] } [/block]

User Information

Try It Out

get
{{ tryResults.results }}
Method{{ tryResults.method }}
Request Headers
{{ tryResults.requestHeaders }}
URL{{ tryResults.url }}
Request Data
{{ tryResults.data }}
Status
Response Headers
{{ tryResults.responseHeaders }}