API Reference
Integrate with ChessMaster Forum programmatically. Access user data, game histories, puzzles, forum threads, and tournament results with our RESTful JSON API.
Authentication
Authenticate your requests using API Keys or OAuth 2.0. Include your key in the request header.
Users
Retrieve a paginated list of registered users. Supports filtering by rating, country, and join date.
| Parameter | Type | Description |
|---|---|---|
| pageoptional | integer | Page number (default: 1) |
| limitoptional | integer | Items per page (max: 100) |
| min_ratingoptional | integer | Filter by minimum Elo |
Fetch detailed profile data for a specific user including rating history, badges, and stats.
Games
Retrieve full game data including PGN, move timestamps, engine evaluations, and player ratings at time of play.
Forum & Threads
Access community discussions. Filter by category, sort by activity or creation date.
Requires forum:write scope. Body must include title, content, and category_id.
Rate Limits
API requests are limited based on your subscription tier. Exceeding limits returns 429 Too Many Requests.
| Tier | Requests / Min | Requests / Day |
|---|---|---|
| Free | 60 | 5,000 |
| Pro | 300 | 50,000 |
| Enterprise | Unlimited | Unlimited |
Error Handling
ChessMaster API uses standard HTTP status codes. Errors return a JSON body with a machine-readable code.