SportAPINHLGet SportAPI Key

Teams / San Jose Sharks

San Jose Sharks

Division
Pacific
Conference
Western
Head coach
Ryan Warsofsky
Arena
SAP Center at San Jose
28Points
13-17-2W-L-OTL
W1Streak

Roster

Forwards

#PlayerPosShootsHeightWeightAgeBorn
2Will SmithCR6′0″181 lb21Boston, MA, USA
10Ty DellandreaCR6′2″190 lb26Port Perry, ON, Canada
17Brett LeasonRWR6′5″220 lb27Calgary, AB, Canada
21Alexander WennbergCL6′2″190 lb32Stockholm, Sweden
23Barclay GoodrowCL6′2″209 lb33Toronto, ON, Canada
27Mason MarchmentLWL6′5″216 lb31Uxbridge, ON, Canada
41Ivar StenbergLWL5′11″185 lb19Gothenburg, Sweden
44Kiefer SherwoodLWR6′0″194 lb31Columbus, OH, USA
46Cam LundCR6′2″194 lb22Bridgewater, MA, USA
51Collin GrafRWR6′1″190 lb24Lincoln, MA, USA
63Zack OstapchukCL6′4″216 lb23St. Albert, AB, Canada
71Macklin CelebriniCL6′0″190 lb20North Vancouver, BC, Canada
73Tyler ToffoliCR6′0″205 lb34Scarborough, ON, Canada
77Michael MisaCL6′1″185 lb19Oakville, ON, Canada
81Adam GaudetteRWR6′1″190 lb30Braintree, MA, USA
92Igor ChernyshovLWR6′3″194 lb21Penza, Russia

Defense

#PlayerPosShootsHeightWeightAgeBorn
5Nolan AllanDL6′2″194 lb23Saskatoon, SK, Canada
6Sam DickinsonDL6′3″201 lb20Toronto, ON, Canada
7Michael KesselringDR6′5″216 lb26Florence, SC, USA
9Dmitry OrlovDL5′11″216 lb35Novokuznetsk, Russia
24Libor HajekDL6′3″209 lb28Smrcek, Czechia
25Darnell NurseDL6′4″216 lb31Hamilton, ON, Canada
42Luca CagnoniDL5′9″181 lb21Burnaby, BC, Canada
48Eric PohlkampDR5′11″201 lb22Baxter, MN, USA
65Jacob TroubaDR6′3″216 lb32Rochester, MI, USA

Goalies

#PlayerPosCatchesHeightWeightAgeBorn
30Yaroslav AskarovGR6′3″181 lb24Omsk, Russia
33Alex NedeljkovicGL6′0″205 lb30Parma, OH, USA

Next games

All

Last results

All

Season

Games played
32
Goals for / against
86 / 125
Home
7-7-1
Away
6-10-1
Last 10
4-6-0
Regulation wins
6
League position
22

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/24/roster"
Response (shortened)
{
    "team": {
        "id": 24,
        "slug": "san-jose-sharks",
        "name": "San Jose Sharks",
        "abbreviation": "SJS",
        "venue_name": "SAP Center at San Jose",
        "coach_name": "Ryan Warsofsky"
    },
    "data": [
        {
            "id": 595,
            "slug": "will-smith",
            "name": "Will Smith",
            "first_name": "Will",
            "last_name": "Smith",
            "position": "C",
            "shoots_catches": "R",
            "jersey": "2",
            "height_cm": 183,
            "weight_kg": 82,
            "birth_date": "2005-03-17",
            "birth_place": "Boston, MA, USA",
            "country": "USA",
            "team_id": 24,
            "draft": {
                "year": 2023,
                "team": "SJS",
                "round": 1,
                "pick": 4
            }
        },
        "…"
    ]
}
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/24/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.