twitch-api
Skill48 starsChanged 33 days agoMITView on GitHub
Pull a Twitch channel's profile and live status, list its VODs / highlights / uploads, read its stream schedule, and resolve a clip to downloadable MP4 qualities. 4 endpoints, 1 credit each, structured JSON.
- Reads credentials
1 other project uses a version of this.
Adopted by
Most recently taken up by
- nikhonit/social-media-api-skillstheir own version, first seen Oct 13, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- nikhonit/social-media-api-skills★ 3same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository81 other files it gives its agents.
- airbnb-scraper-apiSkill
- aldi-grocery-dataSkill
- aliexpress-product-dataSkill
- amazon-product-dataSkill
- apple-app-store-apiSkill
- booking-com-hotel-dataSkill
- canadian-tire-apiSkill
- capterra-reviews-apiSkill
- chatgpt-scraper-apiSkill
- chewy-product-dataSkill
- companies-house-apiSkill
- costco-product-dataSkill
- cvs-product-dataSkill
- decathlon-product-dataSkill
- dollar-general-apiSkill
- douyin-scraper-apiSkill
- ebay-product-dataSkill
- etsy-product-dataSkill
- facebook-scraper-apiSkill
- g2-software-reviews-apiSkill
- gemini-scraper-apiSkill
- github-apiSkill
- glassdoor-salary-dataSkill
- google-ads-transparency-apiSkill
- google-ai-mode-apiSkill
- google-flights-apiSkill
- google-hotels-apiSkill
- google-maps-apiSkill
- google-news-apiSkill
- google-play-store-apiSkill
- google-search-apiSkill
- google-shopping-apiSkill
- google-trends-apiSkill
- harbor-freight-apiSkill
- heb-grocery-dataSkill
- home-depot-product-dataSkill
- iherb-product-dataSkill
- indeed-jobs-apiSkill
- instagram-scraper-apiSkill
- kroger-grocery-dataSkill
- kuaishou-scraper-apiSkill
- linkedin-ad-library-apiSkill
- linkedin-scraper-apiSkill
- lowes-product-dataSkill
- menards-product-dataSkill
- mercadolibre-product-dataSkill
- meta-ad-library-apiSkill
- micro-center-apiSkill
- nordstrom-product-dataSkill
- nordstrom-rack-product-dataSkill
- petco-product-dataSkill
- petsmart-product-dataSkill
- pinterest-apiSkill
- realtor-com-property-dataSkill
- reddit-search-apiSkill
- redfin-property-dataSkill
- rightmove-property-dataSkill
- sams-club-product-dataSkill
- scavioSkill
- sec-edgar-apiSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
10 rules. About 0 are common, 5 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 24
Use this skill when the user asks to:
- Distinctive: line 25
Look up a Twitch channel's profile, follower count and whether it is live right now
- Distinctive: line 27
Read a channel's upcoming stream schedule
- Distinctive: line 29
Do creator research, live-status monitoring or clip archival on Twitch
- Very specific: line 48
When the balance runs out the API answers 402 with a JSON body carrying billing_url.
- Very specific: line 53
Every request is a POST with a JSON body and:
- Very specific: line 134
Every response uses the envelope { data, response_time, credits_used, credits_remaining }.
- Very specific: line 138
Every Twitch call is 1 credit.
- Distinctive: line 142
Never fabricate follower counts, video titles, view counts or clip URLs.
- Very specific: line 152
If SCAVIO_API_KEY is not set, prompt the user to export it before continuing.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Twitch API - Profiles, VODs, Clips, Schedule
Pull a Twitch channel's profile and live status, list its videos, read its stream schedule, and resolve a clip to its downloadable MP4 qualities. All endpoints return structured JSON.
When to trigger
Use this skill when the user asks to:
- Look up a Twitch channel's profile, follower count and whether it is live right now
- List a channel's VODs (past broadcasts), highlights or uploads, sorted by time or views
- Read a channel's upcoming stream schedule
- Resolve a Twitch clip to its metadata and directly-downloadable MP4 qualities
- Do creator research, live-status monitoring or clip archival on Twitch
Setup
Get a free API key at scavio.dev (50 free credits to get started, no card required):
export SCAVIO_API_KEY=sk_live_your_keyIf you do not have a key yet
An agent running this skill without SCAVIO_API_KEY set will get 401 on every
call below. The whole path from nothing to a working key is self-serve:
- Sign up at dashboard.scavio.dev - email or Google, no card required.
- A key is created for the account automatically at signup. It is on the dashboard under API Keys, ready to copy.
- A new account starts with 50 credits. Endpoints in this skill cost 1 credit each unless the table below says otherwise.
When the balance runs out the API answers 402 with a JSON body carrying
billing_url. Topping up needs no code change - the same key keeps working.
The smallest purchase is 2,500 credits for $25, and monthly plans work out
cheaper per credit if the usage is steady rather than one-off.
Every request is a POST with a JSON body and:
Authorization: Bearer $SCAVIO_API_KEYEndpoints
Base URL: https://api.scavio.dev. Every Twitch endpoint costs 1 credit.
| Endpoint | Credits | What it returns |
POST /api/v1/twitch/profile | 1 | A channel's profile, follower count, live status and current stream |
POST /api/v1/twitch/user/videos | 1 | A channel's VODs / highlights / uploads, paginated and sortable |
POST /api/v1/twitch/user/schedule | 1 | A channel's stream schedule segments (null when the channel has none) |
POST /api/v1/twitch/clip | 1 | A single clip's metadata and directly-downloadable MP4 qualities |
Parameters
Profile (/profile) and Schedule (/user/schedule)
| Parameter | Type | Default | Description |
handle | string | required | Username, @handle, or a twitch.tv/<user> URL |
User Videos (/user/videos)
| Parameter | Type | Default | Description |
handle | string | required | Username, @handle, or a twitch.tv/<user> URL |
type | string | ARCHIVE | ARCHIVE (past broadcasts), HIGHLIGHT, UPLOAD, PAST_PREMIERE |
sort_by | string | TIME | TIME (newest first) or VIEWS |
first | integer | 30 | Videos per page, 1-100 |
cursor | string | -- | Pagination cursor from a previous response (see the note below) |
Clip (/clip)
| Parameter | Type | Default | Description |
clip | string | required | Clip slug or clip URL (clips.twitch.tv/<slug> or twitch.tv/<channel>/clip/<slug>) |
Video pagination
Twitch does not allow anonymous pagination past the first page of videos. The first page (up to 100 with first) covers any channel with 100 or fewer videos of the requested type. If you need more than the first page, request a larger first (up to 100) rather than passing cursor - a cursor past page 1 returns a 422 telling you exactly this.
Examples
import requests
BASE = "https://api.scavio.dev"
# Your key from https://scavio.dev. Load it from your environment or secret
# store in real code - keep it out of source control.
API_KEY = "sk_your_key_here"
HEADERS = {"Authorization": f"Bearer {API_KEY}"}
# 1. Is the channel live, and how many followers?
profile = requests.post(f"{BASE}/api/v1/twitch/profile", headers=HEADERS,
json={"handle": "shroud"}).json()
# 2. The channel's 100 most-viewed highlights
videos = requests.post(f"{BASE}/api/v1/twitch/user/videos", headers=HEADERS,
json={"handle": "shroud", "type": "HIGHLIGHT", "sort_by": "VIEWS",
"first": 100}).json()
# 3. Resolve a clip to downloadable MP4 qualities
clip = requests.post(f"{BASE}/api/v1/twitch/clip", headers=HEADERS,
json={"clip": "DeliciousDelightfulPicklesWOOP"}).json()curl:
curl -s https://api.scavio.dev/api/v1/twitch/profile \
-H "Authorization: Bearer $SCAVIO_API_KEY" \
-H "Content-Type: application/json" \
-d '{"handle":"pokimane"}'Response shape
Every response uses the envelope { data, response_time, credits_used, credits_remaining }. data carries the profile / videos[] / schedule / clip payload described above.
Guardrails
- Every Twitch call is 1 credit. A
400(bad input) and a404(unknown channel or clip) cost nothing - only a fully-served response is billed. - To read more than the first page of videos, raise
first(up to 100); do not page withcursor, which is gated past page 1 and returns a422. - A channel with no schedule returns
schedule: null- that is a valid answer, not an error. - Clip MP4 URLs are directly downloadable but signed with a short expiry; use them promptly.
- Never fabricate follower counts, video titles, view counts or clip URLs. Only return what the API returned.
Failure handling
400means an invalid or missing parameter. Fix and retry.401means the API key is invalid or missing. CheckSCAVIO_API_KEY.404means the channel or clip does not exist.422means you asked for video pagination past the first page - raisefirstinstead of usingcursor.429means rate or usage limit exceeded. Wait before retrying. See rate limits.502means the source is temporarily unavailable - wait a few seconds and retry.- If
SCAVIO_API_KEYis not set, prompt the user to export it before continuing.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

