Rank a Twitch channel by followers and viewership
https://api.handlesapi.com/v1/tools/twitch/rankThe POST /v1/tools/twitch/rank endpoint of Handles API (Tools): Rank a Twitch channel by followers and viewership. One call costs 2 credits (a live read of the platform) and needs the tools:use scope. A success returns JSON as { data, meta }.
Places a Twitch channel on two ladders at once: its follower count against every Twitch channel in our catalog, and its average concurrent viewership against every channel we have measured streaming. Returns both percentiles, an estimated position and the follower-to-viewer turnout between them.
This is a sensitive scope. Keys are not granted it by default, and calls are audited.
Metered as a live call: it counts against the separate live-per-minute bucket as well as your normal rate limit, because it reaches an upstream source.
- Free to answer from numbers: with
followers(optionally plusavg_ccv) this reads no upstream and no database, because both ladders are baked constants. Withhandleit looks the channel up and is metered as a live call. - The two halves are independent on purpose. The follower ladder says how big the audience is; the CCV ladder says how much of it shows up. Measured follower-to-viewer turnout has a median of 2.18% on Kick and 1.09% on Twitch, so the two percentiles routinely disagree - which is the point.
- Percentiles are against the channels in our catalog, not against every channel on the platform. estimated_rank is derived from the ladder rather than counted, and is null below its resolution.
- A channel we have never caught live still ranks on followers: only the avg_ccv half comes back null. Unlike the money and channel-value endpoints, an unmeasured channel is not a 422 here.
- Twitch's ladders are measured over 66,493 active non-NSFW channels, all of which carry a follower count; 41,506 carry a measured average CCV.
- Twitch reference points: followers p50 266, p90 12,688, p99 372,271. Average CCV p50 5, p90 104, p99 1,431.
Request
curl -X POST "https://api.handlesapi.com/v1/tools/twitch/rank" \
-H "Authorization: Bearer $HANDLES_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"handle": "jynxzi"
}'const res = await fetch("https://api.handlesapi.com/v1/tools/twitch/rank", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.HANDLES_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"handle": "jynxzi"
}),
});
if (!res.ok) throw new Error((await res.json()).error.code);
const { data, meta } = await res.json();
console.log(data);import os
import requests
res = requests.post(
"https://api.handlesapi.com/v1/tools/twitch/rank",
headers={"Authorization": f"Bearer {os.environ['HANDLES_API_KEY']}"},
json={
"handle": "jynxzi",
},
)
res.raise_for_status()
print(res.json()["data"])Set HANDLES_API_KEY to a key from your dashboard. Keys start with hk_live_.
Request body
JSON, sent with Content-Type: application/json.
| Field | Type | Required | Description |
|---|---|---|---|
| handle | string | Optional | Twitch channel name. Required unless followers is supplied. Also accepted as channel or username. |
| followers | integer | Optional | A bare follower count to place on the ladder. Answers without any lookup at all. |
| avg_ccv | number | Optional | Optional average concurrent viewers, placed on the viewership ladder at the same time. Also free. |
{
"handle": "jynxzi"
}Response
Success is always { data, meta }.
{
"data": {
"channel": {
"platform": "twitch",
"handle": "jynxzi",
"name": "Jynxzi",
"avatar_url": "https://static-cdn.jtvnw.net/jtv_user_pictures/jynxzi-profile_image-300x300.png",
"verified": true,
"badge": "Partner",
"is_live": true,
"category": "Rainbow Six Siege",
"channel_url": "https://twitch.tv/jynxzi",
"profile_path": "/best-twitch-channels/jynxzi"
},
"followers": {
"value": 11245167,
"percentile": 99.5,
"estimated_rank": 333,
"tier": "elite",
"sample_size": 66493,
"indexed_total": 66493,
"computed_at": "2026-09-02"
},
"avg_ccv": {
"value": 36082,
"percentile": 99.8,
"sample_size": 41506,
"computed_at": "2026-09-02"
},
"follower_to_viewer_turnout_percent": 0.32,
"computed_from": "lookup",
"summary": {
"tier_label": "Top tier",
"sentence": "Twitch channel jynxzi has 11,245,167 followers, ahead of 99.5% of the 66,493 Twitch channels we track, and 36,082 average concurrent viewers, ahead of 99.8% of the 41,506 we have measured streaming as of 2026-09-02.",
"basis": "Percentiles are against the Twitch channels in the Handles API catalog, not against every channel on Twitch."
}
},
"meta": {
"request_id": "req_9f2c41a8b3d5",
"generated_at": "2026-08-23T09:14:02.317Z",
"took_ms": 42,
"cache_age_s": 0
}
}Response headers
Every successful response carries these headers.
| Header | Type | Description |
|---|---|---|
| X-Request-Id | string | Quote this to support. |
| X-RateLimit-Limit | integer | Requests allowed in the current one-minute window. |
| X-RateLimit-Remaining | integer | Requests left in the current one-minute window. |
| X-RateLimit-Reset | integer | Unix seconds at which the current window resets. |
| X-Credits-Cost | integer | Credits this call used. |
| X-Credits-Remaining | integer | Plan credits left in the current period. |
| X-Credits-Period-End | string | When the current period ends (ISO 8601). |
Errors
| Status | Error code | When |
|---|---|---|
| 401 | unauthorized | No key was sent, or the key is unknown or revoked. |
| 402 | quota_exceeded | Your plan's credits for this period are used up and overage is off (or its cap is reached). Waiting does not help: upgrade, or turn on overage in the dashboard. |
| 422 | invalid_request | A parameter is malformed, out of range or mutually exclusive with another. details names the offending fields. |
| 429 | rate_limitedlive_limit_reached | Too many requests. rate_limited clears when the minute window resets (see Retry-After); live_limit_reached (Free plan) clears at 00:00 UTC.Also sends Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset. |
| 500 | internal_error | Something failed on our side. The call was not charged; quote the request_id to support. |
| 503 | upstream_timeoutupstream_errorplatform_unavailableservice_unavailable | The call could not be served right now and was not charged. upstream_timeout / upstream_error: a data source was slow or failed, retry with backoff. platform_unavailable: live reads for that platform are paused. service_unavailable: retry shortly. |
Failures use the error envelope. Branch on error.code, never on the message.