# Number after badge

**URL:** <https://staging-discuss.dev.twitch.com/t/number-after-badge/7761>\
**Category:** Chat and IRC\
**Created:** [October 10, 2016, 8:29pm UTC](https://staging-discuss.dev.twitch.com/t/number-after-badge/7761 "2016-10-10T20:29:57Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![george](https://d1d6mrmdu7ztse.cloudfront.net/user_avatar/staging-discuss.dev.twitch.com/george/32/120_2.png) [@george](https://staging-discuss.dev.twitch.com/u/george)\
**Post date:** [October 10, 2016, 8:38pm UTC](https://staging-discuss.dev.twitch.com/t/number-after-badge/7761/2 "2016-10-10T20:38:22Z")

</div>

Current TMI tag format:  
`...badges={badge_set_id}/{badge_set_version},{badge_set_id}/{badge_set_version}...`

> [@\[beta\] Badge API](https://staging-discuss.dev.twitch.com/t/beta-badge-api/6388):
>
> Hi, This is an undocumented API that we just launched for the horde/alliance badge selection (and will be used for other badges in chat) [https://badges.twitch.tv/v1/badges/global/display?language=en](https://badges.twitch.tv/v1/badges/global/display?language=en)[https://badges.twitch.tv/v1/badges/channels/39141793/display?language=en](https://badges.twitch.tv/v1/badges/channels/39141793/display?language=en) The way our chat parses this is loads this data on startup, and then when the badges tag is encountered in a TMI privmsg tag, it looks at the key that matches it in this API response. Current TMI tag format: ...badges={bad…

---

_[View the full topic](https://staging-discuss.dev.twitch.com/t/number-after-badge/7761)._
