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/locations/{location_id}/courtlayout

GETLocation Court Layout

Parameters

NameInTypeRequiredDescription
location_idpathstringYesID of the live session

Responses

  • 200OK
    {
      "xne": 0,
      "yne": 0,
      "xse": 2,
      "yse": 2,
      "xsw": 4,
      "ysw": 4,
      "xnw": 6,
      "ynw": 6,
      "hoops": [
        {
          "name": "North hoop",
          "x": 0,
          "y": 0,
          "z": 13
        },
        {
          "name": "South Hoop",
          "x": 10,
          "y": 10,
          "z": 23
        }
      ]
    }
  • 500Internal Server Error
    {
      "status": 500,
      "message": "Error obtaining court info",
      "shottrackerRequestId": "f1e80480-e1d5-4684-a619-402984b5c9ba"
    }