Get players for a team
curl --request GET \
--url https://therundown.io/api/v2/teams/{teamID}/players \
--header 'X-TheRundown-Key: <api-key>'import requests
url = "https://therundown.io/api/v2/teams/{teamID}/players"
headers = {"X-TheRundown-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-TheRundown-Key': '<api-key>'}};
fetch('https://therundown.io/api/v2/teams/{teamID}/players', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://therundown.io/api/v2/teams/{teamID}/players",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-TheRundown-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://therundown.io/api/v2/teams/{teamID}/players"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-TheRundown-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://therundown.io/api/v2/teams/{teamID}/players")
.header("X-TheRundown-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://therundown.io/api/v2/teams/{teamID}/players")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-TheRundown-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"players": [
{
"id": 16661,
"sport_id": 4,
"team_id": 11,
"updated_at": "2026-10-15T13:42:53Z",
"first_name": "Aaron",
"last_name": "Wiggins",
"display_name": "Aaron Wiggins",
"weight": 190,
"height": 77,
"display_weight": "190 lbs",
"display_height": "6' 5\"",
"age": 27,
"date_of_birth": "1999-01-02T08:00Z",
"slug": "aaron-wiggins",
"jersey": "2",
"position": "Guard",
"position_abbreviation": "G",
"birth_place_city": "Greensboro",
"birth_place_country": "USA",
"experience_years": 0,
"active": true,
"status": "Active"
},
{
"id": 14673859,
"sport_id": 4,
"team_id": 11,
"updated_at": "2026-10-15T13:42:53Z",
"first_name": "Asa",
"last_name": "Newell",
"display_name": "Asa Newell",
"weight": 224,
"height": 83,
"display_weight": "224 lbs",
"display_height": "6' 11\"",
"age": 21,
"date_of_birth": "2005-10-05T07:00Z",
"slug": "asa-newell",
"jersey": "14",
"position": "Forward",
"position_abbreviation": "F",
"birth_place_city": "Destin",
"birth_place_country": "USA",
"experience_years": 0,
"active": true,
"status": "Active"
}
]
}V2 Teams
Get players for a team
Retrieve players for a team with the V2 sports data API. Review the team ID parameter and documented response.
GET
/
api
/
v2
/
teams
/
{teamID}
/
players
Get players for a team
curl --request GET \
--url https://therundown.io/api/v2/teams/{teamID}/players \
--header 'X-TheRundown-Key: <api-key>'import requests
url = "https://therundown.io/api/v2/teams/{teamID}/players"
headers = {"X-TheRundown-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-TheRundown-Key': '<api-key>'}};
fetch('https://therundown.io/api/v2/teams/{teamID}/players', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://therundown.io/api/v2/teams/{teamID}/players",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-TheRundown-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://therundown.io/api/v2/teams/{teamID}/players"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-TheRundown-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://therundown.io/api/v2/teams/{teamID}/players")
.header("X-TheRundown-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://therundown.io/api/v2/teams/{teamID}/players")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-TheRundown-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"players": [
{
"id": 16661,
"sport_id": 4,
"team_id": 11,
"updated_at": "2026-10-15T13:42:53Z",
"first_name": "Aaron",
"last_name": "Wiggins",
"display_name": "Aaron Wiggins",
"weight": 190,
"height": 77,
"display_weight": "190 lbs",
"display_height": "6' 5\"",
"age": 27,
"date_of_birth": "1999-01-02T08:00Z",
"slug": "aaron-wiggins",
"jersey": "2",
"position": "Guard",
"position_abbreviation": "G",
"birth_place_city": "Greensboro",
"birth_place_country": "USA",
"experience_years": 0,
"active": true,
"status": "Active"
},
{
"id": 14673859,
"sport_id": 4,
"team_id": 11,
"updated_at": "2026-10-15T13:42:53Z",
"first_name": "Asa",
"last_name": "Newell",
"display_name": "Asa Newell",
"weight": 224,
"height": 83,
"display_weight": "224 lbs",
"display_height": "6' 11\"",
"age": 21,
"date_of_birth": "2005-10-05T07:00Z",
"slug": "asa-newell",
"jersey": "14",
"position": "Forward",
"position_abbreviation": "F",
"birth_place_city": "Destin",
"birth_place_country": "USA",
"experience_years": 0,
"active": true,
"status": "Active"
}
]
}