Chess API
sports4 endpoints for public Chess data. Send your key in x-api-key; you pay for calls that run, and errors on our side are free. Chess API overview, examples and prices →
| endpoint | what it returns | parameters | cost | actions |
|---|---|---|---|---|
| GET/chess/ | A player's games with PGN | username +12 optional | 1 cr | docstry |
| GET/chess/ | Chess.com or lichess leaderboard | 3 optional | 1 cr | docstry |
| GET/chess/ | Chess.com or lichess player profile and ratings | username +1 optional | 1 cr | docstry |
| GET/chess/ | Chess.com titled players | 1 optional | 1 cr | docstry |