Authentication
Create a key, choose what it can read and pass it with your requests.
Authorization header
Pass the API key in Authorization: Bearer <key> on every data request. A missing, invalid, expired or revoked key returns 401. Signing in to the website does not authenticate API requests.
Authorization: Bearer <your API key>Required scopes
players.read, coaches.read, teams.read, tournaments.read and matches.read grant access to the corresponding resources. An endpoint requiring multiple scopes needs all of them. The exact list is in its description; a missing scope returns 403.
For example, a team roster requires teams.read and players.read. Player statistics require players.read and matches.read. Tournament structure requires all five scopes because its response contains several resource types.
Store, rotate and revoke keys
Use separate keys for applications and environments. Keep secrets on your server. A browser application should request data from your backend, which attaches the key. Do not commit keys or include them in screenshots, prompts or URLs.
Rotating a key disables the previous secret immediately; update your application configuration accordingly. Revocation rejects new requests and closes live connections after access is rechecked. Rotating a key does not reset usage.
For interactive requests in the API reference, enter a limited test key. The console does not retain it after a reload.