---
title: "Export all rounds as PGN"
method: GET
path: "/api/broadcast/{broadcastTournamentId}.pgn"
tags: ["Broadcasts"]
---

# Export all rounds as PGN

`GET /api/broadcast/{broadcastTournamentId}.pgn`

Download all games of all rounds of a broadcast in PGN format.
If a `study:read` [OAuth token](#tag/OAuth) is provided,
the private rounds where the user is a contributor will be available.
You may want to [download only the games of a single round](#tag/broadcasts/GET/api/broadcast/round/{broadcastRoundId}.pgn) instead.

To get real-time updates about an ongoing tournament, please use the 
[round PGN stream](#tag/broadcasts/GET/api/stream/broadcast/round/{broadcastRoundId}.pgn) or
[group PGN stream](#tag/broadcasts/GET/api/stream/broadcast/group/{broadcastGroupId}.pgn) endpoints instead.

## Path parameters

- `broadcastTournamentId` string, required

## Query parameters

- `clocks` boolean
- `comments` boolean

## Response `200`

The PGN representation of the broadcast.

---

[API](https://skmtc.net/lichess/apis/lichess-org-api-reference.md) · [All operations](https://skmtc.net/lichess/apis/lichess-org-api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/lichess/lichess-org-api-reference/versions/1425db81eb3b/schema)
