SportAPINHLGet SportAPI Key

Teams / Toronto Maple Leafs

Toronto Maple Leafs

Division
Atlantic
Conference
Eastern
Head coach
Jim Hiller
Arena
Scotiabank Arena
26Points
11-15-4W-L-OTL
L1Streak

Roster

Forwards

#PlayerPosShootsHeightWeightAgeBorn
15Colton SissonsCR6′1″207 lb33North Vancouver, BC, Canada
18Miles WoodLWL6′2″209 lb31Buffalo, NY, USA
19Zack MacEwenRWR6′4″227 lb30Charlottetown, PE, Canada
20Nick PaulLWL6′3″225 lb31Mississauga, ON, Canada
24Brandon DuhaimeLWL6′2″214 lb29Coral Springs, FL, USA
26Aatu RätyCL6′2″205 lb24Oulu, Finland
29Bo GroulxCL6′2″203 lb26Rouen, France
34Auston MatthewsCL6′3″214 lb29San Ramon, CA, USA
53Easton CowanRWL6′0″190 lb21Mount Brydges, ON, Canada
73Teddy BluegerCL6′0″185 lb32Riga, Latvia
77Ryan TverbergCR5′11″187 lb24Richmond Hill, ON, Canada
81Dakota JoshuaCL6′3″218 lb30Dearborn, MI, USA
86Kirill MarchenkoRWR6′3″201 lb26Barnaul, Russia
88William NylanderRWR6′0″201 lb30Calgary, AB, Canada
90Brendan BrissonCL6′0″187 lb25Los Angeles, CA, USA
91John TavaresCL6′1″212 lb36Mississauga, ON, Canada
92Gavin McKennaLWL5′11″163 lb18Whitehorse, YT, Canada
96Jack RoslovicCR6′1″194 lb29Columbus, OH, USA

Defense

#PlayerPosShootsHeightWeightAgeBorn
3Nick BlankenburgDR5′9″179 lb28Washington, MI, USA
8Chris TanevDR6′3″198 lb36Toronto, ON, Canada
22Jake McCabeDL6′1″205 lb33Eau Claire, WI, USA
28Troy StecherDR5′11″183 lb32Richmond, BC, Canada
36Dakota MermisDL6′0″196 lb32Alton, IL, USA
43Darren RaddyshDR6′1″205 lb30Toronto, ON, Canada
44Morgan RiellyDL6′1″225 lb32Vancouver, BC, Canada
82Cole McWardDR6′2″196 lb25Fenton, MO, USA
83Marshall RifaiDL6′2″212 lb28Beaconsfield, QC, Canada
95Oliver Ekman-LarssonDL6′2″192 lb35Karlskrona, Sweden

Goalies

#PlayerPosCatchesHeightWeightAgeBorn
41Anthony StolarzGL6′6″247 lb32Edison, NJ, USA
70Artur AkhtyamovGL6′2″176 lb25Kazan, Russia
72Sergei BobrovskyGL6′2″187 lb38Novokuznetsk, Russia

Next games

All

Last results

All

Season

Games played
30
Goals for / against
91 / 100
Home
5-11-2
Away
6-4-2
Last 10
3-5-2
Regulation wins
10
League position
25

Get an NHL roster with the SportAPI hockey API

One request returns the team with its coach and arena, and every player with position, jersey number, shooting side, height, weight, birth date and draft.

Request
curl -H "X-API-Key: YOUR_API_KEY" \
  "https://sportapi.ai/api/hockey/teams/8/roster"
Response (shortened)
{
    "team": {
        "id": 8,
        "slug": "toronto-maple-leafs",
        "name": "Toronto Maple Leafs",
        "abbreviation": "TOR",
        "venue_name": "Scotiabank Arena",
        "coach_name": "Jim Hiller"
    },
    "data": [
        {
            "id": 1227,
            "slug": "colton-sissons",
            "name": "Colton Sissons",
            "first_name": "Colton",
            "last_name": "Sissons",
            "position": "C",
            "shoots_catches": "R",
            "jersey": "15",
            "height_cm": 185,
            "weight_kg": 94,
            "birth_date": "1993-11-05",
            "birth_place": "North Vancouver, BC, Canada",
            "country": "Canada",
            "team_id": 8,
            "draft": {
                "year": 2012,
                "team": "NSH",
                "round": 2,
                "pick": 50
            }
        },
        "…"
    ]
}
PHP
<?php
$key = getenv('SPORTAPI_KEY');
$ctx = stream_context_create(['http' => ['header' => "X-API-Key: $key\r\n"]]);
$res = json_decode(file_get_contents('https://sportapi.ai/api/hockey/teams/8/roster', false, $ctx), true);

foreach ($res['data'] as $p) {
    printf("%3s %-24s %s\n", $p['jersey'], $p['name'], $p['position']);
}

Keep your API key on the server and never call the API from JavaScript in the browser. Save each answer for a few minutes too, so that page views don't use up your daily limit.

Endpoints, fields and status codes are in the API docs. A free key is on the hockey API page.