# Is there any way to see gifted subs through the api?

**URL:** <https://staging-discuss.dev.twitch.com/t/is-there-any-way-to-see-gifted-subs-through-the-api/30290>\
**Category:** API\
**Created:** [February 3, 2021, 1:09am UTC](https://staging-discuss.dev.twitch.com/t/is-there-any-way-to-see-gifted-subs-through-the-api/30290 "2021-02-03T01:09:29Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![kd88](https://d1d6mrmdu7ztse.cloudfront.net/user_avatar/staging-discuss.dev.twitch.com/kd88/32/12078_2.png) [@kd88](https://staging-discuss.dev.twitch.com/u/kd88)\
**Post date:** [February 3, 2021, 1:09am UTC](https://staging-discuss.dev.twitch.com/t/is-there-any-way-to-see-gifted-subs-through-the-api/30290/1 "2021-02-03T01:09:30Z")

</div>

I am trying to know if there is any way to see through the API when a sub is gifted or not. Also when someone gifts 2, 5, and 10 subs.

---

<div class="post-metadata">

**Author:** ![BarryCarlyon](https://d1d6mrmdu7ztse.cloudfront.net/user_avatar/staging-discuss.dev.twitch.com/barrycarlyon/32/253_2.png) [@BarryCarlyon](https://staging-discuss.dev.twitch.com/u/BarryCarlyon)\
**Post date:** [February 3, 2021, 1:13am UTC](https://staging-discuss.dev.twitch.com/t/is-there-any-way-to-see-gifted-subs-through-the-api/30290/2 "2021-02-03T01:13:34Z")

</div>

> [@kd88](#):
>
> Also when someone gifts 2, 5, and 10 subs.

“Giftbombs” as they are commonly referred to are only visible in chat

> [@kd88](#):
>
> I am trying to know if there is any way to see through the API when a sub is gifted or not.

yes `is_gift` is a flag on [Get Broadcaster Subscriptions](https://dev.twitch.tv/docs/api/reference#get-broadcaster-subscriptions) similar data (and the gift flag) is also presented on [EventSub](https://dev.twitch.tv/docs/eventsub/eventsub-subscription-types#channelsubscribe) it’s also flagged in chat in the USERNOTICE

IRC documetnation for subs/giftsubs [Twitch IRC Tags | Twitch Developers](https://dev.twitch.tv/docs/irc/tags#usernotice-twitch-tags)

---

<div class="post-metadata">

**Author:** ![kd88](https://d1d6mrmdu7ztse.cloudfront.net/user_avatar/staging-discuss.dev.twitch.com/kd88/32/12078_2.png) [@kd88](https://staging-discuss.dev.twitch.com/u/kd88)\
**Post date:** [February 3, 2021, 1:14am UTC](https://staging-discuss.dev.twitch.com/t/is-there-any-way-to-see-gifted-subs-through-the-api/30290/3 "2021-02-03T01:14:45Z")

</div>

> “Giftbombs” as they are commonly referred to are only visible in chat

So does this mean I can read the chat through the API and obtain this information?

---

<div class="post-metadata">

**Author:** ![BarryCarlyon](https://d1d6mrmdu7ztse.cloudfront.net/user_avatar/staging-discuss.dev.twitch.com/barrycarlyon/32/253_2.png) [@BarryCarlyon](https://staging-discuss.dev.twitch.com/u/BarryCarlyon)\
**Post date:** [February 3, 2021, 1:16am UTC](https://staging-discuss.dev.twitch.com/t/is-there-any-way-to-see-gifted-subs-through-the-api/30290/4 "2021-02-03T01:16:20Z")

</div>

> [@kd88](#):
>
> So does this mean I can read the chat through the API and obtain this information?

You can read chat via “IRC” not the “API”

The API and IRC/Chat are two different things to be clear

> **[Chat & Chatbots](https://dev.twitch.tv/docs/irc/)**
>
> Twitch Chat & Chatbots

---

<div class="post-metadata">

**Author:** ![system](https://d2spem0quai2ol.cloudfront.net/original/2X/0/05909729875cce3b53e59d5561c4d23bb14948fc.png) [@system](https://staging-discuss.dev.twitch.com/u/system)\
**Post date:** [March 5, 2021, 1:16am UTC](https://staging-discuss.dev.twitch.com/t/is-there-any-way-to-see-gifted-subs-through-the-api/30290/5 "2021-03-05T01:16:23Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
