SportAPINHLGet SportAPI Key

Teams / Los Angeles Kings

Los Angeles Kings

Division
Pacific
Conference
Western
Head coach
Peter Laviolette
Arena
Crypto.com Arena
24Points
11-13-2W-L-OTL
L1Streak

Roster

Forwards

#PlayerPosShootsHeightWeightAgeBorn
9Adrian KempeRWL6′2″205 lb30Kramfors, Sweden
10Artemi PanarinLWR6′0″176 lb35Korkino, Russia
12Trevor MooreLWL5′11″194 lb31Thousand Oaks, CA, USA
14Alex LaferriereRWR6′1″205 lb25Chatham, NJ, USA
15Alex TurcotteCL5′11″194 lb25Elk Grove, IL, USA
21Scott LaughtonCL6′1″190 lb32Oakville, ON, Canada
22Kevin FialaLWL6′0″205 lb30St. Gallen, Switzerland
36Mats ZuccarelloRWL5′8″181 lb39Oslo, Norway
40Joel ArmiaRWR6′3″216 lb33Pori, Finland
47Andre LeeLWL6′4″209 lb26Karlstad, Sweden
55Quinton ByfieldRWL6′5″229 lb24Newmarket, ON, Canada
56Erik HaulaLWL5′11″192 lb35Pori, Finland
79Samuel HeleniusCL6′6″225 lb24Dallas, TX, USA
90Corey PerryRWR6′3″209 lb41Peterborough, ON, Canada

Defense

#PlayerPosShootsHeightWeightAgeBorn
2Brian DumoulinDL6′4″216 lb35Biddeford, ME, USA
5Cody CeciDR6′3″209 lb32Ottawa, ON, Canada
6Joel EdmundsonDL6′5″220 lb33Brandon, MB, Canada
8Drew DoughtyDR6′1″209 lb36London, ON, Canada
44Mikey AndersonDL6′0″194 lb27Roseville, MN, USA
64Erik GustafssonDL6′0″190 lb34Nynashamn, Sweden
78Kirill KirsanovDL6′1″198 lb24Tver, Russia
92Brandt ClarkeDR6′2″201 lb23Nepean, ON, Canada

Goalies

#PlayerPosCatchesHeightWeightAgeBorn
31Anton ForsbergGL6′3″201 lb34Härnösand, Sweden
35Darcy KuemperGL6′5″216 lb36Saskatoon, SK, Canada

Next games

All

Last results

All

Season

Games played
26
Goals for / against
77 / 86
Home
4-9-0
Away
7-4-2
Last 10
6-4-0
Regulation wins
7
League position
28

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/14/roster"
Response (shortened)
{
    "team": {
        "id": 14,
        "slug": "los-angeles-kings",
        "name": "Los Angeles Kings",
        "abbreviation": "LAK",
        "venue_name": "Crypto.com Arena",
        "coach_name": "Peter Laviolette"
    },
    "data": [
        {
            "id": 1150,
            "slug": "adrian-kempe",
            "name": "Adrian Kempe",
            "first_name": "Adrian",
            "last_name": "Kempe",
            "position": "RW",
            "shoots_catches": "L",
            "jersey": "9",
            "height_cm": 188,
            "weight_kg": 93,
            "birth_date": "1996-09-13",
            "birth_place": "Kramfors, Sweden",
            "country": "Sweden",
            "team_id": 14,
            "draft": {
                "year": 2014,
                "team": "LAK",
                "round": 1,
                "pick": 29
            }
        },
        "…"
    ]
}
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/14/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.