# Why do I need to add "broadcast\_type" for v3 "/channels/:channel/videos" - when its not a required parameter?

**URL:** <https://staging-discuss.dev.twitch.com/t/why-do-i-need-to-add-broadcast-type-for-v3-channels-channel-videos-when-its-not-a-required-parameter/11980>\
**Category:** API\
**Created:** [September 13, 2017, 6:50pm UTC](https://staging-discuss.dev.twitch.com/t/why-do-i-need-to-add-broadcast-type-for-v3-channels-channel-videos-when-its-not-a-required-parameter/11980 "2017-09-13T18:50:35Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![corgrath](https://avatars.discourse-cdn.com/v4/letter/c/898d66/32.png) [@corgrath](https://staging-discuss.dev.twitch.com/u/corgrath)\
**Post date:** [September 13, 2017, 6:50pm UTC](https://staging-discuss.dev.twitch.com/t/why-do-i-need-to-add-broadcast-type-for-v3-channels-channel-videos-when-its-not-a-required-parameter/11980/1 "2017-09-13T18:50:35Z")

</div>

This request says there is 2442 videos in total:

[https://api.twitch.tv/kraken/channels/lirik/videos?limit=100&offset=0&client\_id=XXX&broadcast\_type=archive&api\_version=3](https://api.twitch.tv/kraken/channels/lirik/videos?limit=100&offset=0&client_id=XXX&broadcast_type=archive&api_version=3)

However, if I omit `broadcast_type`

[https://api.twitch.tv/kraken/channels/lirik/videos?limit=100&offset=0&client\_id=XXX&api\_version=3](https://api.twitch.tv/kraken/channels/lirik/videos?limit=100&offset=0&client_id=XXX&api_version=3)

The response says 296 videos.

According to the docs:

[https://dev.twitch.tv/docs/v3/reference/videos#get-channelschannelvideos](https://dev.twitch.tv/docs/v3/reference/videos#get-channelschannelvideos)

`broadcast_type` is not even a parameter.

Broken?

---

<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:** [September 13, 2017, 8:59pm UTC](https://staging-discuss.dev.twitch.com/t/why-do-i-need-to-add-broadcast-type-for-v3-channels-channel-videos-when-its-not-a-required-parameter/11980/2 "2017-09-13T20:59:09Z")

</div>

Take a look at the `broadcasts` parameter and it’s default:

```auto
broadcasts	optional	boolean	Returns only broadcasts when true. Otherwise only highlights are returned. Default is false.

```

The default is false so you only get highlights if you don’t specify. The correct call would be `https://api.twitch.tv/kraken/channels/lirik/videos?limit=100&offset=0&client_id=XXX&api_version=3&broadcasts=true` if you want broadcasts/archives instead.

Not sure why `broadcast_type` happens to work as well but is undocumented but regardless the endpoint is working and documented correctly.

---

<div class="post-metadata">

**Author:** ![corgrath](https://avatars.discourse-cdn.com/v4/letter/c/898d66/32.png) [@corgrath](https://staging-discuss.dev.twitch.com/u/corgrath)\
**Post date:** [September 14, 2017, 4:23am UTC](https://staging-discuss.dev.twitch.com/t/why-do-i-need-to-add-broadcast-type-for-v3-channels-channel-videos-when-its-not-a-required-parameter/11980/3 "2017-09-14T04:23:49Z")

</div>

Thanks.

---

<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:** [October 14, 2017, 4:23am UTC](https://staging-discuss.dev.twitch.com/t/why-do-i-need-to-add-broadcast-type-for-v3-channels-channel-videos-when-its-not-a-required-parameter/11980/4 "2017-10-14T04:23:59Z")

</div>

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