NHL Push Statistics provides detailed, real-time game stats at the team and player level.
Syntax
https://api.sportradar.com/nhl/{access_level}/stream/en/statistics/subscribe?api_key={your_api_key} |
Replace placeholders with the following query parameters:
Parameter | Description |
---|---|
access_level | Defines the access level of your API key as Production (production) or Trial (trial). |
language_code | Optional code for supported languages: en (English) or translations (Any other language translations. See optional query string parameters for locale.) |
your_api_key | Your API key. |
Optional Query String Parameters
In addition to the URL parameters listed above, you can filter the Events information with one or more of the following optional query string parameters.
Optional query string parameters must be added after your API key with an ampersand (&). If you are filtering for more than one result, separate the results with a comma (,) and no spaces.
Replace placeholders with the following query parameters:
Parameter | Description |
---|---|
match | Match id expressed as: sd:match:{match_id}. Example: match=sd:match:4d1c4eb9-69d4-46fc-a42b-12be98227964 |
player | Player id expressed as: sd:player:{player_id}. Example: player=sd:player:436a6c0e-0f24-11e2-8525-18a905767e44 |
stats_type | Stat type expressed as {stats_type}. Example: stats_type=player |
status | Status type expressed as: inprogress or created. Example: status=inprogress |
strength | Strength type expressed as: {strength}. Example: strength=even |
team | Team id expressed as: sd:team:{team_id}. Example: team=sd:team:4415b0a7-0f24-11e2-8525-18a905767e44 |
Code Samples
require 'uri'
require 'net/http'
require 'openssl'
url = URI("https://api.sportradar.us/nhl/trial/stream/en/statistics/subscribe?api_key={your_api_key}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
http.verify_mode = OpenSSL::SSL::VERIFY_NONE
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
import requests
import json
r = requests.get("https://api.sportradar.com/nhl/trial/stream/en/statistics/subscribe",
params = {'api_key': 'your_api_key'},
allow_redirects=False)
redirect_url = r.headers['Location']
r = requests.get(redirect_url, stream=True)
for line in r.iter_lines():
# filter out keep-alive new lines
if line:
decoded_line = line.decode('utf-8')
print(json.loads(decoded_line))
curl -L GET 'api.sportradar.us/nhl/trial/stream/en/statistics/subscribe?api_key={your_api_key}'
Samples with Query String Params
require 'uri'
require 'net/http'
require 'openssl'
url = URI("https://api.sportradar.us/nhl/trial/stream/en/statistics/subscribe?api_key={your_api_key}&status=inprogress&match=sd:match:4d1c4eb9-69d4-46fc-a42b-12be98227964")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
http.verify_mode = OpenSSL::SSL::VERIFY_NONE
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
import requests
import json
r = requests.get("https://api.sportradar.com/nhl/trial/stream/en/statistics/subscribe",
params = {'api_key': 'your_api_key', 'status': 'inprogress', 'match': 'sd:match:4d1c4eb9-69d4-46fc-a42b-12be98227964'},
allow_redirects=False)
redirect_url = r.headers['Location']
r = requests.get(redirect_url, stream=True)
for line in r.iter_lines():
# filter out keep-alive new lines
if line:
decoded_line = line.decode('utf-8')
print(json.loads(decoded_line))
curl -L GET 'api.sportradar.us/nhl/trial/stream/en/statistics/subscribe?api_key={your_api_key}&status=inprogress&match=sd:match:4d1c4eb9-69d4-46fc-a42b-12be98227964'
Response Sample
{
"payload":{
"game":{
"id":"a9b7f2c2-54f6-48cf-a11f-7369e228661d",
"status":"inprogress",
"coverage":"full",
"reference":"20319",
"scheduled":"2017-10-05T13:00:00+00:00",
"period":3,
"home":{
"name":"Avalanche",
"market":"Colorado",
"reference":"21",
"id":"4415ce44-0f24-11e2-8525-18a905767e44",
"points":1
},
"away":{
"name":"Canucks",
"market":"Vancouver",
"reference":"23",
"id":"4415b0a7-0f24-11e2-8525-18a905767e44",
"points":2
}
},
"player":{
"full_name":"Matt Duchene",
"first_name":"Matt",
"last_name":"Duchene",
"handedness":"L",
"position":"F",
"primary_position":"RW",
"jersey_number":"9",
"reference":"8475168",
"captain":"A",
"id":"42a64a72-0f24-11e2-8525-18a905767e44",
"played":true,
"statistics":{
"total":{
"goals":0,
"assists":1,
"penalties":0,
"penalty_minutes":0,
"shots":2,
"blocked_att":1,
"missed_shots":1,
"hits":0,
"giveaways":0,
"takeaways":0,
"blocked_shots":0,
"faceoffs_won":3,
"faceoffs_lost":1,
"plus_minus":0,
"overtime_goals":0,
"overtime_assists":0,
"overtime_shots":0,
"penalties_major":0,
"penalties_minor":0,
"penalties_misconduct":0,
"emptynet_goals":0,
"shooting_pct":0.0,
"faceoff_win_pct":75.0,
"faceoffs":4,
"points":1
},
"powerplay":{
"shots":0,
"goals":0,
"missed_shots":0,
"assists":0,
"seconds_played":170,
"faceoffs_won":2,
"faceoffs":2,
"faceoffs_lost":0,
"faceoff_win_pct":100.0
},
"shorthanded":{
"shots":0,
"goals":0,
"missed_shots":0,
"assists":0,
"seconds_played":61,
"faceoffs":1,
"faceoffs_won":0,
"faceoffs_lost":1,
"faceoff_win_pct":0.0
},
"evenstrength":{
"assists":1,
"faceoffs_lost":0,
"seconds_played":542,
"goals":0,
"shots":2,
"faceoffs_won":1,
"missed_shots":1,
"faceoffs":1,
"faceoff_win_pct":100.0
},
"penalty":{
"shots":0,
"goals":0,
"missed_shots":0
},
"shootout":{
"shots":0,
"missed_shots":0,
"goals":0
},
"periods":[
{
"id":"7102a56a-d731-4446-93ec-28389b0cfc00",
"sequence":1,
"number":1,
"type":"REG",
"total":{
"goals":0,
"assists":0,
"penalties":0,
"penalty_minutes":0,
"shots":0,
"blocked_att":0,
"missed_shots":1,
"hits":0,
"giveaways":0,
"takeaways":0,
"blocked_shots":0,
"faceoffs_won":1,
"faceoffs_lost":1,
"number_of_shifts":8,
"points":0,
"shooting_pct":0.0,
"faceoff_win_pct":50.0,
"faceoffs":2
},
"powerplay":{
"shots":0,
"goals":0,
"missed_shots":0,
"assists":0
},
"shorthanded":{
"shots":0,
"goals":0,
"missed_shots":0,
"assists":0
},
"evenstrength":{
"assists":0,
"shots":0,
"missed_shots":1,
"goals":0
},
"penalty":{
"shots":0,
"goals":0,
"missed_shots":0
}
},
{
"id":"356e7254-be5b-435b-a9d4-d687f80eb6d8",
"sequence":2,
"number":2,
"type":"REG",
"total":{
"goals":0,
"assists":1,
"penalties":0,
"penalty_minutes":0,
"shots":1,
"blocked_att":1,
"missed_shots":0,
"hits":0,
"giveaways":0,
"takeaways":0,
"blocked_shots":0,
"faceoffs_won":2,
"faceoffs_lost":0,
"number_of_shifts":8,
"points":1,
"shooting_pct":0.0,
"faceoff_win_pct":100.0,
"faceoffs":2
},
"powerplay":{
"shots":0,
"goals":0,
"missed_shots":0,
"assists":0
},
"shorthanded":{
"shots":0,
"goals":0,
"missed_shots":0,
"assists":0
},
"evenstrength":{
"assists":1,
"shots":1,
"missed_shots":0,
"goals":0
},
"penalty":{
"shots":0,
"goals":0,
"missed_shots":0
}
},
{
"id":"e0582541-eaa0-4980-846c-073f93e2c12c",
"sequence":3,
"number":3,
"type":"REG",
"total":{
"goals":0,
"assists":0,
"penalties":0,
"penalty_minutes":0,
"shots":1,
"blocked_att":0,
"missed_shots":0,
"hits":0,
"giveaways":0,
"takeaways":0,
"blocked_shots":0,
"faceoffs_won":0,
"faceoffs_lost":0,
"number_of_shifts":1,
"points":0,
"shooting_pct":0.0,
"faceoff_win_pct":0.0,
"faceoffs":0
},
"powerplay":{
"shots":0,
"goals":0,
"missed_shots":0,
"assists":0
},
"shorthanded":{
"shots":0,
"goals":0,
"missed_shots":0,
"assists":0
},
"evenstrength":{
"assists":0,
"shots":1,
"missed_shots":0,
"goals":0
},
"penalty":{
"shots":0,
"goals":0,
"missed_shots":0
}
}
]
},
"time_on_ice":{
"shifts":17,
"powerplay":"2:50",
"shorthanded":"1:01",
"overtime":"00:00",
"avg":"00:45",
"evenstrength":"9:02",
"total":"12:53"
}
}
},
"locale":"en",
"metadata":{
"league":"NHL",
"match":"sd:match:a9b7f2c2-54f6-48cf-a11f-7369e228661d",
"status":"inprogress",
"player":"sd:player:42a64a72-0f24-11e2-8525-18a905767e44",
"stats_type":"player",
"locale":"en",
"operation":"update",
"version":"v5"
}
}
{
"payload":{
"game":{
"id":"a9b7f2c2-54f6-48cf-a11f-7369e228661d",
"status":"inprogress",
"coverage":"full",
"reference":"20319",
"scheduled":"2017-10-05T13:00:00+00:00",
"period":3,
"home":{
"name":"Avalanche",
"market":"Colorado",
"reference":"21",
"id":"4415ce44-0f24-11e2-8525-18a905767e44",
"points":1
},
"away":{
"name":"Canucks",
"market":"Vancouver",
"reference":"23",
"id":"4415b0a7-0f24-11e2-8525-18a905767e44",
"points":2
}
},
"player":{
"full_name":"Jarome Iginla",
"first_name":"Jarome",
"last_name":"Iginla",
"handedness":"R",
"position":"F",
"primary_position":"RW",
"jersey_number":"12",
"reference":"8462042",
"captain":"N",
"id":"429d11d7-0f24-11e2-8525-18a905767e44",
"played":true,
"statistics":{
"total":{
"goals":0,
"assists":0,
"penalties":0,
"penalty_minutes":0,
"shots":4,
"blocked_att":1,
"missed_shots":1,
"hits":1,
"giveaways":0,
"takeaways":0,
"blocked_shots":0,
"faceoffs_won":1,
"faceoffs_lost":0,
"plus_minus":0,
"overtime_goals":0,
"overtime_assists":0,
"overtime_shots":0,
"penalties_major":0,
"penalties_minor":0,
"penalties_misconduct":0,
"emptynet_goals":0,
"shooting_pct":0.0,
"faceoff_win_pct":100.0,
"faceoffs":1,
"points":0
},
"powerplay":{
"shots":2,
"goals":0,
"missed_shots":0,
"assists":0,
"seconds_played":225,
"faceoffs_won":1,
"faceoffs":1,
"faceoffs_lost":0,
"faceoff_win_pct":100.0
},
"shorthanded":{
"shots":0,
"goals":0,
"missed_shots":0,
"assists":0,
"seconds_played":0,
"faceoffs":0,
"faceoffs_won":0,
"faceoffs_lost":0,
"faceoff_win_pct":0.0
},
"evenstrength":{
"assists":0,
"faceoffs_lost":0,
"seconds_played":478,
"goals":0,
"shots":2,
"faceoffs_won":0,
"missed_shots":1,
"faceoffs":0,
"faceoff_win_pct":0.0
},
"penalty":{
"shots":0,
"goals":0,
"missed_shots":0
},
"shootout":{
"shots":0,
"missed_shots":0,
"goals":0
},
"periods":[
{
"id":"7102a56a-d731-4446-93ec-28389b0cfc00",
"sequence":1,
"number":1,
"type":"REG",
"total":{
"goals":0,
"assists":0,
"penalties":0,
"penalty_minutes":0,
"shots":3,
"blocked_att":0,
"missed_shots":1,
"hits":0,
"giveaways":0,
"takeaways":0,
"blocked_shots":0,
"faceoffs_won":0,
"faceoffs_lost":0,
"number_of_shifts":7,
"points":0,
"shooting_pct":0.0,
"faceoff_win_pct":0.0,
"faceoffs":0
},
"powerplay":{
"shots":2,
"goals":0,
"missed_shots":0,
"assists":0
},
"shorthanded":{
"shots":0,
"goals":0,
"missed_shots":0,
"assists":0
},
"evenstrength":{
"assists":0,
"shots":1,
"missed_shots":1,
"goals":0
},
"penalty":{
"shots":0,
"goals":0,
"missed_shots":0
}
},
{
"id":"356e7254-be5b-435b-a9d4-d687f80eb6d8",
"sequence":2,
"number":2,
"type":"REG",
"total":{
"goals":0,
"assists":0,
"penalties":0,
"penalty_minutes":0,
"shots":1,
"blocked_att":1,
"missed_shots":0,
"hits":1,
"giveaways":0,
"takeaways":0,
"blocked_shots":0,
"faceoffs_won":1,
"faceoffs_lost":0,
"number_of_shifts":5,
"points":0,
"shooting_pct":0.0,
"faceoff_win_pct":100.0,
"faceoffs":1
},
"powerplay":{
"shots":0,
"goals":0,
"missed_shots":0,
"assists":0
},
"shorthanded":{
"shots":0,
"goals":0,
"missed_shots":0,
"assists":0
},
"evenstrength":{
"assists":0,
"shots":1,
"missed_shots":0,
"goals":0
},
"penalty":{
"shots":0,
"goals":0,
"missed_shots":0
}
},
{
"id":"e0582541-eaa0-4980-846c-073f93e2c12c",
"sequence":3,
"number":3,
"type":"REG",
"total":{
"goals":0,
"assists":0,
"penalties":0,
"penalty_minutes":0,
"shots":0,
"blocked_att":0,
"missed_shots":0,
"hits":0,
"giveaways":0,
"takeaways":0,
"blocked_shots":0,
"faceoffs_won":0,
"faceoffs_lost":0,
"number_of_shifts":1,
"points":0,
"shooting_pct":0.0,
"faceoff_win_pct":0.0,
"faceoffs":0
},
"powerplay":{
"shots":0,
"goals":0,
"missed_shots":0,
"assists":0
},
"shorthanded":{
"shots":0,
"goals":0,
"missed_shots":0,
"assists":0
},
"evenstrength":{
"assists":0,
"shots":0,
"missed_shots":0,
"goals":0
},
"penalty":{
"shots":0,
"goals":0,
"missed_shots":0
}
}
]
},
"time_on_ice":{
"shifts":13,
"powerplay":"3:45",
"shorthanded":"00:00",
"overtime":"00:00",
"avg":"00:54",
"evenstrength":"7:58",
"total":"11:43"
}
}
},
"locale":"en",
"metadata":{
"league":"NHL",
"match":"sd:match:a9b7f2c2-54f6-48cf-a11f-7369e228661d",
"status":"inprogress",
"player":"sd:player:429d11d7-0f24-11e2-8525-18a905767e44",
"stats_type":"player",
"locale":"en",
"operation":"update",
"version":"v5"
}
}
Data Points
Boxscore:
Attribute | Parent Element | Type | Description |
---|---|---|---|
points | game -home /away | Integer | Number of points for a team |
points | game -home /away -scoring | Integer | Number of points in a period for a team |
period | game | Integer | Current period of a game |
id | event -overtime | GUID | Unique ID of an overtime period ex. 65c87f65-47a8-4341-a34f-a9036582aa79 |
number | event -overtime | Integer | Overtime number |
sequence | event -overtime | Integer | Overtime sequence number |
id | event -period | GUID | Unique ID of a period ex. 65c87f65-47a8-4341-a34f-a9036582aa79 |
number | event -period | Integer | Period number |
sequence | event -period | Integer | Period sequence number |
type | event -period | String | Type of a period ex. Period |
Game:
Attribute | Parent Element | Type | Description |
---|---|---|---|
id | game | GUID | Unique ID of a game ex. 10b9ce0f-fd31-4d1f-828b-4f20d628f14f |
reference | game | String | League reference ID of a game ex. 20393 |
scheduled | game | dateTime | Scheduled date and time of a game ex. 2022-12-04T20:00:00Z |
sr_id | game | GUID | Unique Sportradar ID of a game ex. sr:match:34542743 |
status | game | String | The status of a gamescheduled ,created ,inprogress ,complete ,closed ,cancelled ,delayed ,postponed ,time-tbd ,if-necessary ,unnecessary Please see our FAQ section for a list of game status definitions |
id | game -away | GUID | Unique ID of the away team ex. 4416091c-0f24-11e2-8525-18a905767e44 |
name | game -away | String | Team name of the away team ex. Wild |
market | game -away | String | Market of the away team ex. Minnesota |
reference | game -away | String | League reference ID of the away team ex. 30 |
sr_id | game -away | GUID | Unique Sportradar ID of the away team ex. sr:team:3689 |
coverage | game | String | Coverage level of a gamefull ,boxscore |
id | game -home | GUID | Unique ID of the home team ex. 4416091c-0f24-11e2-8525-18a905767e44 |
name | game -home | String | Team name of the home team ex. Wild |
market | game -home | String | Market of the home team ex. Minnesota |
reference | game -home | String | League reference ID of the home team ex. 30 |
sr_id | game -home | GUID | Unique Sportradar ID of the home team ex. sr:team:3689 |
Game Statistics (Player):
Attribute | Parent Element | Type | Description |
---|---|---|---|
assists | player -statistics | Integer | Number of assists |
avg | player -time_on_ice | String | Average time on ice in seconds ex. 00:44 |
blocked_att | player -statistics | Integer | Number of blocked attempts (i.e. player's shot was blocked) |
blocked_shots | player -statistics | Integer | Number of blocked shots (i.e. player blocked a shot) |
emptynet_goals | player -statistics | Integer | Number of empty net goals |
assists | player -statistics -evenstrength | Integer | Number of even strength assists |
faceoff_win_pct | player -statistics -evenstrength | Decimal | Even strength faceoff win percentage |
faceoffs | player -statistics -evenstrength | Integer | Number of even strength faceoffs |
faceoffs_lost | player -statistics -evenstrength | Integer | Number of even strength faceoffs lost |
faceoffs_won | player -statistics -evenstrength | Integer | Number of even strength faceoffs won |
goals | player -statistics -evenstrength | Integer | Number of even strength goals |
missed_shots | player -statistics -evenstrength | Integer | Number of even strength missed shots |
shots | player -statistics -evenstrength | Integer | Number of even strength shots on goal |
evenstrength | player -time_on_ice | String | Even strength time on ice in seconds ex. 13:21 |
faceoff_win_pct | player -statistics | Decimal | Faceoff win percentage ex. 46.7 |
faceoffs | player -statistics | Integer | Number of faceoffs |
faceoffs_lost | player -statistics | Integer | Number of faceoffs lost |
faceoffs_won | player -statistics | Integer | Number of faceoffs won |
winning_goal | player -statistics | Boolean | Signifies the player made the winning goal in a game |
giveaways | player -statistics | Integer | Number of giveaways |
goals | player -statistics | Integer | Number of goals |
hits | player -statistics | Integer | Number of hits |
missed_shots | player -statistics | Integer | Number of missed_shots |
overtime_assists | player -statistics | Integer | Number of overtime assists |
overtime_goals | player -statistics | Integer | Number of overtime goals |
overtime_shots | player -statistics | Integer | Number of overtime shots |
overtime | player -time_on_ice | String | Overtime time on ice in seconds ex. 00:13 |
penalties | player -statistics | Integer | Number of penalties |
penalties_major | player -statistics | Integer | Number of major penalties |
penalties_match | player -statistics | Integer | Number of match penalties |
penalties_minor | player -statistics | Integer | Number of minor penalties |
penalties_misconduct | player -statistics | Integer | Number of misconduct penalties |
goals | player -statistics -penalty | Integer | Number of penalty goals |
missed_shots | player -statistics -penalty | Integer | Number of penalty missed shots |
shots | player -statistics -penalty | Integer | Number of penalty shots on goal |
penalty_minutes | player -statistics | Integer | Number of penalty minutes |
plus_minus | player -statistics | Integer | Plus/Minus (Team scoring while a player is on the rink) ex. -1 or 2 |
points | player -statistics | Integer | Number of points |
assists | player -statistics -powerplay | Integer | Number of power play assists |
faceoff_win_pct | player -statistics -powerplay | Decimal | Power play faceoff win percentage |
faceoffs | player -statistics -powerplay | Integer | Number of power play faceoffs |
faceoffs_lost | player -statistics -powerplay | Integer | Number of power play faceoffs lost |
faceoffs_won | player -statistics -powerplay | Integer | Number of power play faceoffs won |
goals | player -statistics -powerplay | Integer | Number of power play goals |
missed_shots | player -statistics -powerplay | Integer | Number of power play missed shots |
shots | player -statistics -powerplay | Integer | Number of power play shots on goal |
powerplay | player -time_on_ice | String | Power play time on ice in seconds ex. 1:31 |
shifts | player -time_on_ice | Integer | Number of shifts |
shooting_pct | player -statistics | Decimal | Shooting percentage ex. 80.0 |
goals | player -statistics -shootout | Integer | Number of shootout goals |
missed_shots | player -statistics -shootout | Integer | Number of shootout missed shots |
shots | player -statistics -shootout | Integer | Number of shootout shots on goal |
assists | player -statistics -shorthanded | Integer | Number of power play assists |
faceoff_win_pct | player -statistics -shorthanded | Decimal | Short handed faceoff win percentage |
faceoffs | player -statistics -shorthanded | Integer | Number of short handed faceoffs |
faceoffs_lost | player -statistics -shorthanded | Integer | Number of short handed faceoffs lost |
faceoffs_won | player -statistics -shorthanded | Integer | Number of short handed faceoffs won |
goals | player -statistics -shorthanded | Integer | Number of power short handed |
missed_shots | player -statistics -shorthanded | Integer | Number of short handed missed shots |
shots | player -statistics -shorthanded | Integer | Number of short handed shots on goal |
shorthanded | player -time_on_ice | String | Short handed time on ice in seconds ex. 00:32 |
shots | player -statistics | Integer | Number of shots on goal |
takeaways | player -statistics | Integer | Number of takeaways |
total | player -time_on_ice | String | Total time on ice in seconds ex. 19:13 |
Game Statistics (Goalie):
Attribute | Parent Element | Type | Description |
---|---|---|---|
credit | player -goaltending | String | Game credit given to the goaliewin ,loss ,overtime_loss ,none |
goals_against | player -goaltending | Integer | Number of goals against |
saves_pct | player -goaltending | Decimal | Save percentage ex. 0.882 |
saves | player -goaltending | Integer | Number of saves |
shots_against | player -goaltending | Integer | Number of shots against |
shutout | player -goaltending | Boolean | Signifies a shutout for a goalie |
goals_against | player -goaltending -evenstrength | Integer | Number of even strength goals against |
saves_pct | player -goaltending -evenstrength | Decimal | Even strength save percentage |
saves | player -goaltending -evenstrength | Integer | Number of even strength saves |
shots_against | player -goaltending -evenstrength | Integer | Number of even strength shots against |
goals_against | player -goaltending -penalty | Integer | Number of penalty goals against |
saves_pct | player -goaltending -penalty | Decimal | Penalty save percentage |
saves | player -goaltending -penalty | Integer | Number of penalty saves |
shots_against | player -goaltending -penalty | Integer | Number of penalty shots against |
goals_against | player -goaltending -powerplay | Integer | Number of power play goals against |
saves_pct | player -goaltending -powerplay | Decimal | Power play save percentage |
saves | player -goaltending -powerplay | Integer | Number of power play saves |
shots_against | player -powerplay -penalty | Integer | Number of power play shots against |
goals_against | player -goaltending -shootout | Integer | Number of shootout goals against |
saves_pct | player -goaltending -shootout | Decimal | Shootout save percentage |
saves | player -goaltending -shootout | Integer | Number of shootout saves |
shots_against | player -goaltending -shootout | Integer | Number of shootout shots against |
goals_against | player -goaltending -shorthanded | Integer | Number of short-handed goals against |
saves_pct | player -goaltending -shorthanded | Decimal | Short-handed save percentage |
saves | player -goaltending -shorthanded | Integer | Number of short-handed saves |
shots_against | player -goaltending -shorthanded | Integer | Number of short-handed shots against |
Game Statistics (Team):
Attribute | Parent Element | Type | Description |
---|---|---|---|
assists | team -statistics -total | Integer | Number of assists |
blocked_att | team -statistics -total | Integer | Number of blocked attempts |
blocked_shots | team -statistics -total | Integer | Number of blocked shots |
emptynet_goals | team -statistics -total | Integer | Number of empty net goals |
faceoff_win_pct | team -statistics -total | Decimal | Faceoff win percentage ex. 52.5 |
faceoffs | team -statistics -total | Integer | Number of faceoffs |
faceoffs_lost | team -statistics -total | Integer | Number of faceoffs lost |
faceoffs_won | team -statistics -total | Integer | Number of faceoffs won |
winning_goal | team -statistics -total | Boolean | Signifies a team made the winning goal in a game |
giveaways | team -statistics -total | Integer | Number of giveaways |
goals | team -statistics -total | Integer | Number of goals |
hits | team -statistics -total | Integer | Number of hits |
missed_shots | team -statistics -total | Integer | Number of missed shots |
overtime_assists | team -statistics -total | Integer | Number of overtime assists |
overtime_goals | team -statistics -total | Integer | Number of overtime goals |
overtime_shots | team -statistics -total | Integer | Number of overtime shots |
penalties | team -statistics -total | Integer | Number of penalties |
penalties_major | team -statistics -total | Integer | Number of major penalties |
penalties_match | team -statistics -total | Integer | Number of match penalties |
penalties_minor | team -statistics -total | Integer | Number of minor penalties |
penalties_misconduct | team -statistics -total | Integer | Number of misconduct penalties |
penalty_minutes | team -statistics -total | Integer | Number of penalty minutes served |
plus_minus | team -statistics -total | Integer | Team plus/minus for a game |
points | team -statistics -total | Integer | Number of points |
shooting_pct | team -statistics -total | Decimal | Shooting percentage ex. 21.9 |
shots | team -statistics -total | Integer | Number of shots on goal |
takeaways | team -statistics -total | Integer | Number of takeaways |
team_penalties | team -statistics -total | Integer | Number of team penalties |
team_penalty_minutes | team -statistics -total | Integer | Number of team penalty minutes |
Game Statistics - Shootouts and Penalty Shots (Team):
Attribute | Parent Element | Type | Description |
---|---|---|---|
goals | team -shootout | Integer | Number of shootout goals |
missed_shots | team -shootout | Integer | Number of missed shootout shots |
shots | team -shootout | Integer | Number of shootout shots |
goals | team -statistics -penalty | Integer | Number of penalty goals |
missed_shots | team -statistics -penalty | Integer | Number of penalty missed shots |
shots | team -statistics -penalty | Integer | Number of penalty shots on goal |
Game Statistics - Even Strength (Team):
Attribute | Parent Element | Type | Description |
---|---|---|---|
assists | team -statistics -evenstrength | Integer | Number of even strength assists |
faceoffs_won | team -statistics -evenstrength | Integer | Number of even strength faceoffs won |
faceoffs_win_pct | team -statistics -evenstrength | Decimal | Even strength faceoff win percentage |
faceoffs | team -statistics -evenstrength | Integer | Number of even strength faceoffs |
faceoffs_lost | team -statistics -evenstrength | Integer | Number of even strength faceoffs lost |
goals | team -statistics -evenstrength | Integer | Number of even strength goals |
missed_shots | team -statistics -evenstrength | Integer | Number of even strength missed shots |
opportunities | team -statistics -evenstrength | Integer | Number of even strength opportunities |
shots | team -statistics -evenstrength | Integer | Number of even strength shots on goal |
type | team -statistics -evenstrength -strength | String | Even strength type5v5 ,4v4 ,3v3 |
goals | team -statistics -evenstrength -strength | Integer | Number of even strength goals for a even strength type |
opportunities | team -statistics -evenstrength -strength | Integer | Number of even strength opportunities for a even strength type |
shots | team -statistics -evenstrength -strength | Integer | Number of even strength shots for a even strength type |
time | team -statistics -evenstrength -strength | String | Time in minutes and seconds for a even strength type ex. 1:31 |
Game Statistics - Power Play (Team):
Attribute | Parent Element | Type | Description |
---|---|---|---|
assists | team -statistics -powerplay | Integer | Number of power play assists |
faceoffs_won | team -statistics -powerplay | Integer | Number of power play faceoffs won |
faceoffs_win_pct | team -statistics -powerplay | Decimal | Power play faceoff win percentage |
faceoffs | team -statistics -powerplay | Integer | Number of power play faceoffs |
faceoffs_lost | team -statistics -powerplay | Integer | Number of power play faceoffs lost |
goals | team -statistics -powerplay | Integer | Number of power play goals |
missed_shots | team -statistics -powerplay | Integer | Number of power play missed shots |
opportunities | team -statistics -powerplay | Integer | Number of power play opportunities |
shots | team -statistics -powerplay | Integer | Number of power play shots on goal |
type | team -statistics -powerplay -strength | String | Power play type5v4 ,5v3 ,4v3 |
goals | team -statistics -powerplay -strength | Integer | Number of power play goals for a power play type |
opportunities | team -statistics -powerplay -strength | Integer | Number of power play opportunities for a power play type |
shots | team -statistics -powerplay -strength | Integer | Number of power play shots for a power play type |
time | team -statistics -powerplay -strength | String | Time in minutes and seconds for a power play type ex. 1:31 |
Game Statistics - Short-handed (Team):
Attribute | Parent Element | Type | Description |
---|---|---|---|
assists | team -statistics -shorthanded | Integer | Number of short-handed assists |
faceoffs_won | team -statistics -shorthanded | Integer | Number of short-handed faceoffs won |
faceoffs_win_pct | team -statistics -shorthanded | Decimal | Short-handed faceoff win percentage |
faceoffs | team -statistics -shorthanded | Integer | Number of short-handed faceoffs |
faceoffs_lost | team -statistics -shorthanded | Integer | Number of short-handed faceoffs lost |
goals | team -statistics -shorthanded | Integer | Number of short-handed goals |
missed_shots | team -statistics -shorthanded | Integer | Number of short-handed missed shots |
opportunities | team -statistics -shorthanded | Integer | Number of short-handed opportunities |
shots | team -statistics -shorthanded | Integer | Number of short-handed shots on goal |
type | team -statistics -shorthanded -strength | String | Short-handed type4v5 ,3v5 ,3v4 |
goals | team -statistics -shorthanded -strength | Integer | Number of short-handed goals for a short-handed type |
opportunities | team -statistics -shorthanded -strength | Integer | Number of short-handed opportunities for a short-handed type |
shots | team -statistics -shorthanded -strength | Integer | Number of short-handed shots for a short-handed type |
time | team -statistics -shorthanded -strength | String | Time in minutes and seconds for a short-handed type ex. 1:31 |
Game Statistics - Goaltending (Team):
Attribute | Parent Element | Type | Description |
---|---|---|---|
credit | team -goaltending | String | Game credit given to the goaliewin ,loss ,overtime_loss ,none |
goals_against | team -goaltending | Integer | Number of goals against |
saves_pct | team -goaltending | Decimal | Save percentage ex. 0.882 |
saves | team -goaltending | Integer | Number of saves |
shots_against | team -goaltending | Integer | Number of shots against |
shutout | team -goaltending | Boolean | Signifies a shutout for a team |
total_goals_against | team -goaltending | Integer | Number of total goals against |
total_shots_against | team -goaltending | Integer | Number of total shots against |
total | team -goaltending -time_on_ice | String | Time on ice for the goalies in minutes ex. 60:00 |
goals_against | team -goaltending -emptynet | Integer | Empty net goals against |
goals_against | team -goaltending -emptynet -powerplay | Integer | Empty net power play goals against |
goals_against | team -goaltending -emptynet -shorthanded | Integer | Empty net short-handed goals against |
goals_against | team -goaltending -emptynet -evenstrength | Integer | Empty net even strength goals against |
shots_against | team -goaltending -emptynet | Integer | Empty net shots against |
goals_against | team -goaltending -evenstrength | Integer | Number of even strength goals against |
saves_pct | team -goaltending -evenstrength | Decimal | Even strength save percentage |
saves | team -goaltending -evenstrength | Integer | Number of even strength saves |
shots_against | team -goaltending -evenstrength | Integer | Number of even strength shots against |
goals_against | team -goaltending -penalty | Integer | Number of penalty goals against |
saves_pct | team -goaltending -penalty | Decimal | Penalty save percentage |
saves | team -goaltending -penalty | Integer | Number of penalty saves |
shots_against | team -goaltending -penalty | Integer | Number of penalty shots against |
goals_against | team -goaltending -powerplay | Integer | Number of power play goals against |
saves_pct | team -goaltending -powerplay | Decimal | Power play save percentage |
saves | team -goaltending -powerplay | Integer | Number of power play saves |
shots_against | player -powerplay -penalty | Integer | Number of power play shots against |
goals_against | team -shootout | Integer | Number of shootout goals against |
saves_pct | team -shootout | Decimal | Shootout save percentage |
saves | team -shootout | Integer | Number of shootout saves |
shots_against | team -shootout | Integer | Number of shootout shots against |
goals_against | team -goaltending -shorthanded | Integer | Number of short-handed goals against |
saves_pct | team -goaltending -shorthanded | Decimal | Short-handed save percentage |
saves | team -goaltending -shorthanded | Integer | Number of short-handed saves |
shots_against | team -goaltending -shorthanded | Integer | Number of short-handed shots against |
Metadata:
Attribute | Parent Element | Type | Description |
---|---|---|---|
league | metadata | String | Alias of a league ex. NHL |
locale | metadata | String | Language code ex. en (English) |
match | metadata | GUID | Unique ID(s) of a game ex. sd:match:2de3fad5-a527-4c49-9093-9243d2135352,sr:match:34542877 |
operation | metadata | String | Operation of an updatecreate ,update ,delete |
player | metadata | GUID | Unique ID(s) of a player ex. sd:player:428e37b4-0f24-11e2-8525-18a905767e44,sr:player:31289 |
status | metadata | String | The status of a gamescheduled ,created ,inprogress ,halftime ,complete ,closed ,cancelled ,delayed ,postponed ,time-tbd ,if-necessary ,unnecessary Please see our FAQ section for a list of game status definitions |
stats_type | metadata | String | Type of statistics returned in a payload ex. player ,team |
team | metadata | GUID | Unique ID(s) of a team ex. sd:team:44182a9d-0f24-11e2-8525-18a905767e44,sr:team:3680 |
version | metadata | String | Version of the API ex. v5 |
Period Statistics (Player):
Attribute | Parent Element | Type | Description |
---|---|---|---|
assists | player -statistics -periods | Integer | Number of assists |
blocked_att | player -statistics -periods | Integer | Number of blocked attempts (i.e. player's shot was blocked) |
blocked_shots | player -statistics -periods | Integer | Number of blocked shots (i.e. player blocked a shot) |
assists | player -statistics -periods -evenstrength | Integer | Number of even strength assists |
goals | player -statistics -periods -evenstrength | Integer | Number of even strength goals |
missed_shots | player -statistics -periods -evenstrength | Integer | Number of even strength missed shots |
shots | player -statistics -periods -evenstrength | Integer | Number of even strength shots on goal |
faceoff_win_pct | player -statistics -periods | Decimal | Faceoff win percentage ex. 46.7 |
faceoffs | player -statistics -periods | Integer | Number of faceoffs |
faceoffs_lost | player -statistics -periods | Integer | Number of faceoffs lost |
faceoffs_won | player -statistics -periods | Integer | Number of faceoffs won |
giveaways | player -statistics -periods | Integer | Number of giveaways |
goals | player -statistics -periods | Integer | Number of goals |
hits | player -statistics -periods | Integer | Number of hits |
missed_shots | player -statistics -periods | Integer | Number of missed_shots |
penalties | player -statistics -periods | Integer | Number of penalties |
goals | player -statistics -periods -penalty | Integer | Number of penalty goals |
missed_shots | player -statistics -periods -penalty | Integer | Number of penalty missed shots |
shots | player -statistics -periods -penalty | Integer | Number of penalty shots on goal |
penalty_minutes | player -statistics -periods | Integer | Number of penalty minutes |
points | player -statistics -periods | Integer | Number of points |
assists | player -statistics -periods -powerplay | Integer | Number of power play assists |
goals | player -statistics -periods -powerplay | Integer | Number of power play goals |
missed_shots | player -statistics -periods -powerplay | Integer | Number of power play missed shots |
shots | player -statistics -periods -powerplay | Integer | Number of power play shots on goal |
shifts | player -time_on_ice | Integer | Number of shifts |
shooting_pct | player -statistics -periods | Decimal | Shooting percentage ex. 80.0 |
assists | player -statistics -periods -shorthanded | Integer | Number of power play assists |
goals | player -statistics -periods -shorthanded | Integer | Number of power short handed |
missed_shots | player -statistics -periods -shorthanded | Integer | Number of short handed missed shots |
shots | player -statistics -periods -shorthanded | Integer | Number of short handed shots on goal |
shots | player -statistics -periods | Integer | Number of shots on goal |
takeaways | player -statistics -periods | Integer | Number of takeaways |
Period Statistics - Goaltending (Player):
Attribute | Parent Element | Type | Description |
---|---|---|---|
goals_against | player -goaltending -periods | Integer | Number of goals against |
saves_pct | player -goaltending -periods | Decimal | Save percentage ex. 0.882 |
saves | player -goaltending -periods | Integer | Number of saves |
shots_against | player -goaltending -periods | Integer | Number of shots against |
goals_against | player -goaltending -periods -evenstrength | Integer | Number of even strength goals against |
saves_pct | player -goaltending -periods -evenstrength | Decimal | Even strength save percentage |
saves | player -goaltending -periods -evenstrength | Integer | Number of even strength saves |
shots_against | player -goaltending -periods -evenstrength | Integer | Number of even strength shots against |
goals_against | player -goaltending -periods -penalty | Integer | Number of penalty goals against |
saves_pct | player -goaltending -periods -penalty | Decimal | Penalty save percentage |
saves | player -goaltending -periods -penalty | Integer | Number of penalty saves |
shots_against | player -goaltending -periods -penalty | Integer | Number of penalty shots against |
goals_against | player -goaltending -periods -powerplay | Integer | Number of power play goals against |
saves_pct | player -goaltending -periods -powerplay | Decimal | Power play save percentage |
saves | player -goaltending -periods -powerplay | Integer | Number of power play saves |
shots_against | player -goaltending -periods -powerplay | Integer | Number of power play shots against |
goals_against | player -goaltending -periods -shorthanded | Integer | Number of short-handed goals against |
saves_pct | player -goaltending -periods -shorthanded | Decimal | Short-handed save percentage |
saves | player -goaltending -periods -shorthanded | Integer | Number of short-handed saves |
shots_against | player -goaltending -periods -shorthanded | Integer | Number of short-handed shots against |
Player:
Attribute | Parent Element | Type | Description |
---|---|---|---|
captain | player | Boolean | Type of team captainC (Team Captain),A (Alternate Captain),N (Not a captain) |
first_name | player | String | First name of a player ex. Sidney |
full_name | player | String | Full name of a player ex. Sidney Crosby |
handedness | player | String | Dominant hand of a player ex. L ,R |
id | player | GUID | Unique ID of a player ex. 433de553-0f24-11e2-8525-18a905767e44 |
jersey_number | player | Integer | Number of a player's jersey |
last_name | player | String | Last name of a player ex. Crosby |
played | player | Boolean | Signifies a player appeared in a game |
scratched | player | Boolean | Signifies a player was scratched from a game |
starter | player | Boolean | Signifies a player started a game |
name_suffix | player | String | Suffix of a player ex. Jr. |
position | player | String | Position of a playerNA ,D ,F ,F-D ,G |
primary_position | player | String | Primary position of a playerNA ,C ,D ,G ,LW ,RW |
reference | player | String | League reference ID of a player ex. 8471675 |
sr_id | player | GUID | Unique Sportradar ID of a player ex. sr:player:31007 |
Team:
Attribute | Parent Element | Type | Description |
---|---|---|---|
id | team | GUID | Unique ID of a team ex. bdc11650-6f74-49c4-875e-778aeb7632d9 |
market | team | String | Market name of a team ex. Minnesota |
name | team | String | Team name ex. Wild |
reference | team | String | League reference ID of a team ex. 30 |
sr_id | team | GUID | Unique Sportradar ID of a team ex. sr:team:3689 |