Skip to content
datasportsAPI

No. 04 · Ice · Fixture sport

Ice HockeyShots by strength, games by period.

NHL, KHL and Europe's leagues: shot maps with strength and technique, lineups, periods, overtime and shoot-outs, playoff series.

04Ice
Ice Hockey14 endpoints · fixtures

Scouting report

What you get for Ice Hockey

Hockey shot maps record how each attempt was taken (wrist, snap, slap, backhand, tip-in and more) and the manpower it came at: even strength, power play or short-handed, with rink coordinates and an expected-goals value.

Scores break down period by period, with overtime and shoot-outs as phases of their own. Penalties arrive as timed suspensions, lineups come with covered leagues, and postseason games link to every other game of their playoff series.

First request

Every ice hockey match in play, one call.

The live board filtered to ice hockey: each match with its score, status and clock. The same request in four forms; pick yours.

  1. 1Create a key in the dashboard. Free gives you 1,000 requests a day during the beta.
  2. 2Put it in DATASPORTSAPI_API_KEY so the SDKs and the dsa command find it.
  3. 3Call /v2/livescores?sport=ice-hockey.
curl -H "Authorization: Bearer dsa_live_…" \
  "https://api.datasportsapi.com/v2/livescores?sport=ice-hockey"

The catalog

Ice Hockey, endpoint by endpoint

Its own detail first, then the shared spine every fixture sport answers on. Each row opens the endpoint’s reference page.

All 116 endpoints

Where ice hockey goes deeper

4 endpoints with detail specific to the sport.

The shared spine

10 endpoints that behave the same for every fixture sport.

  1. GETLive scores/v2/livescoresReturns every live fixture across all sports, or a single sport’s in-play board when ?sport= is given.All plans
  2. GETFixtures by date/v2/fixturesLists the fixtures that start on a given UTC date.All plans
  3. GETFixture/v2/fixtures/{id}Everything we hold on one fixture.All plans
  4. GETEvents/v2/fixtures/{id}/eventsThe match’s incidents in chronological order, oldest first: goals, cards, substitutions, period markers and added-time announcements.All plans
  5. GETStatistics/v2/fixtures/{id}/statisticsTeam statistics for the match, organised by period and by category.All plans
  6. GETHead to head/v2/fixtures/{id}/h2hThe two teams’ head-to-head record as tallied by the source, seen from this fixture’s home / away point of view.All plans
  7. GETStandings/v2/leagues/{id}/standingsLeague tables for a single season.All plans
  8. GETTeam/v2/teams/{id}Returns a team’s profile — sport, country, venue, colours, logo, gender, whether it is a club or a national team, kind (team / individual / pair), manager and founding date (foundedOn, pres…All plans
  9. GETLeague/v2/leagues/{id}Returns a league’s profile: its tier (where it sits in the national pyramid), gender, the reigning champion with its title count, the clubs holding the most titles, the divisions directly a…All plans
  10. GETSearch/v2/searchA single search over teams (individual competitors included), players, managers, referees, leagues, fixtures, venues, racing series and races.All plans

What comes back

Shot map, as served

A saved wrist shot on the power play in the opening minutes, with rink position and expected goals.

GET/v2/fixtures/{id}/shotmapPro + Business

Sample from the docs, trimmed with …

GET /v2/fixtures/{id}/shotmap
{ "data": [ { "side": "home", "outcome": "save", "technique": "wrist", "strength": "powerPlay", "expectedGoals": 0.036,
    "minute": 1, "second": 46, "period": "period1", "position": { "x": 50, "y": 22, "z": null }, … }, … ],
  "meta": { "count": 61 } }

Ice Hockey is one query string away.

Swap ?sport=ice-hockey for any other fixture sport and the same code keeps working. Free key, no card.