SportAPINHLGet SportAPI Key

Teams / Philadelphia Flyers

Philadelphia Flyers

Division
Metropolitan
Conference
Eastern
Head coach
Rick Tocchet
Arena
Xfinity Mobile Arena
26Points
10-15-6W-L-OTL
L3Streak

Roster

Forwards

#PlayerPosShootsHeightWeightAgeBorn
11Travis KonecnyRWR5′10″192 lb29London, ON, Canada
14Sean CouturierCL6′4″209 lb33Phoenix, AZ, USA
17Nikita GrebenkinRWL6′2″209 lb23Serov, Russia
22Christian DvorakCL6′1″190 lb30Palos, IL, USA
27Noah CatesLWL6′2″194 lb27Stillwater, MN, USA
39Matvei MichkovRWL5′10″172 lb21Perm, Russia
46Trevor ZegrasCL6′0″185 lb25Bedford, NY, USA
52Noel AcciariCR5′11″205 lb35Johnston, RI, USA
54Cole KnubleRWR5′10″183 lb22Grand Rapids, MI, USA
58Michael BuntingLWL6′0″185 lb31Scarborough, ON, Canada
71Tyson FoersterRWR6′2″216 lb24Alliston, ON, Canada
74Owen TippettRWR6′1″209 lb27Peterborough, ON, Canada
86Denver BarkeyCL5′10″172 lb21Newmarket, ON, Canada
94Porter MartoneRWR6′3″214 lb20Peterborough, ON, Canada

Defense

#PlayerPosShootsHeightWeightAgeBorn
5David JiricekDR6′4″205 lb23Klatovy, Czechia
6Travis SanheimDL6′4″223 lb30Elkhorn, MB, Canada
8Cam YorkDL6′0″194 lb25Anaheim, CA, USA
9Jamie DrysdaleDR5′11″185 lb24Toronto, ON, Canada
24Nick SeelerDL6′3″196 lb33Eden Prairie, MN, USA
44Simon BenoitDL6′4″209 lb28Laval, QC, Canada
55Rasmus RistolainenDR6′4″207 lb32Turku, Finland
59Oliver BonkDR6′2″181 lb21Ottawa, ON, Canada

Goalies

#PlayerPosCatchesHeightWeightAgeBorn
53Joseph WollGL6′3″212 lb28Dardenne Prairie, MO, USA
80Dan VladarGL6′5″209 lb29Prague, Czechia

Next games

All

Last results

All

Season

Games played
31
Goals for / against
80 / 105
Home
5-7-3
Away
5-8-3
Last 10
5-5-0
Regulation wins
9
League position
27

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/17/roster"
Response (shortened)
{
    "team": {
        "id": 17,
        "slug": "philadelphia-flyers",
        "name": "Philadelphia Flyers",
        "abbreviation": "PHI",
        "venue_name": "Xfinity Mobile Arena",
        "coach_name": "Rick Tocchet"
    },
    "data": [
        {
            "id": 1190,
            "slug": "travis-konecny",
            "name": "Travis Konecny",
            "first_name": "Travis",
            "last_name": "Konecny",
            "position": "RW",
            "shoots_catches": "R",
            "jersey": "11",
            "height_cm": 178,
            "weight_kg": 87,
            "birth_date": "1997-03-11",
            "birth_place": "London, ON, Canada",
            "country": "Canada",
            "team_id": 17,
            "draft": {
                "year": 2015,
                "team": "PHI",
                "round": 1,
                "pick": 24
            }
        },
        "…"
    ]
}
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/17/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.