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/stats/games/{event_id}/shots

GETShots

Parameters

NameInTypeRequiredDescription
event_idpathstringYesID of the game event

Responses

  • 200OK
    {
      "shots": [
        {
          "label": null,
          "t": 1663870491879,
          "pid": "7269",
          "tid": "552",
          "sid": "587af773-3aa2-11ed-a78a-0242e9e2912e",
          "sst": "GAME_ROUND",
          "gid": "5806b1d1-3aa2-11ed-a78a-0242e9e2912e",
          "st": "MISS",
          "is3": false,
          "pts": -1,
          "z": 8,
          "az": 12,
          "px": 3117,
          "py": 7899,
          "pz": 444,
          "hx": -44,
          "hy": 12783,
          "hz": 2990,
          "hsx": -3160,
          "hsy": 4884,
          "s": "RECORDED",
          "drb": 1,
          "dd": null,
          "fid": "35f20157-ee24-11e9-bcab-06a15c73f3c3",
          "hid": "730724a2-ee25-11e9-bcab-06a15c73f3c3",
          "gc": null,
          "sc": null,
          "prd": "Q1",
          "attributes": [
            "OTD"
          ],
          "players": [
            "7259"
          ],
          "d": 581.7677973212337,
          "shotDefenders": [
            7092
          ]
        }
      ],
      "gameTotals": {
        "awayTeamScore": {
          "teamId": "2",
          "value": 22
        },
        "homeTeamScore": {
          "teamId": "1",
          "value": 11
        },
        "period": "H2",
        "gameClock": "00:15:00",
        "status": "ACTIVE",
        "periodTotals": [
          {
            "awayTeamScore": {
              "teamId": "2",
              "value": 2
            },
            "homeTeamScore": {
              "teamId": "1",
              "value": 10
            },
            "period": "H2",
            "sessionId": "37c2cf99-05fb-11f1-8a55-0211f60c14bb"
          },
          {
            "awayTeamScore": {
              "teamId": "2",
              "value": 20
            },
            "homeTeamScore": {
              "teamId": "1",
              "value": 1
            },
            "period": "H1",
            "sessionId": "37c2cf99-05fb-11f1-8a55-0211f60c14aa"
          }
        ]
      }
    }
  • 403Forbidden
    {
      "status": 403,
      "message": "Access denied to resource",
      "shottrackerRequestId": "f1e80480-e1d5-4684-a619-402984b5c9ba"
    }
  • 500Internal Server Error
    {
      "status": 500,
      "message": "<General System Error Message>",
      "shottrackerRequestId": "f1e80480-e1d5-4684-a619-402984b5c9ba"
    }