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/{id}/shots

GETShots

Parameters

NameInTypeRequiredDescription
idpathstringYesID of the session

Responses

  • 200OK
    {
      "teams": [
        {
          "id": 461,
          "name": "team name",
          "logo_image_link": "<image link>",
          "player_shots": [
            {
              "id": 123,
              "player_details": {
                "id": 123,
                "firstname": "John",
                "lastname": "Doe",
                "profile_image_link": "<image link>"
              },
              "shots": [
                {
                  "occurred_at": 123456789,
                  "is_make": true,
                  "is_3point": true,
                  "zone": 1,
                  "advanced_zone": 2,
                  "player_x": 123,
                  "player_y": 30,
                  "player_z": 10,
                  "hoop_x": 0,
                  "hoop_y": 14000,
                  "hoop_z": 3048,
                  "hoop_player_x": 12,
                  "hoop_player_y": 3,
                  "status": "RECORDED",
                  "game_clock": "1:2.3",
                  "shot_clock": "4.5",
                  "period": "Q1",
                  "attributes": [
                    "DUNK"
                  ]
                }
              ]
            }
          ]
        }
      ]
    }
  • 403Forbidden
    {
      "status": 403,
      "message": "No access to SHOTS data",
      "shottrackerRequestId": "f1e80480-e1d5-4684-a619-402984b5c9ba"
    }
  • 404Not Found
    {
      "status": 404,
      "message": "Invalid id",
      "shottrackerRequestId": "f1e80480-e1d5-4684-a619-402984b5c9ba"
    }
  • 500Internal Server Error
    {
      "status": 500,
      "message": "<General System Error Message>",
      "shottrackerRequestId": "f1e80480-e1d5-4684-a619-402984b5c9ba"
    }