Why does it not work to use Twitch's API v5 to get the top clips?

This is what I type into my terminal (Arch Linux), but it returns 404. Other calls such as just using kraken/teams seems to work, but this call (taken from the API reference’s list) doesn’t work. I’ve called it in Python with the correct headers; client-id and accepting v5+json, but it doesnt seem to work there either.

GET https://api.twitch.tv/kraken/clips/top

If you’re getting a 404 it’s likely because you’re not making a request to the v5 api, as that endpoint doesn’t exist in v3 (the default) which would explain the 404. You need to add either the api_version=5 querystring param to the URL, or the Accept: application/vnd.twitchtv.v5+json header, to the request.

Can you show us the code you’re trying to use because that endpoint appears to be working fine on my end.

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