Get streams summary replacement in new api?



I tired this endpoint in helix to no avail. Is there a replacement or do I have to count every stream?


Works ok for me:

"channels": 24585,
"viewers": 743808

Make sure your request includes the v5 accept header

curl -H 'Accept: application/vnd.twitchtv.v5+json' \
-H 'Client-ID: uo6dggojyb8d6soh92zknwmi5ej1q2' \
-X GET ''


hello barry,
i think it’s deprecated now,i get 410 error


You get a 410 if you omit the v5 header

Works fine here:


Please read

The migration guide:

The documentation for this endpoint

Note the requirement to specify two headers

A ClientID and an Accept header


no i get it with v5 header :confused:


Your code is wrong.

request.Accept should be request.Headers.Add


sorry barry but it works good like this …
i’m using System.Net.Http,so it works


i found the problem and it work’s perfectly :smiley: