Live streaming
Twitch API
Retrieve Twitch profiles, live status, individual videos, channel videos and clips, weekly schedules and clip details.
Read Twitch channel identity and live status, explore videos and clips, and retrieve individual video metadata and weekly schedules.
API availability: Available
http://localhost:3012Public API: https://api.scrapeatlas.com.Endpoints
/v1/twitch/profileGet a Twitch profile
Retrieve profile identity, biography, social links, followers, partner status, current stream, videos, home-page video shelves and similar streamers. Social names become lowercase top-level keys.
Reference/v1/twitch/profile/basicGet basic profile and live status
Retrieve channel identity, biography, avatar, followers, partner status and the current live stream in a compact profile response.
Reference/v1/twitch/user/videosGet user videos
Retrieve a page of Twitch videos with type and sort filters, hasNextPage and cursor metadata.
Reference/v1/twitch/user/scheduleGet user schedule
Retrieve the current calendar week, Monday 00:00 UTC through the next Monday. Includes schedule segments, cancellation metadata, interruption, next segment, current stream and this week’s recent broadcasts.
Reference/v1/twitch/clipGet a Twitch clip
Retrieve public Twitch clip and playback metadata. Numeric keys group clip information, related clips and viewer data.
Reference/v1/twitch/videoGet video metadata
Retrieve one Twitch video by numeric ID or public video URL. Supply exactly one of id or url.
Reference/v1/twitch/user/clipsGet channel clips
Retrieve a channel’s clip cards with broadcaster, curator, game, views, duration, thumbnail and source page metadata. Choose the number of cards with limit.
ReferenceQuick start
Create an API key on your account page, then call the public API. Values below are placeholders.
curl "https://api.scrapeatlas.com/v1/twitch/profile?handle=example" \
-H "x-api-key: YOUR_API_KEY"Coverage & limits
- Profile identity, biography, social links, partner status, followers and current stream.
- Compact profile identity and live status with an explicitly nullable stream.
- Channel video collections and individual video metadata by ID or URL.
- Channel clip cards and individual clip details with broadcaster, curator and game metadata.
- Weekly channel schedules and broadcast metadata.
- Source fields, nulls, ordering, timestamps and GraphQL type names are preserved.
| HTTP | failure.code | Meaning |
|---|---|---|
| 200 | partial | Primary clip data is usable but a related-clips or viewer GraphQL query returned source errors. |
| 400 | invalid_request | Missing or unsafe input, unknown parameters, invalid filter/sort, or duplicate parameters. |
| 401 | unauthorized | Missing or invalid dedicated worker API key. |
| 403 | restricted_page | Unpublished clip, denied or expired playback token, or unexpected authenticated viewer. |
| 404 | not_found | The requested channel, video or clip is missing, or the route is unknown. |
| 429 | upstream_rate_limited | Twitch rate limited retrieval. |
| 502 | upstream_challenged public_client_unavailable | Twitch challenged the request or its public client identifier could not be determined. |
| 502 | upstream_graphql_error unsupported_page | Primary query failure or incomplete, unexpected or mismatched data. |
| 502 | response_too_large payload_too_complex | Byte, depth or JSON node limit exceeded. |
| 502 | unsafe_redirect request_limit upstream_error | Bounded transport could not complete. |
| 503 | busy | All worker admission slots are occupied. |
| 504 | timeout | The total request deadline expired. |