# User API only shows 3 badges

**URL:** https://meta.discourse.org/t/user-api-only-shows-3-badges/71430
**Category:** Development
**Created:** [October 5, 2017, 12:01am UTC](https://meta.discourse.org/t/user-api-only-shows-3-badges/71430 "2017-10-05T00:01:48Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![DeanMarkTaylor](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/deanmarktaylor/32/102462_2.png) [@DeanMarkTaylor](https://meta.discourse.org/u/DeanMarkTaylor)
#### Post date: [October 5, 2017, 1:25am UTC](https://meta.discourse.org/t/user-api-only-shows-3-badges/71430/2 "2017-10-05T01:25:50Z")

</div>

The endpoint appears to work for me…

Here you can find all 223 badges I currently have:  
`https://meta.discourse.org/user-badges/deanmarktaylor.json`

 ![image](https://global.discourse-cdn.com/meta/original/3X/6/8/683f97682a5f9b8e5a75bbe9de0c74cb78137327.png)

Here you can find all 68 of the Bug Reporter badges for me:  
`https://meta.discourse.org/user_badges.json?username=deanmarktaylor&badge_id=114`

 ![image](https://global.discourse-cdn.com/meta/original/3X/4/2/4252645348aabe65b1b7be3d500b3d0e009d9b28.png)

* * *

A good place to look if you are ever trying to work out an Discourse API call is here:

> [@Reverse engineer the Discourse API](https://meta.discourse.org/t/how-to-reverse-engineer-the-discourse-api/20576):
>
> Discourse is backed by a complete JSON api. Anything you can do on the site you can also do using the JSON api. The API is documented at [docs.discourse.org](https://docs.discourse.org). You can also use the [discourse\_api](https://github.com/discourse/discourse_api) Ruby gem as a client library. However, not every endpoint is documented. To determine how to do something with the JSON API here are some steps you can follow. Example: recategorize a topic. Go to a topic and start editing a category: Open Chrome dev tools, switch to the Network tab, select …

* * *

Perhaps you could be more specific about how you are requesting the data:

- programming language?
- Any API / SDK interface you are using?
- and code sample?

---

_[View the full topic](https://meta.discourse.org/t/user-api-only-shows-3-badges/71430)._
