The api requires the use of an API key. API keys can be created in the Dashboard.
API are restircted to data ascociated with the API key's account.
To access the API, you must include the Authorization header with your API key in the format Bearer YOUR_API_KEY.
The API endpoints are available at https://api.streamleaderboards.com/ and are returned in JSON format.
Returns leaderboard entries for a given leaderboard owned by the API key's account.
Returns leaderboard settings for a given leaderboard owned by the API key's account.
Returns a viewer’s score and info in a specific leaderboard.
Returns all leaderboard-related data for a given viewer across all linked leaderboards.
Adds points to a viewer’s score in a specific leaderboard. Score must be a positive number.
Directly sets a viewer’s score in the leaderboard. Negative scores allowed only when strict = false.
true, score must be ≥ 0. Default: trueSubtracts points from a viewer’s score. If strict = true, score will not drop below 0.
true. Default: trueRemoves a viewer’s score entry from a leaderboard. This does not delete the viewer account.