AI PadelAPI documentation Back to site

Leaderboard

Leaderboard by Elo rating. Public method.

Base URL: https://your-server/api · Guide for this section: Leads and rating

Elo leaderboard #

GET/v1/leaderboard

Access: Public No authorization.

The 50 players with the highest Elo rating who have a name set. The scope parameter is echoed back but does not affect the selection at the moment.

Query parameters

NameTypeRequiredDescription
scopestringnoTable scope (does not affect the selection now)
default "club"

Example request

curl -X GET "https://your-server/api/v1/leaderboard?scope=club"

Responses

CodedetailMeaning
200—Success; example below
422[…]Parameter or body validation error: detail is a list of errors

Example response

{
  "scope": "club",
  "items": [{"pos": 1, "name": "Ivan P.", "level": "A", "rating": 1912, "verified": true}]
}