SportAPINHLGet SportAPI Key

Teams / Ottawa Senators

Ottawa Senators

Division
Atlantic
Conference
Eastern
Head coach
Travis Green
Arena
Canadian Tire Centre
39Points
18-9-3W-L-OTL
L1Streak

Roster

Forwards

#PlayerPosShootsHeightWeightAgeBorn
12Shane PintoCR6′3″205 lb26Franklin Square, NY, USA
18Tim StützleCL6′0″187 lb24Viersen, Germany
19Drake BathersonRWR6′3″209 lb28Fort Wayne, IN, USA
20Fabian ZetterlundLWR5′11″207 lb27Karlstad, Sweden
21Nick CousinsCL5′11″192 lb33Belleville, ON, Canada
22Michael AmadioRWR6′1″205 lb30Sault Ste. Marie, ON, Canada
24Dylan CozensCR6′3″205 lb25Whitehorse, YT, Canada
27William EklundLWL5′10″185 lb24Stockholm, Sweden
28Claude GirouxRWR5′11″185 lb38Hearst, ON, Canada
34Stephen HallidayCL6′4″214 lb24Ajax, ON, Canada
37Warren FoegeleLWL6′2″205 lb30Markham, ON, Canada
42Hayden HodgsonRWR6′2″220 lb30Windsor, ON, Canada
54Tyler BoucherRWR6′2″216 lb23Scottsdale, AZ, USA
62Philip TomasinoRWR6′0″190 lb25Mississauga, ON, Canada
71Ridly GreigCL6′0″183 lb24Lethbridge, AB, Canada
79Sammy BlaisLWL6′2″205 lb30Montmagny, QC, Canada
95Andre BurakovskyLWL6′3″203 lb31Klagenfurt, Austria

Defense

#PlayerPosShootsHeightWeightAgeBorn
2Artem ZubDR6′3″201 lb31Khabarovsk, Russia
10Jordan SpenceDR5′11″187 lb25Manly, Australia
26Carter YakemchukDR6′3″218 lb21Fort McMurray, AB, Canada
33Nikolas MatinpaloDR6′3″214 lb28Espoo, Finland
43Tyler KlevenDL6′5″225 lb24Fargo, ND, USA
72Thomas ChabotDL6′2″203 lb29Sainte-Marie, QC, Canada
85Jake SandersonDL6′2″203 lb24Whitefish, MT, USA

Goalies

#PlayerPosCatchesHeightWeightAgeBorn
30Samuel ErssonGL6′3″194 lb27Falun, Sweden
35Linus UllmarkGL6′4″223 lb33Lugnvik, Sweden

Next games

All

Last results

All

Season

Games played
30
Goals for / against
96 / 88
Home
9-3-2
Away
9-6-1
Last 10
6-3-1
Regulation wins
15
League position
7

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/7/roster"
Response (shortened)
{
    "team": {
        "id": 7,
        "slug": "ottawa-senators",
        "name": "Ottawa Senators",
        "abbreviation": "OTT",
        "venue_name": "Canadian Tire Centre",
        "coach_name": "Travis Green"
    },
    "data": [
        {
            "id": 922,
            "slug": "shane-pinto",
            "name": "Shane Pinto",
            "first_name": "Shane",
            "last_name": "Pinto",
            "position": "C",
            "shoots_catches": "R",
            "jersey": "12",
            "height_cm": 191,
            "weight_kg": 93,
            "birth_date": "2000-11-12",
            "birth_place": "Franklin Square, NY, USA",
            "country": "USA",
            "team_id": 7,
            "draft": {
                "year": 2019,
                "team": "OTT",
                "round": 2,
                "pick": 32
            }
        },
        "…"
    ]
}
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/7/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.