/v1/roster
A team roster
Try it live
10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.
It works. Grab an API key and use it in your project.
Get an API keyCode snippets
curl "https://api.oanor.com/nhl-api/v1/roster" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/nhl-api/v1/roster", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/nhl-api/v1/roster");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/nhl-api/v1/roster",
headers={"x-oanor-key": "oanor_test_..."}
)
Example response
A real response from this endpoint, captured by the latest health check.
{
"data": {
"team": {
"abbr": "TOR",
"name": "Toronto Maple Leafs"
},
"count": 42,
"season": "20242025",
"players": [
{
"id": 8481720,
"name": "Nick Abruzzese",
"group": "forwards",
"number": 26,
"shoots": "L",
"position": "C",
"height_in": 71,
"weight_lb": 183,
"birth_country": "USA"
},
{
"id": 8477503,
"name": "Max Domi",
"group": "forwards",
"number": 11,
"shoots": "L",
"position": "C",
"height_in": 70,
"weight_lb": 209,
"birth_country": "CAN"
},
{
"id": 8482130,
"name": "Roni Hirvonen",
"group": "forwards",
"number": 33,
"shoots": "L",
"position": "C",
"height_in": 70,
"weight_lb": 178,
"birth_country": "FIN"
},
{
"id": 8480995,
"name": "Pontus Holmberg",
"group": "forwards",
"number": 29,
"shoots": "L",
"position": "R",
"height_in": 72,
"weight_lb": 201,
"birth_country": "SWE"
},
{
"id": 8475714,
"name": "Calle Jarnkrok",
"group": "forwards",
"number": 19,
"shoots": "R",
"position": "C",
"height_in": 72,
"weight_lb": 191,
"birth_country": "SWE"
},
{
"id": 8481147,
"name": "Reese Johnson",
"group": "forwards",
"number": 71,
"shoots": "R",
"position": "C",
"height_in": 73,
"weight_lb": 193,
"birth_country": "CAN"
},
{
"id": 8480144,
"name": "David Kampf",
"group": "forwards",
"number": 64,
"shoots": "L",
"position": "C",
"height_in": 74,
"weight_lb": 193,
"birth_country": "CZE"
},
{
"id": 8482720,
"name": "Matthew Knies",
"group": "forwards",
"number": 23,
"shoots": "L",
"position": "L",
"height_in": 75,
"weight_lb": 227,
"birth_country": "USA"
},
{
"id": 8476872,
"name": "Scott Laughton",
"group": "
…