Chess.com · API Governance Rules
Chess.com API Rules
Spectral linting rules defining API design standards and conventions for Chess.com.
6 Rules
error 1
warn 3
info 2
Rule Categories
chess
Rules
error
chess-com-base-url
All Chess.com API operations must live under https://api.chess.com/pub
$.servers[*].url
warn
chess-com-no-auth
Chess.com Published Data API is public; no security scheme should be required
$.paths[*][*].security
warn
chess-com-title-case-summary
Operation summaries should be Title Case
$.paths[*][get,post,put,patch,delete].summary
warn
chess-com-username-lowercase
Username path parameters must be documented as all-lowercase
$.paths..parameters[?(@.name=='username')].description
info
chess-com-rate-limit-mention
API description should mention 429 / parallel-request throttling
$.info.description
info
chess-com-user-agent-mention
API description should mention the User-Agent best practice
$.info.description