---
updatedAt: 2026-02-11T20:07:04.000Z
agentTools:
  siteIndex: https://developer.sportradar.com/llms.txt
  projectIndex: https://developer.sportradar.com/basketball/llms.txt
---

# Play-by-Plays

Returns a play-by-play timeline of a given game.

# OpenAPI definition

```json
{
  "openapi": "3.0.4",
  "info": {
    "title": "Synergy Basketball API",
    "version": "v1"
  },
  "paths": {
    "/basketball/{league}/games/{gameId}/playbyplays": {
      "get": {
        "tags": [
          "Play By Plays"
        ],
        "summary": "Play-by-Plays",
        "description": "Returns a play-by-play timeline of a given game.",
        "parameters": [
          {
            "name": "league",
            "in": "path",
            "description": "The league identifier. Required",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/LeagueName"
            }
          },
          {
            "name": "gameId",
            "in": "path",
            "description": "The game identifier. Required",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "skip",
            "in": "query",
            "description": "The number of items to skip.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "take",
            "in": "query",
            "description": "The number of items to take (default 512 records).",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "lastUpdated",
            "in": "query",
            "description": "Last updated date.",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PossessionPlayByPlayPaginationResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "503": {
            "description": "Service Unavailable",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "BasicMonikerRef": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "id": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "External": {
        "type": "object",
        "properties": {
          "idsEventID": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GameRef": {
        "type": "object",
        "properties": {
          "awayTeam": {
            "$ref": "#/components/schemas/TeamRef"
          },
          "competition": {
            "$ref": "#/components/schemas/BasicMonikerRef"
          },
          "date": {
            "type": "string",
            "format": "date-time"
          },
          "homeTeam": {
            "$ref": "#/components/schemas/TeamRef"
          },
          "league": {
            "$ref": "#/components/schemas/MonikerRef"
          },
          "season": {
            "$ref": "#/components/schemas/BasicMonikerRef"
          },
          "id": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "LeagueName": {
        "enum": [
          "nba",
          "wnba",
          "ncaamb",
          "ncaawb",
          "nbdl",
          "international"
        ],
        "type": "string"
      },
      "Meta": {
        "type": "object",
        "additionalProperties": {}
      },
      "MonikerRef": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "abbr": {
            "type": "string",
            "nullable": true
          },
          "id": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Pagination": {
        "type": "object",
        "properties": {
          "totalRecords": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PaginationMeta": {
        "type": "object",
        "properties": {
          "pagination": {
            "$ref": "#/components/schemas/Pagination"
          },
          "warnings": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": {}
      },
      "PlayerRef": {
        "type": "object",
        "properties": {
          "firstName": {
            "type": "string",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "id": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PossessionPlayByPlay": {
        "required": [
          "external",
          "game",
          "playByPlayId",
          "possessionId"
        ],
        "type": "object",
        "properties": {
          "possessionId": {
            "type": "string",
            "nullable": true
          },
          "game": {
            "$ref": "#/components/schemas/GameRef"
          },
          "oPlayer": {
            "$ref": "#/components/schemas/BasicMonikerRef"
          },
          "dPlayer": {
            "$ref": "#/components/schemas/BasicMonikerRef"
          },
          "sPlayer": {
            "$ref": "#/components/schemas/BasicMonikerRef"
          },
          "bPlayer": {
            "$ref": "#/components/schemas/BasicMonikerRef"
          },
          "prPlayer": {
            "$ref": "#/components/schemas/BasicMonikerRef"
          },
          "sdPlayer": {
            "$ref": "#/components/schemas/BasicMonikerRef"
          },
          "zone": {
            "type": "boolean"
          },
          "period": {
            "type": "integer",
            "format": "int32"
          },
          "clock": {
            "type": "integer",
            "format": "int32"
          },
          "shotClock": {
            "type": "boolean"
          },
          "homeEvent": {
            "type": "boolean"
          },
          "sob": {
            "type": "boolean"
          },
          "eob": {
            "type": "boolean"
          },
          "ato": {
            "type": "boolean"
          },
          "turnover": {
            "type": "boolean"
          },
          "possessionUpdated": {
            "type": "string",
            "format": "date-time"
          },
          "playByPlayUpdated": {
            "type": "string",
            "format": "date-time"
          },
          "offensiveString": {
            "type": "string",
            "nullable": true
          },
          "defensiveString": {
            "type": "string",
            "nullable": true
          },
          "shot": {
            "type": "string",
            "nullable": true
          },
          "ftAttempt": {
            "type": "integer",
            "format": "int32"
          },
          "ftMade": {
            "type": "integer",
            "format": "int32"
          },
          "offensiveLineup": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PlayerRef"
            },
            "nullable": true
          },
          "defensiveLineup": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PlayerRef"
            },
            "nullable": true
          },
          "external": {
            "$ref": "#/components/schemas/External"
          },
          "playByPlayId": {
            "type": "string",
            "nullable": true
          },
          "homeScore": {
            "type": "integer",
            "format": "int32"
          },
          "awayScore": {
            "type": "integer",
            "format": "int32"
          },
          "heave": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "PossessionPlayByPlayPaginationResponse": {
        "type": "object",
        "properties": {
          "meta": {
            "$ref": "#/components/schemas/PaginationMeta"
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PossessionPlayByPlayResponse"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PossessionPlayByPlayResponse": {
        "type": "object",
        "properties": {
          "meta": {
            "$ref": "#/components/schemas/Meta"
          },
          "data": {
            "$ref": "#/components/schemas/PossessionPlayByPlay"
          }
        },
        "additionalProperties": false
      },
      "ProblemDetails": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "nullable": true
          },
          "title": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "detail": {
            "type": "string",
            "nullable": true
          },
          "instance": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": {}
      },
      "TeamRef": {
        "type": "object",
        "properties": {
          "fullName": {
            "type": "string",
            "nullable": true
          },
          "conference": {
            "$ref": "#/components/schemas/MonikerRef"
          },
          "division": {
            "$ref": "#/components/schemas/MonikerRef"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "abbr": {
            "type": "string",
            "nullable": true
          },
          "id": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      }
    },
    "securitySchemes": {
      "api_key": {
        "type": "apiKey",
        "name": "x-api-key",
        "in": "header"
      }
    }
  },
  "security": [
    {
      "api_key": []
    }
  ],
  "tags": [
    {
      "name": "Play By Plays",
      "description": "Operations for retrieving play by plays"
    }
  ],
  "servers": [
    {
      "url": "https://api.sportradar.com/synergy"
    }
  ]
}
```