[Badges API] Counting the # of Badges that a User Has


Does anyone know if there’s an API endpoint that lets you see how many badges a user has?

The current badges endpoint displays at most 100 badges (with a cursor to the next page), which makes it a bit inefficient when counting the total # of badges that a user has, especially if that has a lot of badges.

1 Like

First wrong category, belongs in #help-and-feedback:scripting-support.

There is no way as far as I know to get the number of badges a player has. Also note that there are reports that the badges api is currently broken and only returns a specific number of pages so currently that won’t work either.

There’s no better alternative. If you’d like to avoid many HTTP requests, you can host your own website/API that’ll return all that data.

1 Like