Export games of a Swiss tournament
Download games of a swiss tournament in PGN or ndjson 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 request: 30 games per second
Path parameters
The tournament ID.
Query parameters
Only the games played by a given player
Include the PGN moves.
Include the full PGN within the JSON response, in a pgn field.
Include the PGN tags.
Include clock status when available. Either as PGN comments: 2. exd5 { [%clk 1:01:27] } e5 { [%clk 1:01:28] } Or in a clocks JSON field, as centisecond integers, depending on the response type.
Include analysis evaluations and comments, when available. Either as PGN comments: 12. Bxf6 { [%eval 0.23] } a3 { [%eval -1.09] } Or in an analysis JSON field, depending on the response type.
Include accuracy percent of each player, when available. Only available in JSON.
Include the opening name. Example: [Opening "King's Gambit Accepted, King's Knight Gambit"]
Plies which mark the beginning of the middlegame and endgame. Only available in JSON
Headers
Specify the desired response format. Use application/x-chess-pgn to get the games in PGN format. Use application/x-ndjson to get the games in ndjson format. Read about ndjson here and how you can parse it in Javascript.
Response
The list of games of a Swiss tournament.