Skip to content
DonutStatsAPI
Sign up
Players

List players

Browse players by balance, by recent refreshes or by popularity.

GET/v1/players

Pages through every player on record. With sort=money you get the richest players first, which covers everyone with a known balance, not only the baltop. sort=recent shows the players whose stats were refreshed most recently and sort=trending shows the most viewed profiles on DonutStats over the last 7 days.

Use q to narrow the list to usernames that start with some letters.

Authentication

API key with the read scope

Cached for

30 s

Data updates

Balances update with every lookup and every leaderboard update.

Query parameters

  • sortstringoptionaldefault money

    money: richest first. recent: most recently refreshed stats first. trending: most viewed in the last 7 days.

    moneyrecenttrending
  • qstringoptional

    Only usernames starting with this, case insensitive. Ignored when sort is trending.

  • pageintegeroptionaldefault 1

    Page to return, starting at 1.

    1 to 100,000
  • limitintegeroptionaldefault 50

    Entries per page.

    1 to 200

Response

A page of player summaries. updatedAt is always null here.

  • pageinteger

    The page you asked for, starting at 1.

  • limitinteger

    Entries per page.

  • totalinteger

    Entries across every page that match your filters.

  • updatedAttimestamp | null

    When the underlying data last changed. null where it does not apply.

  • The entries on this page.

    Show7 child fields
    • usernamestring

      Username with its current capitalization.

    • uuidstring | null

      Minecraft UUID, once known.

    • moneynumber | null

      Balance in DonutSMP dollars.

    • playtimeinteger | null

      Playtime in seconds.

    • killsinteger | null

      Player kills.

    • statsUpdatedAttimestamp | null

      When the player's full stats were last refreshed.

    • views7dinteger

      Profile views on DonutStats in the last 7 days.