---
title: "Export games of a Swiss tournament"
method: GET
path: "/api/swiss/{id}/games"
tags: ["Tournaments (Swiss)"]
---

# Export games of a Swiss tournament

`GET /api/swiss/{id}/games`

Download games of a swiss tournament in PGN or [ndjson](#description/streaming-with-nd-json) format.
Games are sorted by chronological order.
The game stream is throttled, depending on who is making the request:
  - Anonymous request: 20 games per second
  - [OAuth2 authenticated](#description/authentication) request: 30 games per second

## Path parameters

- `id` string, required

## Query parameters

- `player` string
- `moves` boolean
- `pgnInJson` boolean
- `tags` boolean
- `clocks` boolean
- `evals` boolean
- `accuracy` boolean
- `opening` boolean
- `division` boolean

## Headers

- `Accept` 'application/x-chess-pgn' | 'application/x-ndjson'

## Response `200`

The list of games of a Swiss tournament.

---

[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)
