# API user\_badges /users/username/activity/badges.json API vs. /user-badges/username.json

**URL:** <https://meta.discourse.org/t/api-user-badges-users-username-activity-badges-json-api-vs-user-badges-username-json/117958>\
**Category:** Development\
**Created:** [16.Май.2019 20:03:39 UTC](https://meta.discourse.org/t/api-user-badges-users-username-activity-badges-json-api-vs-user-badges-username-json/117958 "2019-05-16T20:03:39Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![kimardenmiller](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kimardenmiller/32/119631_2.png) [@kimardenmiller](https://meta.discourse.org/u/kimardenmiller)\
**Post date:** [16.Май.2019 21:17:42 UTC](https://meta.discourse.org/t/api-user-badges-users-username-activity-badges-json-api-vs-user-badges-username-json/117958/3 "2019-05-16T21:17:42Z")

</div>

> [@justin](#):
>
> You can already hit this api endpoint at `https://<sitename>/user-badges/<username>.json` and it returns the full list of badges.

I’m speaking about discourse\_API code. Don’t see it [searching the code](https://github.com/discourse/discourse_api/search?q=user-badges&unscoped_q=user-badges).

---

_[View the full topic](https://meta.discourse.org/t/api-user-badges-users-username-activity-badges-json-api-vs-user-badges-username-json/117958)._
