Hosted leaderboards for games
Send scores to an HTTP API and read ranked leaderboards back. OneLeader keeps the players, scores and past runs, so you don't run a database for it.
Start free Read the quickstart
Two ways to send scores
From your backend
Call the API with a secret key and submit a score for any of your users, by your own user id. A user is created on their first score.
From the browser, no backend
A browser game uses a publishable key to start an anonymous player session, then submits only that player's own score. Per-metric value bounds, rate limits and each app's list of allowed origins guard this path.
What a leaderboard does
Scoring rules
Each metric adds up a player's scores, keeps their highest, keeps their lowest or keeps their latest. A leaderboard ranks players on one metric, highest or lowest first. Ties go to whoever got there first.
Repeating runs
A leaderboard can run forever or start a new run every few days, months or years, in UTC. Past runs stay readable, so last week's winners don't disappear.
Moderation
Ban a player from the dashboard: they drop out of every ranking and their new scores are refused. Unban them to bring them back, or delete a single entry.
Built around the API
Every write and read is a call to /v1, described by an OpenAPI spec. Retries are safe with an Idempotency-Key: a repeated event returns its original result instead of counting twice. The dashboard is where you create apps, keys, metrics and leaderboards.