ShotTracker Developer

Unparalleled data set + realtime API = future of sports. Build with live tracking, stats, and broadcast-ready endpoints.

Event API

Base URL: https://api.shottracker.com

/v1/data/games/{event_id}

GETGame Event

A self reference to a specific game event.

Parameters

NameInTypeRequiredDescription
event_idpathstringYesThe specific event id for the game

Responses

  • 200OK
    {
      "id": "cf3ba789-06c4-11e8-bb65-0242286dfad2",
      "name": "TeamAppTeam vs TestTeamAlpha",
      "results": [
        {
          "id": "cf56d0aa-06c4-11e8-bb65-0242286dfad2",
          "name": null,
          "type": "GAME_ROUND",
          "started_at": 1517430299810,
          "ended_at": 1517431728868,
          "_stats": "https://api.shottracker.com/v1/data/stats/cf56d0aa-06c4-11e8-bb65-0242286dfad2/stats",
          "_stats_details": "https://api.shottracker.com/v1/data/stats/cf56d0aa-06c4-11e8-bb65-0242286dfad2/stats/details",
          "_shots": "https://api.shottracker.com/v1/data/stats/cf56d0aa-06c4-11e8-bb65-0242286dfad2/shots",
          "_locations": [
            "https://api.shottracker.com/v1/data/sensors/locations?id=cf56d0aa-06c4-11e8-bb65-0242286dfad2&from=1517430299810&to=1517431728868"
          ],
          "_possessions": "https://api.shottracker.com/v1/data/stats/cf56d0aa-06c4-11e8-bb65-0242286dfad2/possessions",
          "_possessions_summary": "https://api.shottracker.com/v1/data/stats/cf56d0aa-06c4-11e8-bb65-0242286dfad2/possessions/summary"
        },
        {
          "id": "23d3344b-06c8-11e8-bb65-0242286dfad2",
          "name": null,
          "type": "GAME_ROUND",
          "started_at": 1517431730064,
          "ended_at": 1517431732978,
          "_stats": "https://api.shottracker.com/v1/data/stats/23d3344b-06c8-11e8-bb65-0242286dfad2/stats",
          "_stats_details": "https://api.shottracker.com/v1/data/stats/23d3344b-06c8-11e8-bb65-0242286dfad2/stats/details",
          "_shots": "https://api.shottracker.com/v1/data/stats/23d3344b-06c8-11e8-bb65-0242286dfad2/shots",
          "_locations": [
            "https://api.shottracker.com/v1/data/sensors/locations?id=23d3344b-06c8-11e8-bb65-0242286dfad2&from=1517431730064&to=1517431732978"
          ],
          "_possessions": "https://api.shottracker.com/v1/data/stats/23d3344b-06c8-11e8-bb65-0242286dfad2/possessions",
          "_possessions_summary": "https://api.shottracker.com/v1/data/stats/23d3344b-06c8-11e8-bb65-0242286dfad2/possessions/summary"
        }
      ],
      "source": "SHOTTRACKER",
      "is_practice_event": false,
      "is_game_event": true,
      "started_at": 1517430299810,
      "ended_at": 1517431732978,
      "game_type": "HALF",
      "_self": "https://api.shottracker.com/v1/data/games/cf3ba789-06c4-11e8-bb65-0242286dfad2",
      "totals": {
        "_stats_details": "https://api.shottracker.com/v1/data/stats/games/cf3ba789-06c4-11e8-bb65-0242286dfad2/stats/details"
      },
      "reference_id": "8c6cdaf4-b4dd-11ec-a865-02a7227af969",
      "game_attributes": {
        "home_team_id": 461,
        "home_team_name": "TeamAppTeam",
        "away_team_id": 469,
        "away_team_name": "TestTeamAlpha"
      }
    }
  • 404Not Found
    {
      "status": 404,
      "message": "game event not found",
      "shottrackerRequestId": "f1e80480-e1d5-4684-a619-402984b5c9ba"
    }
  • 500Internal Server Error
    {
      "status": 500,
      "message": "<General System Error Message>",
      "shottrackerRequestId": "f1e80480-e1d5-4684-a619-402984b5c9ba"
    }