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}/lineups

GETPlayer Lineups

Returns players in lineups for a given game and at a specific timestamp.

Parameters

NameInTypeRequiredDescription
event_idpathstringYesID of the game
atquerynumberYesThe epoch timestamp (in milliseconds)

Responses

  • 200OK
    {
      "player_ids": [
        "123",
        "456",
        "789"
      ]
    }
  • 400Bad Request
    {
      "status": 400,
      "message": "Parameter 'at' must be greater than 0 | Parameter 'at' is invalid",
      "shottrackerRequestId": "f1e80480-e1d5-4684-a619-402984b5c9ba"
    }
  • 403Forbidden
    {
      "status": 403,
      "message": "Restricted resource",
      "shottrackerRequestId": "f1e80480-e1d5-4684-a619-402984b5c9ba"
    }
  • 404Not Found
    {
      "status": 404,
      "message": "Game not found",
      "shottrackerRequestId": "f1e80480-e1d5-4684-a619-402984b5c9ba"
    }
  • 500Internal Server Error
    {
      "status": 500,
      "message": "<General System Error Message>",
      "shottrackerRequestId": "f1e80480-e1d5-4684-a619-402984b5c9ba"
    }