SportAPINHLGet SportAPI Key

Teams / Washington Capitals

Washington Capitals

Division
Metropolitan
Conference
Eastern
Head coach
Spencer Carbery
Arena
Capital One Arena
26Points
13-13-0W-L-OTL
L1Streak

Roster

Forwards

#PlayerPosShootsHeightWeightAgeBorn
8Alex OvechkinLWR6′3″238 lb41Moscow, Russia
9Ryan LeonardRWR6′1″205 lb21Northampton, MA, USA
17Dylan StromeCL6′4″201 lb29Mississauga, ON, Canada
21Aliaksei ProtasLWL6′6″249 lb25Vitebsk, Belarus
22Boone JennerCL6′2″209 lb33Dorchester, ON, Canada
25Jordan KyrouRWR6′1″190 lb28Toronto, ON, Canada
34Justin SourdifCR6′0″201 lb24Richmond, BC, Canada
43Tom WilsonRWR6′4″229 lb32Toronto, ON, Canada
53Ethen FrankRWR5′11″201 lb28Aurora, CO, USA
62Ilya ProtasLWL6′6″229 lb20Vitebsk, Belarus
63Ivan MiroshnichenkoLWR6′1″205 lb22Ussuriysk, Russia
72Anthony BeauvillierRWL5′11″185 lb29Sorel-Tracy, QC, Canada
80Pierre-Luc DuboisCL6′4″220 lb28Ste-Agathe-des-Monts, QC, Canada
89Alex TuchRWR6′4″225 lb30Syracuse, NY, USA

Defense

#PlayerPosShootsHeightWeightAgeBorn
3Matt RoyDR6′2″220 lb31Detroit, MI, USA
4Justin HollDR6′4″201 lb34Tonka Bay, MN, USA
6Jakob ChychrunDL6′3″216 lb28Boca Raton, FL, USA
27Timothy LiljegrenDR6′1″205 lb27Kristianstad, Sweden
29Jack St. IvanyDR6′4″196 lb27Manhattan Beach, CA, USA
38Rasmus SandinDL5′11″190 lb26Uppsala, Sweden
41Ryan ChesleyDR6′2″216 lb22St. Paul, MN, USA
42Martin FehérváryDL6′2″216 lb27Bratislava, Slovakia
44Cole HutsonDL6′0″181 lb20St. Louis, MO, USA
73Vincent DesharnaisDR6′7″229 lb30Laval, QC, Canada

Goalies

#PlayerPosCatchesHeightWeightAgeBorn
33Clay StevensonGL6′5″201 lb27Drayton Valley, AB, Canada
48Logan ThompsonGR6′4″205 lb29Calgary, AB, Canada
79Charlie LindgrenGR6′2″190 lb32Lakeville, MN, USA

Next games

All

Last results

All

Season

Games played
26
Goals for / against
90 / 94
Home
9-7-0
Away
4-6-0
Last 10
3-7-0
Regulation wins
11
League position
23

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/13/roster"
Response (shortened)
{
    "team": {
        "id": 13,
        "slug": "washington-capitals",
        "name": "Washington Capitals",
        "abbreviation": "WSH",
        "venue_name": "Capital One Arena",
        "coach_name": "Spencer Carbery"
    },
    "data": [
        {
            "id": 1439,
            "slug": "alex-ovechkin",
            "name": "Alex Ovechkin",
            "first_name": "Alex",
            "last_name": "Ovechkin",
            "position": "LW",
            "shoots_catches": "R",
            "jersey": "8",
            "height_cm": 191,
            "weight_kg": 108,
            "birth_date": "1985-09-17",
            "birth_place": "Moscow, Russia",
            "country": "Russia",
            "team_id": 13,
            "draft": {
                "year": 2004,
                "team": "WSH",
                "round": 1,
                "pick": 1
            }
        },
        "…"
    ]
}
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/13/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.