SportAPINHLGet SportAPI Key

Teams / Nashville Predators

Nashville Predators

Division
Central
Conference
Western
Head coach
Andrew Brunette
Arena
Bridgestone Arena
36Points
15-7-6W-L-OTL
W1Streak

Roster

Forwards

#PlayerPosShootsHeightWeightAgeBorn
9Filip ForsbergLWR6′1″205 lb32Ostervala, Sweden
14Alexander KerfootCL5′11″185 lb32Vancouver, BC, Canada
15Shane WrightCR6′1″192 lb22Burlington, ON, Canada
18Jack DruryCL5′11″185 lb26New York, NY, USA
21Nils HoglanderLWL5′9″185 lb25Bockträsk, Sweden
22Mavrik BourqueCR5′11″187 lb24Plessisville, QC, Canada
49Reid SchaeferLWL6′5″227 lb23Edmonton, AB, Canada
51Vitali PinchukCL6′3″203 lb24Zhlobin, Belarus
79Ross ColtonCL6′0″194 lb30Robbinsville, NJ, USA
81Jonathan MarchessaultCR5′9″185 lb35Cap-Rouge, QC, Canada
84Adam EdstromCL6′7″231 lb26Karlstad, Sweden
90Ryan O'ReillyCL6′1″207 lb35Clinton, ON, Canada
91Steven StamkosCR6′1″194 lb36Markham, ON, Canada

Defense

#PlayerPosShootsHeightWeightAgeBorn
2Adam WilsbyDL6′1″187 lb26Stockholm, Sweden
3Jayden StrubleDL6′0″207 lb25Cumberland, RI, USA
41Nicolas HagueDL6′6″245 lb28Kitchener, ON, Canada
46Ilya LyubushkinDR6′2″205 lb32Moscow, Russia
48Nick PerbixDR6′4″205 lb28Elk River, MN, USA
52Daemon HuntDL6′1″194 lb24Brandon, MB, Canada
59Roman JosiDL6′1″201 lb36Bern, Switzerland
76Brady SkjeiDL6′3″209 lb32Lakeville, MN, USA
85William TrudeauDL6′2″203 lb24Varennes, QC, Canada

Goalies

#PlayerPosCatchesHeightWeightAgeBorn
29Justus AnnunenGL6′4″209 lb26Kempele, Finland
74Juuse SarosGL5′11″181 lb31Forssa, Finland

Next games

All

Last results

All

Season

Games played
28
Goals for / against
90 / 81
Home
8-4-3
Away
7-3-3
Last 10
6-3-1
Regulation wins
12
League position
10

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/5/roster"
Response (shortened)
{
    "team": {
        "id": 5,
        "slug": "nashville-predators",
        "name": "Nashville Predators",
        "abbreviation": "NSH",
        "venue_name": "Bridgestone Arena",
        "coach_name": "Andrew Brunette"
    },
    "data": [
        {
            "id": 323,
            "slug": "filip-forsberg",
            "name": "Filip Forsberg",
            "first_name": "Filip",
            "last_name": "Forsberg",
            "position": "LW",
            "shoots_catches": "R",
            "jersey": "9",
            "height_cm": 185,
            "weight_kg": 93,
            "birth_date": "1994-08-13",
            "birth_place": "Ostervala, Sweden",
            "country": "Sweden",
            "team_id": 5,
            "draft": {
                "year": 2012,
                "team": "WSH",
                "round": 1,
                "pick": 11
            }
        },
        "…"
    ]
}
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/5/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.