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

GETPlay-By-Play

Parameters

NameInTypeRequiredDescription
event_idpathstringYesID of the game event

Responses

  • 200OK
    {
      "details": [
        {
          "type": "ACTUAL",
          "eventId": "6a92509b-3aa2-11ed-9843-0242e9e2912e",
          "timestamp": 1663870476541,
          "teamId": "526",
          "sessionType": "GAME_ROUND",
          "sessionId": "587af773-3aa2-11ed-a78a-0242e9e2912e",
          "practiceId": null,
          "practiceDefinitionId": null,
          "drillDefinitionId": null,
          "gameId": "5806b1d1-3aa2-11ed-a78a-0242e9e2912e",
          "stats": {
            "LBTO": 1,
            "TO": 1
          },
          "corrected": false,
          "facilityId": "35f20157-ee24-11e9-bcab-06a15c73f3c3",
          "courtId": "5dd7ff0b-ee24-11e9-bcab-06a15c73f3c3",
          "gameClock": null,
          "shotClock": null,
          "period": "Q1",
          "playerX": -2516,
          "playerY": -2511,
          "playerZ": 326,
          "hoopToEventX": -2562,
          "hoopToEventY": 10055,
          "clipId": null,
          "classification": "LIVE_BALL_TURNOVER",
          "description": "John Doe live ball turnover",
          "videoAttributes": {
            "facilityId": "35f20157-ee24-11e9-bcab-06a15c73f3c3",
            "courtId": "5dd7ff0b-ee24-11e9-bcab-06a15c73f3c3",
            "sessionId": "587af773-3aa2-11ed-a78a-0242e9e2912e"
          },
          "baseStats": "TO",
          "actualStats": "LBTO",
          "key": {
            "actorId": "7097",
            "timestamp": 1663870476541
          },
          "act": "PLAYER",
          "pid": "7097"
        }
      ],
      "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"
    }