Pagination broken on v5 /streams endpoint

Hi,

Noticed that at around 1:30pm Pacific, today (2020-01-15), pagination stopped working on the V5 /streams endpoint, seems to no longer take offset into consideration.

https://api.twitch.tv/kraken/streams?limit=2&offset=1000 currently responding with

{
    "_total": 2,
    "streams": [
        {
            "_id": 478325025,
            "game": "dragon ball z: kakarot",
            "broadcast_platform": "live",
            "community_id": "",
            "community_ids": [],
            "viewers": 36747,
            "video_height": 1080,
            "average_fps": 0,
            "delay": 0,
            "created_at": "2020-01-15T20:03:46Z",
            "is_playlist": false,
            "stream_type": "live",
            "preview": {
                "small": "https://static-cdn.jtvnw.net/previews-ttv/live_user_rubius-80x45.jpg",
                "medium": "https://static-cdn.jtvnw.net/previews-ttv/live_user_rubius-320x180.jpg",
                "large": "https://static-cdn.jtvnw.net/previews-ttv/live_user_rubius-640x360.jpg",
                "template": "https://static-cdn.jtvnw.net/previews-ttv/live_user_rubius-{width}x{height}.jpg"
            },
            "channel": {
                "mature": false,
                "status": "(estoy con un poco de fiebre D:) ONDA VITAL SUPER CALVO TOXICO Z KAKAROT",
                "broadcaster_language": "es",
                "broadcaster_software": "",
                "display_name": "Rubius",
                "game": "Dragon Ball Z: Kakarot",
                "language": "en",
                "_id": 39276140,
                "name": "rubius",
                "created_at": "2013-01-12T18:46:56.563451Z",
                "updated_at": "2020-01-15T21:52:22.232757Z",
                "partner": true,
                "logo": "https://static-cdn.jtvnw.net/jtv_user_pictures/a2592e98-5ba6-4c9a-9d9e-cf036d6f64c2-profile_image-300x300.jpg",
                "video_banner": "https://static-cdn.jtvnw.net/jtv_user_pictures/a5ac6c86-a4b0-4176-a70a-88354dd7a8b7-channel_offline_image-1920x1080.jpeg",
                "profile_banner": "https://static-cdn.jtvnw.net/jtv_user_pictures/41d20dc2-79c1-47bb-9faa-0c8460857e1d-profile_banner-480.jpg",
                "profile_banner_background_color": "",
                "url": "https://www.twitch.tv/rubius",
                "views": 34675795,
                "followers": 2987586,
                "broadcaster_type": "",
                "description": "",
                "private_video": false,
                "privacy_options_enabled": false
            }
        },
        {
            "_id": 36672537152,
            "game": "fortnite",
            "broadcast_platform": "live",
            "community_id": "",
            "community_ids": [],
            "viewers": 25392,
            "video_height": 900,
            "average_fps": 59,
            "delay": 0,
            "created_at": "2020-01-15T14:48:31Z",
            "is_playlist": false,
            "stream_type": "live",
            "preview": {
                "small": "https://static-cdn.jtvnw.net/previews-ttv/live_user_timthetatman-80x45.jpg",
                "medium": "https://static-cdn.jtvnw.net/previews-ttv/live_user_timthetatman-320x180.jpg",
                "large": "https://static-cdn.jtvnw.net/previews-ttv/live_user_timthetatman-640x360.jpg",
                "template": "https://static-cdn.jtvnw.net/previews-ttv/live_user_timthetatman-{width}x{height}.jpg"
            },
            "channel": {
                "mature": true,
                "status": "last stream b4 vegas - follow twitter/insta/tiktok (@timthetatman) for when i'm live",
                "broadcaster_language": "en",
                "broadcaster_software": "",
                "display_name": "TimTheTatman",
                "game": "Fortnite",
                "language": "en-gb",
                "_id": 36769016,
                "name": "timthetatman",
                "created_at": "2012-10-08T18:13:50.602006Z",
                "updated_at": "2020-01-15T21:56:56.481007Z",
                "partner": true,
                "logo": "https://static-cdn.jtvnw.net/jtv_user_pictures/timthetatman-profile_image-4cb867e7d0af1448-300x300.jpeg",
                "video_banner": "https://static-cdn.jtvnw.net/jtv_user_pictures/f1fb5331-febd-45b7-bca2-1bea9aaa5023-channel_offline_image-1920x1080.png",
                "profile_banner": "https://static-cdn.jtvnw.net/jtv_user_pictures/a6fd8fac-458a-4667-a726-4791ef7854a7-profile_banner-480.jpeg",
                "profile_banner_background_color": "",
                "url": "https://www.twitch.tv/timthetatman",
                "views": 167523660,
                "followers": 4237245,
                "broadcaster_type": "",
                "description": "Gamer, nerd, geek. Streaming mostly FPS/Whatevs/Yolo. Feel welcomed, talk to me, and be yourself. Welcome to the #tatmanarmy, one of the most interactive communities on twitch!",
                "private_video": false,
                "privacy_options_enabled": false
            }
        }
    ]
}

Can confirm. Iā€™d also like to add the the _total key seems to be just echoing the limit, rather than giving the total number of streams.

A change is being reverted to solve this issue.

1 Like

Thanks for the update!

1 Like

Confirming fixed in our app. Thanks, Twitch Dev Team, for fixing it quickly.