{"__v":14,"_id":"564b85b7cc472d0d00da945d","category":{"__v":11,"_id":"564b797bcc472d0d00da9435","pages":["564b85b7cc472d0d00da945d","564b85cc4f06ef2b006b08b6","564b85dcdda79a19000f2673","564b85e8cc472d0d00da945f","564b85f9dda79a19000f2675","564b8608e6c67c2f0038366c","564b861bcc472d0d00da9461","564b862bcc472d0d00da9463","56e06a635fc52e320024d8ea","56e06a6d40ba87220064161a","56e06a755fc52e320024d8ec"],"project":"55773a5ba042551900b002cb","version":"55773a5ba042551900b002ce","sync":{"url":"","isSync":false},"reference":true,"createdAt":"2015-11-17T19:01:15.286Z","from_sync":false,"order":5,"slug":"team-api","title":"Team API"},"parentDoc":null,"project":"55773a5ba042551900b002cb","user":"546d17e2eb9cfd1400dd4529","version":{"__v":17,"_id":"55773a5ba042551900b002ce","project":"55773a5ba042551900b002cb","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"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"Motherboard","version_clean":"1.0.0","version":"1"},"updates":[],"next":{"pages":[],"description":""},"createdAt":"2015-11-17T19:53:27.589Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":true,"order":0,"body":"The **Team API** provides access to all team data. This is useful in producing statistics, team profiles and in media requests. The Team API takes several parameters from the Events and Federation APIs such as `country_id` and `event_id`.\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://app.getpostman.com/run-collection/06f318a04bcb3f2a1eac)\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/L0O9WkSR6L8MY891BnFw_hamburg-team-msj_43.jpg\",\n        \"hamburg-team-msj_43.jpg\",\n        \"1629\",\n        \"1084\",\n        \"#265195\",\n        \"\"\n      ],\n      \"caption\": \"The Team API provides access to all team data\"\n    }\n  ]\n}\n[/block]\n\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Basic Team Object\"\n}\n[/block]\n\n[block:callout]\n{\n  \"type\": \"info\",\n  \"title\": \"The basic team object is a simplified version of the corresponding athlete object\"\n}\n[/block]\nWhen using the team listing call or where teams are returned from different API calls e.g. results and start lists a basic team object is returned which will always conform to the following specification. If further detail is required request the full athlete listing using the Retrieve Team Information API call.\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"{\\n   \\\"team_id\\\":11448,\\n   \\\"team_title\\\":\\\"Team I Great Britain\\\",\\n   \\\"team_slug\\\":\\\"team_i_great_britain\\\",\\n   \\\"team_country_id\\\":292,\\n   \\\"team_profile_image\\\":null,\\n   \\\"team_noc\\\":\\\"GBR\\\",\\n   \\\"team_country_name\\\":\\\"Great Britain\\\",\\n   \\\"team_country_isoa2\\\":\\\"GB\\\",\\n   \\\"team_listing\\\":\\\"http:\\\\/\\\\/www.triathlon.org\\\\/athletes\\\\/profile\\\\/11448\\\\/team_i_great_britain\\\",\\n   \\\"team_flag\\\":\\\"https:\\\\/\\\\/f9ca11ef49c28681fc01-0acbf57e00c47a50e70a1acb89e86c89.ssl.cf1.rackcdn.com\\\\/images\\\\/icons\\\\/gb.png\\\",\\n   \\\"team_api_listing\\\":\\\"https:\\\\/\\\\/api.triathlon.org\\\\/v1\\\\/v1\\\\/athletes\\\\/11448\\\"\\n}\",\n      \"language\": \"json\",\n      \"name\": \"Basic Team Object\"\n    }\n  ]\n}\n[/block]","excerpt":"","slug":"team-api-overview","type":"basic","title":"Team API Overview"}
The **Team API** provides access to all team data. This is useful in producing statistics, team profiles and in media requests. The Team API takes several parameters from the Events and Federation APIs such as `country_id` and `event_id`. [![Run in Postman](https://run.pstmn.io/button.svg)](https://app.getpostman.com/run-collection/06f318a04bcb3f2a1eac) [block:image] { "images": [ { "image": [ "https://files.readme.io/L0O9WkSR6L8MY891BnFw_hamburg-team-msj_43.jpg", "hamburg-team-msj_43.jpg", "1629", "1084", "#265195", "" ], "caption": "The Team API provides access to all team data" } ] } [/block] [block:api-header] { "type": "basic", "title": "Basic Team Object" } [/block] [block:callout] { "type": "info", "title": "The basic team object is a simplified version of the corresponding athlete object" } [/block] When using the team listing call or where teams are returned from different API calls e.g. results and start lists a basic team object is returned which will always conform to the following specification. If further detail is required request the full athlete listing using the Retrieve Team Information API call. [block:code] { "codes": [ { "code": "{\n \"team_id\":11448,\n \"team_title\":\"Team I Great Britain\",\n \"team_slug\":\"team_i_great_britain\",\n \"team_country_id\":292,\n \"team_profile_image\":null,\n \"team_noc\":\"GBR\",\n \"team_country_name\":\"Great Britain\",\n \"team_country_isoa2\":\"GB\",\n \"team_listing\":\"http:\\/\\/www.triathlon.org\\/athletes\\/profile\\/11448\\/team_i_great_britain\",\n \"team_flag\":\"https:\\/\\/f9ca11ef49c28681fc01-0acbf57e00c47a50e70a1acb89e86c89.ssl.cf1.rackcdn.com\\/images\\/icons\\/gb.png\",\n \"team_api_listing\":\"https:\\/\\/api.triathlon.org\\/v1\\/v1\\/athletes\\/11448\"\n}", "language": "json", "name": "Basic Team Object" } ] } [/block]