# Getting twitch clips by clip\_id

**URL:** <https://staging-discuss.dev.twitch.com/t/getting-twitch-clips-by-clip-id/31144>\
**Category:** API\
**Created:** [April 5, 2021, 1:09am UTC](https://staging-discuss.dev.twitch.com/t/getting-twitch-clips-by-clip-id/31144 "2021-04-05T01:09:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Poberts](https://d1d6mrmdu7ztse.cloudfront.net/user_avatar/staging-discuss.dev.twitch.com/poberts/32/11841_2.png) [@Poberts](https://staging-discuss.dev.twitch.com/u/Poberts)\
**Post date:** [April 5, 2021, 1:09am UTC](https://staging-discuss.dev.twitch.com/t/getting-twitch-clips-by-clip-id/31144/1 "2021-04-05T01:09:42Z")

</div>

I’m trying to get information on clips but I already have the clip so I want to use the slug, the part after “[https://clips.twitch.tv/](https://clips.twitch.tv/)” to look for clips so I currently use the line “clip = twitch.get\_clips(clip\_id=[clip\_slug])” and get the error twitchAPI.types.TwitchAPIException: Bad Request. I tried getting clips by broadcaster id and it worked but I can’t figure out why getting clips by clip\_id doesn’t work. I am using python by the way.

---

<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:** [April 5, 2021, 1:15am UTC](https://staging-discuss.dev.twitch.com/t/getting-twitch-clips-by-clip-id/31144/2 "2021-04-05T01:15:08Z")

</div>

> [@Poberts](#):
>
> get the error twitchAPI.types.TwitchAPIException: Bad Request. I tried getting clips by broadcaster id and it worked but I can’t figure out why getting clips by clip\_id doesn’t work. I am using python by the way.

I don’t recognise this error.

Sounds like you are using a library and not calling the API yourself?

So is the library using kraken or helix?  
Whats the actual API URL being called?

---

<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:** [May 5, 2021, 1:15am UTC](https://staging-discuss.dev.twitch.com/t/getting-twitch-clips-by-clip-id/31144/3 "2021-05-05T01:15:16Z")

</div>

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