# Twitch API — UnifAPI

> Channels, videos, clips, schedules. Read Twitch channels with follower counts, live status and viewers, a channel's videos and stream schedule, and clips by URL as unified JSON.

- Category: Social platforms
- API base URL: https://api.unifapi.com
- Auth: `Authorization: Bearer <UnifAPI API key>` (OAuth recommended for MCP clients)
- MCP server: https://mcp.unifapi.com
- Developer docs: https://docs.unifapi.com/api/twitch
- OpenAPI spec: https://unifapi.com/openapi.json
- HTML page: https://unifapi.com/apis/twitch
- Full catalog: https://unifapi.com/apis.md

## Agent workflows

- Vet streamers for sponsorships with follower counts, live status, recent videos and similar streamers.
- Plan campaigns around a channel's published stream schedule and the games it streams.
- Measure a clip's reach from its views, game and broadcaster before featuring it in content.

## Endpoints (4)

Every endpoint returns the UnifAPI JSON envelope (`request_id`, `data`, `pagination` on lists, `billing`) and bills max(records × credits per record, minimum) in credits.

### Get a Twitch channel

`GET /twitch/channels/{username}`

Returns a Twitch channel by login: display name, bio, follower count, live status, recent videos and similar streamers. Returns `not_found` when the channel does not exist.

- Price: 1 credit per record, minimum 3 credits ($0.003) per call
- Required: `username` (path)
- Details: https://unifapi.com/apis/twitch/channels/username/get
- Docs: https://docs.unifapi.com/api/twitch/channels/username/get

### Get a Twitch channel's stream schedule

`GET /twitch/channels/{username}/schedule`

Returns the upcoming stream schedule segments of a Twitch channel with start and end times, titles and categories.

- Price: 1 credit per record, minimum 3 credits ($0.003) per call
- Required: `username` (path)
- Details: https://unifapi.com/apis/twitch/channels/username/schedule/get
- Docs: https://docs.unifapi.com/api/twitch/channels/username/schedule/get

### List videos from a Twitch channel

`GET /twitch/channels/{username}/videos`

Returns videos (past broadcasts, highlights, uploads) from a Twitch channel with titles, durations and view counts. Filter by type and sort by time or views.

- Price: 1 credit per record, minimum 3 credits ($0.003) per call
- Required: `username` (path)
- Details: https://unifapi.com/apis/twitch/channels/username/videos/get
- Docs: https://docs.unifapi.com/api/twitch/channels/username/videos/get

### Get a Twitch clip by URL

`GET /twitch/clips`

Returns one Twitch clip by URL: title, broadcaster, game, view count, duration, playback URLs and related clips. Returns `not_found` when the clip does not exist.

- Price: 1 credit per record, minimum 3 credits ($0.003) per call
- Required: `url` (query)
- Details: https://unifapi.com/apis/twitch/clips/get
- Docs: https://docs.unifapi.com/api/twitch/clips/get

## Related APIs

- [Rumble API](https://unifapi.com/apis/rumble/index.md) — Videos, channels, search, comments, transcripts
- [Truth Social API](https://unifapi.com/apis/truth-social/index.md) — Profiles, posts, engagement
- [Linktree API](https://unifapi.com/apis/linktree/index.md) — Link-in-bio pages
- [Telegram API](https://unifapi.com/apis/telegram/index.md) — Public channels, posts, reactions
- [Amazon API](https://unifapi.com/apis/amazon/index.md) — Creator storefronts
- [Snapchat API](https://unifapi.com/apis/snapchat/index.md) — Public profiles, Spotlight videos, comments
