Twitch Clip Details API
Get Twitch Clip Details via REST or OpenAny MCP—with pay-per-use pricing, no subscription, and no cookies required. Powered by ScrapeCreators, pass parameters such as url, filter, range, and retrieve structured data including clip identifier, clip title, clip duration in seconds, broadcaster username, and clip view count to build clip cards, review source media, and control freshness expectations.
- Selected price
- $0.00188 / callPublished pricing
- Sellers / APIs
- 1 / 1
- Requests · 30d
- 0Selected implementation · last 30 days
- Success rate · 30d
- —No requests in this period
Twitch Clip Details API
Prepare your request, then continue with your agent.
Selected price
$0.00188 / call
- Provider
- API
- Pricing
On this page
Overview
Twitch Clip Details API
Send url with optional cache_max_age. The reference response is an array whose entries contain data.clip, including title, duration, broadcaster and available video-quality or playback references.
Quick Facts
| Fact | Value |
|---|---|
| Access | OpenAny REST |
| Authentication | OpenAny API key in the Authorization header |
| Core inputs | Required query: url. Optional cache_max_age (1d/3d/7d/14d/30d). |
| Selected implementation | scrapecreators · Twitch — Clip |
| Billing | See the pricing area for the selected implementation and request options |
What You Can Build
- Build clip cards: Display title, duration and broadcaster context.
- Review source media: Retain available video references for separate handling.
- Control freshness expectations: Choose a source cache age suitable for the task.
Returned Data
| Field | Meaning |
|---|---|
[].data.clip.id |
Clip identifier |
[].data.clip.title |
Clip title |
[].data.clip.durationSeconds |
Clip duration in seconds |
[].data.clip.broadcaster.login |
Broadcaster username |
[].data.clip.viewCount |
Clip view count |
[].data.clip.thumbnailURL |
Thumbnail URL |
[].data.clip.videoQualities[].sourceURL |
Available video-quality source reference |
Quick Start
- Set OPENANY_API_KEY to your OpenAny API key.
- Review the selected implementation and pricing, then adapt the request below to your target.
- Check the HTTP response and business result before reading optional fields.
curl --request GET --get \
https://api.openany.si/v1/agent-apis/scrapecreators/v1/twitch/clip \
-H "Authorization: Bearer ${OPENANY_API_KEY}" \
--data-urlencode 'url=https://www.twitch.tv/staryuuki/clip/CloudySavageMarjoramRuleFive--ErzsYbE7UWvgCMQ?filter=clips&range=all&sort=time'
Request and Response Examples
The request is a calling template, while reference output illustrates the response structure and can refer to different records. Check returned identities against your query.
Published Twitch Clip Details API implementation contract.
Pricing and Billing
The pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service's public availability does not determine OpenAny billing.
Frequently Asked Questions
Related APIs
Playground
Run sends a real API request. Charges follow the published API contract.
Sellers
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
scrapecreatorsCurrent Twitch — Clip · GET · View API reference | $0.00188 / call | 0 | —successP50— |
- Unit price
- $0.00188
Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 4. Price update time: not supplied.
Total $0.188
API
- Method
- GET
- Endpoint
https://api.openany.si/v1/agent-apis/scrapecreators/v1/twitch/clip- Content type
- application/json
- Authentication
Authorization: Bearer $OPENANY_API_KEY
Input parameters
Fields in this listing; additional options and input encoding can vary by provider.
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
url | URL query parametersquery | string | Yes | Twitch clip URL |
cache_max_age | URL query parametersquery | string | No | If we have a response in the cache that is this many days old or newer, return the cached response (0 credits, with "cached": true and a "cached_at" timestamp). Otherwise, scrape a live result (1 credit). [See the Caching page for details.](https://docs.scrapecreators.com/caching) enum: "1d", "3d", "7d", "14d", "30d" |
Required markers inside a nested object or variant apply when that object or variant is used.
Response structure
responseobject[]dataobjectclipobject__typenamestringassetsobject[]__typenamestringaspectRationumbercreatedAtstringcreationStatestringcuratorobject__typenamestringdisplayNamestringidstringloginstringprofileImageURLstring
idstringportraitMetadatanullthumbnailURLstringtypestringvideoQualitiesobject[]__typenamestringframeRatenumberqualitystringsourceURLstring
broadcastobject__typenamestringidstringtitlenull
broadcasterobject__typenamestringdisplayNamestringfollowersobject__typenamestringtotalCountinteger
idstringisPartnerbooleanlastBroadcastobject__typenamestringidstringstartedAtstring
loginstringprimaryColorHexstringprofileImageURLstringselfnullstreamnull
champBadgenullcreatedAtstringcuratorobject__typenamestringdisplayNamestringidstringloginstringprofileImageURLstring
durationSecondsintegerembedURLstringgameobject__typenamestringboxArtURLstringdisplayNamestringidstringnamestringslugstring
idstringisFeaturedbooleanisPublishedbooleanisViewerEditRestrictedbooleanlanguagestringplaybackAccessTokenobject__typenamestringsignaturestringvaluestring
slugstringsuggestedCroppingnullthumbnailURLstringtitlestringurlstringvideonullvideoOffsetSecondsnullvideoQualitiesobject[]__typenamestringsourceURLstring
videoURLstringviewCountinteger
extensionsobjectdurationMillisecondsintegeroperationNamestringrequestIDstring
Agent integration
Copy the resource contract without sharing an API key.
Error handling
| Status | Next step |
|---|---|
400 | Check the offering and request fields. |
401 / 403 | Verify your credentials and access permissions. |
402 | Inspect the selected access mode and returned payment requirements. |
429 | Respect the returned rate limit and retry guidance. |
5xx | Inspect the error and usage record before retrying a paid operation. |
Examples
Official example
Example from the provider's documentation. Field values in your results will differ.
Prepare your environment
Use a terminal with cURL installed.
Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.
Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.
Terminal · macOS / Linuxprintf 'OpenAny API key: ' read -r -s OPENANY_API_KEY export OPENANY_API_KEY printf '\n'Run the request
Paste the complete command below into your terminal.
Values to replace before running 2
Review these request fields before running. Keep the published provider and request method unchanged.
url- Twitch clip URL
cache_max_age- If we have a response in the cache that is this many days old or newer, return the cached response (0 credits, with "cached": true and a "cached_at" timestamp). Otherwise, scrape a live result (1 credit). [See the Caching page for details.](https://docs.scrapecreators.com/caching)
Terminal · cURLcurl \ 'https://api.openany.si/v1/agent-apis/scrapecreators/v1/twitch/clip?url=https%3A%2F%2Fwww.twitch.tv%2Fstaryuuki%2Fclip%2FCloudySavageMarjoramRuleFive--ErzsYbE7UWvgCMQ%3Ffilter%3Dclips%26range%3Dall%26sort%3Dtime' \ -X GET \ -H "Authorization: Bearer $OPENANY_API_KEY" \ -H 'Content-Type: application/json'Check the response
Sample response · Documented HTTP 200
Sample response[ { "data": { "clip": { "__typename": "Clip", "assets": [ { "__typename": "ClipAsset", "aspectRatio": 1.7777777777777777, "createdAt": "2024-03-30T21:52:12.134391826Z", "creationState": "CREATED", "curator": { "__typename": "User", "displayName": "Satagul_SY", "id": "192477639", "login": "satagul_sy", "profileImageURL": "https://static-cdn.jtvnw.net/jtv_user_pictures/a7d1cf0c-6482-475c-a7ba-9fedf75f0149-profile_image-50x50.png" }, "id": "AT-cm|W4NkMPhK87GGxO1Fr4AjEA", "portraitMetadata": null, "thumbnailURL": "https://clips-media-assets2.twitch.tv/W4NkMPhK87GGxO1Fr4AjEA/AT-cm%7CW4NkMPhK87GGxO1Fr4AjEA-preview-480x272.jpg", "type": "SOURCE", "videoQualities": [ { "__typename": "ClipVideoQuality", "frameRate": 60.01382974851694, "quality": "1080", "sourceURL": "https://production.assets.clips.twitchcdn.net/W4NkMPhK87GGxO1Fr4AjEA/AT-cm%7CW4NkMPhK87GGxO1Fr4AjEA.mp4" } ] } ], "broadcast": { "__typename": "Broadcast", "id": "43930529883", "title": null }, "broadcaster": { "__typename": "User", "displayName": "Staryuuki", "followers": { "__typename": "FollowerConnection", "totalCount": 3450065 }, "id": "167189231", "isPartner": true, "lastBroadcast": { "__typename": "Broadcast", "id": "314597248121", "startedAt": "2025-01-23T06:52:10.179125Z" }, "login": "staryuuki", "primaryColorHex": "689AFF", "profileImageURL": "https://static-cdn.jtvnw.net/jtv_user_pictures/b45a3305-bc42-41cc-a754-e6679a2d9ef0-profile_image-70x70.png", "self": null, "stream": null }, "champBadge": null, "createdAt": "2024-03-30T21:52:12Z", "curator": { "__typename": "User", "displayName": "Satagul_SY", "id": "192477639", "login": "satagul_sy", "profileImageURL": "https://static-cdn.jtvnw.net/jtv_user_pictures/a7d1cf0c-6482-475c-a7ba-9fedf75f0149-profile_image-70x70.png" }, "durationSeconds": 27, "embedURL": "https://clips.twitch.tv/embed?clip=CloudySavageMarjoramRuleFive--ErzsYbE7UWvgCMQ", "game": { "__typename": "Game", "boxArtURL": "https://static-cdn.jtvnw.net/ttv-boxart/509672-52x72.jpg", "displayName": "IRL", "id": "509672", "name": "IRL", "slug": "irl" }, "id": "387484507", "isFeatured": true, "isPublished": true, "isViewerEditRestricted": true, "language": "ES", "playbackAccessToken": { "__typename": "PlaybackAccessToken", "signature": "43c84d015eddd8ebc145f914824caa1c37ff6559", "value": "{\"authorization\":{\"forbidden\":false,\"reason\":\"\"},\"clip_uri\":\"https://production.assets.clips.twitchcdn.net/W4NkMPhK87GGxO1Fr4AjEA/AT-cm%7CW4NkMPhK87GGxO1Fr4AjEA.mp4\",\"clip_slug\":\"CloudySavageMarjoramRuleFive--ErzsYbE7UWvgCMQ\",\"device_id\":\"gtd1TXg9937g0Ra59d6tJBe2f2vWobM7\",\"expires\":1737831991,\"user_id\":\"\",\"version\":2}" }, "slug": "CloudySavageMarjoramRuleFive--ErzsYbE7UWvgCMQ", "suggestedCropping": null, "thumbnailURL": "https://clips-media-assets2.twitch.tv/W4NkMPhK87GGxO1Fr4AjEA/AT-cm%7CW4NkMPhK87GGxO1Fr4AjEA-preview-260x147.jpg", "title": "un grande el mesero", "url": "https://clips.twitch.tv/CloudySavageMarjoramRuleFive--ErzsYbE7UWvgCMQ", "video": null, "videoOffsetSeconds": null, "videoQualities": [ { "__typename": "ClipVideoQuality", "sourceURL": "https://production.assets.clips.twitchcdn.net/W4NkMPhK87GGxO1Fr4AjEA/AT-cm%7CW4NkMPhK87GGxO1Fr4AjEA.mp4" } ], "videoURL": "https://production.assets.clips.twitchcdn.net/W4NkMPhK87GGxO1Fr4AjEA/AT-cm%7CW4NkMPhK87GGxO1Fr4AjEA.mp4?sig=43c84d015eddd8ebc145f914824caa1c37ff6559&token=%7B%22authorization%22%3A%7B%22forbidden%22%3Afalse%2C%22reason%22%3A%22%22%7D%2C%22clip_uri%22%3A%22https%3A%2F%2Fproduction.assets.clips.twitchcdn.net%2FW4NkMPhK87GGxO1Fr4AjEA%2FAT-cm%257CW4NkMPhK87GGxO1Fr4AjEA.mp4%22%2C%22clip_slug%22%3A%22CloudySavageMarjoramRuleFive--ErzsYbE7UWvgCMQ%22%2C%22device_id%22%3A%22gtd1TXg9937g0Ra59d6tJBe2f2vWobM7%22%2C%22expires%22%3A1737831991%2C%22user_id%22%3A%22%22%2C%22version%22%3A2%7D", "viewCount": 52441 } }, "extensions": { "durationMilliseconds": 87, "operationName": "ShareClipRenderStatus", "requestID": "01JJD92A0J3G5ND9PWV2SSXCPC" } } ]