Skip to main content
The Leaderboard endpoint returns a ranked list of PRIXO’s most active price contributors for any geographic scope. Use it to celebrate top contributors in a specific district, show a community-wide ranking, or surface your users’ relative standing. Only contributors who have opted in to public visibility appear here — no private user data is ever exposed.

Endpoint

Authentication: Not required

Query parameters

string
default:"country"
The geographic level to rank contributors within. Accepted values:
  • country — all of Saudi Arabia
  • city — a specific city (pair with area)
  • district — a specific district (pair with area)
string
The name of the city or district to filter by, in Arabic. Required when scope is city or district. Example: العليا
number
default:"20"
Maximum number of contributors to return. Accepted range is 1–100.

Response fields

array
Ordered array of contributor objects, ranked by contribution count (descending).
number
Total number of eligible public contributors in the requested scope, before the limit is applied. Useful for pagination or showing “X of Y contributors”.

Privacy

Only users who have explicitly set show_public_profile to true are included in leaderboard results. The following fields are never returned by this endpoint: email address, phone number, physical location data, and points ledger history.

Example

Request

Response


Use cases

Combine the scope=district leaderboard with the Popular Intents endpoint to build a neighborhood dashboard — show who’s contributing the most prices for the foods trending near the user.
  • Community pages — display top contributors per district to drive healthy competition.
  • In-app leaderboard widget — show a user their rank and the two people just above them to encourage more contributions.
  • Country-wide rankings — use the default scope=country call to feature PRIXO’s most dedicated contributors platform-wide.