# Twitch — Clip

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.

Documentation: https://openany.si/twitch/twitch-scrapecreators-clip/c94d2f30-1cfa-404b-99be-48909a0e5c5b/
API ID: c94d2f30-1cfa-404b-99be-48909a0e5c5b
Provider: scrapecreators
Contract revision: 4
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/scrapecreators/v1/twitch/clip
Page update time: 2026-12-03T02:38:48.680Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: none
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0.00188 / call
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract.
Contract update time: 2026-12-03T02:38:08.238Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "1880",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Usage and limits
## 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.

## 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 |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Twitch — Clip request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {
        "url": {
          "type": "string",
          "description": "Twitch clip URL"
        },
        "cache_max_age": {
          "type": "string",
          "description": "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": [
        "url"
      ]
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "data": {
        "type": "object",
        "properties": {
          "clip": {
            "type": "object",
            "properties": {
              "__typename": {
                "type": "string"
              },
              "assets": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "__typename": {
                      "type": "string"
                    },
                    "aspectRatio": {
                      "type": "number"
                    },
                    "createdAt": {
                      "type": "string"
                    },
                    "creationState": {
                      "type": "string"
                    },
                    "curator": {
                      "type": "object",
                      "properties": {
                        "__typename": {
                          "type": "string"
                        },
                        "displayName": {
                          "type": "string"
                        },
                        "id": {
                          "type": "string"
                        },
                        "login": {
                          "type": "string"
                        },
                        "profileImageURL": {
                          "type": "string"
                        }
                      }
                    },
                    "id": {
                      "type": "string"
                    },
                    "portraitMetadata": {
                      "type": "null"
                    },
                    "thumbnailURL": {
                      "type": "string"
                    },
                    "type": {
                      "type": "string"
                    },
                    "videoQualities": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "__typename": {
                            "type": "string"
                          },
                          "frameRate": {
                            "type": "number"
                          },
                          "quality": {
                            "type": "string"
                          },
                          "sourceURL": {
                            "type": "string"
                          }
                        }
                      }
                    }
                  }
                }
              },
              "broadcast": {
                "type": "object",
                "properties": {
                  "__typename": {
                    "type": "string"
                  },
                  "id": {
                    "type": "string"
                  },
                  "title": {
                    "type": "null"
                  }
                }
              },
              "broadcaster": {
                "type": "object",
                "properties": {
                  "__typename": {
                    "type": "string"
                  },
                  "displayName": {
                    "type": "string"
                  },
                  "followers": {
                    "type": "object",
                    "properties": {
                      "__typename": {
                        "type": "string"
                      },
                      "totalCount": {
                        "type": "integer"
                      }
                    }
                  },
                  "id": {
                    "type": "string"
                  },
                  "isPartner": {
                    "type": "boolean"
                  },
                  "lastBroadcast": {
                    "type": "object",
                    "properties": {
                      "__typename": {
                        "type": "string"
                      },
                      "id": {
                        "type": "string"
                      },
                      "startedAt": {
                        "type": "string"
                      }
                    }
                  },
                  "login": {
                    "type": "string"
                  },
                  "primaryColorHex": {
                    "type": "string"
                  },
                  "profileImageURL": {
                    "type": "string"
                  },
                  "self": {
                    "type": "null"
                  },
                  "stream": {
                    "type": "null"
                  }
                }
              },
              "champBadge": {
                "type": "null"
              },
              "createdAt": {
                "type": "string"
              },
              "curator": {
                "type": "object",
                "properties": {
                  "__typename": {
                    "type": "string"
                  },
                  "displayName": {
                    "type": "string"
                  },
                  "id": {
                    "type": "string"
                  },
                  "login": {
                    "type": "string"
                  },
                  "profileImageURL": {
                    "type": "string"
                  }
                }
              },
              "durationSeconds": {
                "type": "integer"
              },
              "embedURL": {
                "type": "string"
              },
              "game": {
                "type": "object",
                "properties": {
                  "__typename": {
                    "type": "string"
                  },
                  "boxArtURL": {
                    "type": "string"
                  },
                  "displayName": {
                    "type": "string"
                  },
                  "id": {
                    "type": "string"
                  },
                  "name": {
                    "type": "string"
                  },
                  "slug": {
                    "type": "string"
                  }
                }
              },
              "id": {
                "type": "string"
              },
              "isFeatured": {
                "type": "boolean"
              },
              "isPublished": {
                "type": "boolean"
              },
              "isViewerEditRestricted": {
                "type": "boolean"
              },
              "language": {
                "type": "string"
              },
              "playbackAccessToken": {
                "type": "object",
                "properties": {
                  "__typename": {
                    "type": "string"
                  },
                  "signature": {
                    "type": "string"
                  },
                  "value": {
                    "type": "string"
                  }
                }
              },
              "slug": {
                "type": "string"
              },
              "suggestedCropping": {
                "type": "null"
              },
              "thumbnailURL": {
                "type": "string"
              },
              "title": {
                "type": "string"
              },
              "url": {
                "type": "string"
              },
              "video": {
                "type": "null"
              },
              "videoOffsetSeconds": {
                "type": "null"
              },
              "videoQualities": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "__typename": {
                      "type": "string"
                    },
                    "sourceURL": {
                      "type": "string"
                    }
                  }
                }
              },
              "videoURL": {
                "type": "string"
              },
              "viewCount": {
                "type": "integer"
              }
            }
          }
        }
      },
      "extensions": {
        "type": "object",
        "properties": {
          "durationMilliseconds": {
            "type": "integer"
          },
          "operationName": {
            "type": "string"
          },
          "requestID": {
            "type": "string"
          }
        }
      }
    }
  }
}
```

## Request example
Scenario: Official example
```bash
curl \
  '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'
```

## Response example
Example from the provider's documentation. Field values in your results will differ.
Sample response · Documented HTTP 200
```json
[
  {
    "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"
    }
  }
]
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Common questions
### Is the top-level response always a plain clip object?
The reference is an array with data.clip in each entry. Read that structure rather than assuming a flat object.

### Do returned video URLs remain valid forever?
Do not treat playback references or signed URLs as permanent storage links. Their availability can change.

### Does this endpoint download a file?
It returns metadata and available URL references; fetching or storing media is a separate step.

### Does it include a transcript?
Use the dedicated clip-transcript operation; this detail contract does not expose transcript controls.

### Which cache ages are supported?
cache_max_age accepts 1d, 3d, 7d, 14d or 30d.

### Does a cached response mean free OpenAny billing?
Supplier credits and OpenAny billing are separate. Use the selected implementation pricing area for the applicable charge.

## Available implementations
- scrapecreators: https://openany.si/twitch/twitch-scrapecreators-clip/c94d2f30-1cfa-404b-99be-48909a0e5c5b/

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
