Twitch prints a channel's follower count on the channel page itself, so reading it back sounds like a small job. The official API makes it a slightly bigger one than you would expect.
What the official API asks of you
First a registered application, with a client ID and a client secret. Then a token, and this is where the follower count turns awkward: the endpoint that reports it wants a user access token, which means sending a real person through an OAuth redirect and refreshing the token when it expires. The server-to-server client credentials token, the kind a nightly job would naturally use, is not accepted there.
The other numbers live somewhere else again. Videos come from a separate endpoint that pages through a channel without reporting a total, so counting them means walking the pages yourself.
What Metrika gives you for Twitch
Send a channel name and get back the datapoints we hold for
it: follower count, video count, and verified status. The
identifier is the name from the channel URL, so
twitch.tv/ninja is simply ninja.
$ curl -X POST https://metrika.run/api/v1/resources/search \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{"resources": [{"platform": "twitch", "type": "account", "identifier": "ninja"}]}'
Follower and video counts come back under metrics, verified
status under attributes. The video count is returned as
posts, the common name for that datapoint, and carries a
semantic field of videos so your interface can use
Twitch's own word for it. Verified reflects Twitch Partner
status, the badge the site shows beside a channel name.
The same request shape everywhere
Twitch is one of many platforms Metrika supports, alongside Instagram, X, TikTok, YouTube, LinkedIn, Facebook, Threads, Bluesky, GitHub, Kick, Telegram, Snapchat, Pinterest, Discord, Reddit, Spotify, and SoundCloud. The request you write here is the request you write for all of them, and that matters because a streamer is rarely only a streamer. The same person has an X handle, a YouTube channel, and a TikTok account, and the useful view is all of them side by side. One token, one response shape, up to ten accounts in a single call, mixing platforms freely.
What Metrika is not
Metrika is read-only and public-only. It will not tell you who is live right now, what they are playing, how many people are watching, or anything about chat, clips, or subscriptions. If you need that, the official API is the right tool for the job.
Getting started
Create an account, generate an API key from your dashboard, and you get up to 500 requests per month at no cost, no credit card required. The docs cover authentication and response formats.
Get started with Metrika
Create a free account and start pulling social media datapoints in minutes. The free tier includes 500 requests per month, no credit card required.