Twitch API
Read Twitch channel profiles, channel search, channel clips, the live channels of a category, top live streams and top games as JSON with one EveryInfra API key, from $1.39 per 1,000 calls.
All you need is one API key, no Twitch account or cookie. It also works as an MCP tool in Claude and Cursor. Star our two GitHub repositories to claim $1 in trial credit and try it first. The credit is valid for 24 hours after you claim it.
- 6 endpoints, one key.
- Failed calls and empty results are not charged.
- Call it with an EveryInfra API key, not a Twitch access token.
Real sample values for one channel
POST /api/v1/social params {"username":"shroud"}
Platform availability
- 24h health
- Normal
Last 30 days
Available capabilities
Retrieve Twitch channel profiles, active streams, top clips and games to monitor live broadcast content.
Pass the channel login name, not a twitch.tv URL. An invalid clip period falls back to the last week.
Channels and clips
- SearchNormal
Find Twitch channels by keyword, with follower count, Partner or Affiliate status, live state and last broadcast details.
search$1.39 per 1,000 callsEvery 10 rows count as one call - ProfilesNormal
Pull a Twitch channel's profile, Partner or Affiliate status, live stream details and last broadcast.
profile$1.39 per 1,000 calls - ClipsNormal
Get the clips cut from a Twitch channel.
clips$1.39 per 1,000 callsEvery 10 rows count as one call
Live streams and categories
- StreamsNormal
List Twitch channels currently live in a category, with stream title, viewer count, follower count and start time.
streams$1.39 per 1,000 callsEvery 10 rows count as one call - Top streamsNormal
See the top live streams on Twitch with channel, title, game, viewer count and start time, no input required.
top_streams$1.39 per 1,000 callsEvery 10 rows count as one call - Top gamesNormal
Track the top games on Twitch with viewer and broadcaster counts and box art, no input needed.
top_games$1.39 per 1,000 callsEvery 10 rows count as one call
5 questions to ask before choosing a data API for Twitch
Do I need to log in to Twitch or provide a cookie to make calls?
No. Send Authorization: Bearer with your API key in the request header, and put platform, action and the capability parameters in the request body. There is no QR-code login, no login state to maintain and no browser to run.
How is it billed? Are failed requests charged? Is there a free trial?
Billing is per request, $1.39 per 1,000 requests. Failed requests, empty results, invalid parameters and authentication failures are not charged. Star both everyinfra/everyinfra-agent-plugins and everyinfra/seo-skills on GitHub, then claim $1 under Balance & top-ups in the console. It is valid for 24 hours after you claim it, and no credit card is needed.
Can I connect this Twitch API to Claude or Cursor?
Yes. The remote MCP URL is https://api.everyinfra.com/mcp. Add Authorization: Bearer and your API key as a request header; there is no local program to install. Setup for Claude, Cursor, ChatGPT and Claude Code is on https://everyinfra.com/en/mcp-server.
What compliance points apply when using Twitch data?
The EveryInfra Terms of Service require you to make sure your use of the data complies with applicable law and the platform's terms. They prohibit unlawful use, violating privacy or intellectual property, and bulk scraping for harassment, fraud or other malicious purposes. If you use personal information such as nicknames and avatars, keep only the fields your business needs.
What Twitch data can I get?
Available Twitch capabilities (6): Search, Profiles, Clips, Streams, Top streams, Top games. The parameters and response fields of each capability are in the API reference on this page.
Use cases
Find streamer candidates and check their profiles
Search channels by keyword, then read follower count, partner level and the time of the latest broadcast from the profile.
Collect the clips of a channel
Read the clips of one channel in a time window, and tell the clipped channel and the clip maker apart.
Watch the live streams of one category
See which categories have the most viewers, then read the channels streaming live in one of them.
See the top streams right now
Read the current top streams and top categories with no parameters. Reading on a schedule keeps snapshots from different moments.
Twitch API vs EveryInfra
Twitch has an official API, and its documentation lists the parameters and response fields of each endpoint one by one. The endpoints that can be compared item by item are compared on their own endpoint pages, so this page has no platform-level comparison rows.
| Compared | Twitch API | EveryInfra |
|---|
The official documentation is in English. This page has no platform-level quotes. Official sources:
What does each Twitch action accept?
Parameter table for all 6 actions
Sync delivery for every action.
| Action | Required | Optional | Limit | Per 1,000 | Response fields |
|---|---|---|---|---|---|
searchSearch Find Twitch channels by keyword, with follower count, Partner or Affiliate status, live state and last broadcast details. It searches channels, not chat, and | keyword | — | Catalog values: defaultLimit=10, maxLimit=30. For some actions a limit controls pages or per-parent expansion, so it is not always the final row count. | $1.39 per 1,000 requestsEvery 10 rows count as one call | user_id · username · display_name · bio · url · avatar_url · banner_url · follower_count · is_partner · is_affiliate · is_live · current_viewers · stream_title · current_game · stream_started_at · last_broadcast_title · last_broadcast_game · last_broadcast_at · created_at · platform |
profileProfiles Pull a Twitch channel's profile, Partner or Affiliate status, live stream details and last broadcast. Recent videos and top clips come by default. Set | username | include_clips, include_videos | — | $1.39 per 1,000 requests | user_id · username · display_name · bio · url · avatar_url · banner_url · follower_count · is_partner · is_affiliate · is_live · current_viewers · stream_title · current_game · stream_started_at · last_broadcast_title · last_broadcast_game · last_broadcast_at · created_at · recent_videos · top_clips · platform |
clipsClips Get the clips cut from a Twitch channel. Each clip has title, views, length, game and the viewer who clipped it. | username | period | Catalog values: defaultLimit=10, maxLimit=30. For some actions a limit controls pages or per-parent expansion, so it is not always the final row count. | $1.39 per 1,000 requestsEvery 10 rows count as one call | id · title · url · view_count · duration_seconds · duration_sec · game · channel_username · channel_name · curator_username · curator_name · thumbnail_url · created_at · platform |
streamsStreams List Twitch channels currently live in a category, with stream title, viewer count, follower count and start time. | game | — | Catalog values: defaultLimit=10, maxLimit=30. For some actions a limit controls pages or per-parent expansion, so it is not always the final row count. | $1.39 per 1,000 requestsEvery 10 rows count as one call | stream_id · username · display_name · follower_count · title · viewer_count · game · started_at · url · avatar_url · platform |
top_streamsTop streams See the top live streams on Twitch with channel, title, game, viewer count and start time, no input required. The order is neither a lasting ranking nor a recommendation of our own. | — | Catalog values: defaultLimit=10, maxLimit=30. For some actions a limit controls pages or per-parent expansion, so it is not always the final row count. | $1.39 per 1,000 requestsEvery 10 rows count as one call | stream_id · username · display_name · follower_count · title · viewer_count · game · started_at · url · avatar_url · platform | |
top_gamesTop games Track the top games on Twitch with viewer and broadcaster counts and box art, no input needed. The counts describe Twitch viewing only, not sales, total players or popularity elsewhere. | — | Catalog values: defaultLimit=10, maxLimit=200. For some actions a limit controls pages or per-parent expansion, so it is not always the final row count. | $1.39 per 1,000 requestsEvery 10 rows count as one call | id · name · viewer_count · broadcaster_count · box_art_url · url · platform |
What each action's parameters mean (6 actions)
Each answer below pairs one callable action with its real inputs. Parameter meanings and allowed values are action-specific; a familiar name does not carry the same meaning across every platform.
Official sources are linked only to clarify the platform term beside them. They do not imply platform authorization or endorsement, and features of the official site are not part of the EveryInfra API unless this page lists them.
What do the Twitch search parameters mean?
Find Twitch channels by keyword, with follower count, Partner or Affiliate status, live state and last broadcast details. It searches channels, not chat, and is_live reflects the moment of the call rather than a guarantee.
keywordRequired- Channel keyword for search. The streams endpoint requires an exact game or category name via game, rather than arbitrary stream title keywords.
What do the Twitch profile parameters mean?
Pull a Twitch channel's profile, Partner or Affiliate status, live stream details and last broadcast. Recent videos and top clips come by default. Set include_videos or include_clips to the boolean false to drop those sections. Revenue, subscriber names and private analytics are not exposed.
usernameRequired- Twitch channel login short name for profile or clips, optionally prefixed with @, without parsing full twitch.tv URLs.Twitch: Login Names, Display Names, and Broadcaster Types — Official Twitch documentation separately defines login, display_name, and broadcaster_type. Here, username should use the channel short name and not treat the display name or Partner/Affiliate type as a login credential; other parameters supported by official user queries are not automatically added to this API. · Checked
include_clipsOptional- Boolean value defaulting to true indicating whether the profile response includes curated clip information. Its time window differs from the standalone clips endpoint.
include_videosOptional- Boolean value defaulting to true indicating whether the profile response includes recent video archive information. Set to false to omit this section; do not pass the string "false".
What do the Twitch clips parameters mean?
Get the clips cut from a Twitch channel. Each clip has title, views, length, game and the viewer who clipped it. period picks the past day, week (the default), month or all time. The window may not hold every clip.
usernameRequired- Twitch channel login short name for profile or clips, optionally prefixed with @, without parsing full twitch.tv URLs.
periodOptional- Time window for clips: LAST_DAY for the past day, LAST_WEEK for the past week (default), LAST_MONTH for the past month, or ALL_TIME for unrestricted. Values are case-insensitive, and invalid values fall back to LAST_WEEK.Twitch: Clip Creators, Source Channels, and View Counts — Twitch's official documentation for clips separates broadcaster from creator, defines view_count as the clip view count, and defines duration in seconds. This section only verifies terminology and does not replicate official start/end dates, cursors, or clip creation parameters. · Checked
What do the Twitch streams parameters mean?
List Twitch channels currently live in a category, with stream title, viewer count, follower count and start time. game needs the exact category name, such as Just Chatting, and viewer counts are a snapshot.
gameRequired- Exact Twitch category name for streams, such as Just Chatting. Returns channels currently streaming in that category, not historical video archives of the game.Twitch: Live Stream Categories and Current Viewer Counts — Official live stream documentation distinguishes categories, channels, and current live streams, defining viewer_count as the number of users currently watching the stream. It is not a Clip view count, follower count, or historical total view count; the official game_id parameter does not replace the category name required by this page. · Checked
What do the Twitch top_streams parameters mean?
See the top live streams on Twitch with channel, title, game, viewer count and start time, no input required. The order is neither a lasting ranking nor a recommendation of our own.
Full API reference: parameters, code samples, response example and healthThis action has no business parameters. Send only the platform and action identifiers.
What do the Twitch top_games parameters mean?
Track the top games on Twitch with viewer and broadcaster counts and box art, no input needed. The counts describe Twitch viewing only, not sales, total players or popularity elsewhere.
Full API reference: parameters, code samples, response example and healthThis action has no business parameters. Send only the platform and action identifiers.
How to use the Twitch API
- 01Choose a platform action from the public catalog.
- 02Send the platform, action, and required parameters to POST /api/v1/social.
- 03Read the result from the response. For an asynchronous action, poll the returned job ID.
- 04Store the response fields that your application needs.
curl -X POST https://api.everyinfra.com/api/v1/social \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{"platform":"twitch","action":"search","params":{"keyword":"<keyword>"}}'
Twitch API questions
What can I retrieve with the Twitch API?
Set platform to twitch. The current catalog lists search, profiles, clips, streams, top streams, and more. These action names identify different Twitch objects or views; they are not interchangeable search modes.
Which input starts the Twitch search request?
Channel keyword for search. The streams endpoint requires an exact game or category name via game, rather than arbitrary stream title keywords. Send it as keyword inside params.
Which fields can Twitch search return?
Its declared schema includes user_id, username, display_name, and bio. A declared field can still be absent from an individual record, and every other action has its own field list.
Does every Twitch action return immediately?
Actions labeled asynchronous return a job ID you poll. Every other action can also run asynchronously: add "mode": "async" to the request body to receive a job ID immediately, useful for slow tasks or large limits. The current catalog contains sync delivery.