How to Use Twitch clip details and video in opencode
Fetch a Twitch clip's title, view count, broadcaster details, thumbnail, and video links. Use it to inspect a known clip, compare its views over time, or prepare footage you have permission to reuse.
Prompts to try with Twitch clip details and video in opencode
Copy an example into opencode, or ask in your own words.
Use Twitch clip details and video for https://clips.twitch.tv/CloudySavageMarjoramRuleFive--ErzsYbE7UWvgCMQ and add a review card to this project's existing UI with its thumbnail, title, duration, and views.
Use Twitch clip details and video for https://clips.twitch.tv/AwkwardHelplessSalamanderSwiftRage and create a JSON fixture from the returned result for our clip preview component.
Use Twitch clip details and video for https://clips.twitch.tv/CloudySavageMarjoramRuleFive--ErzsYbE7UWvgCMQ and adapt our media selector to display the returned resolutions and frame rates.
Use Twitch clip details and video for https://clips.twitch.tv/AwkwardHelplessSalamanderSwiftRage and add its reported views to our campaign dashboard using the project's existing storage pattern.
Use Twitch clip details and video for https://clips.twitch.tv/CloudySavageMarjoramRuleFive--ErzsYbE7UWvgCMQ and check how our clip detail component handles the returned source video and offset.
How to set up Twitch clip details and video in opencode
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the server
Leave out --global to add Spiral to the current project only. No header and no client ID or secret: opencode registers itself with Spiral.
opencode mcp add spiral --global --url https://api.spiral.ai/mcp
- Sign in
Your browser opens. Sign in to Spiral, pick the organization and click Authorize, then return to the terminal. No API key. Inside opencode, /mcps starts the same sign-in.
opencode mcp auth spiral
- Check it
Spiral shows as connected.
opencode mcp list
Use the Spiral skill
- Send opencode this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- Install and sign in
Installs the Spiral CLI, signs you in and adds its skill to your coding agents.
npx -y spiral-cli@latest init
Call the Spiral API
- Create an API key
In the console, under API keys.
- Run Twitch clip details and video
One request; the result comes back by polling or a webhook.
curl https://api.spiral.ai/v1/runs \ -H "Authorization: Bearer $SPIRAL_API_KEY" \ -H "Content-Type: application/json" \ -H "Idempotency-Key: $(uuidgen)" \ -d '{ "provider": "scrapecreators", "model": "scrapecreators/twitch-clip", "input": { "url": "https://clips.twitch.tv/CloudySavageMarjoramRuleFive--ErzsYbE7UWvgCMQ" } }'
Then paste one of the prompts above: opencode finds Twitch clip details and video on Spiral, shows the price and runs it.
Twitch clip details and video providers and prices
Spiral runs Twitch clip details and video through ScrapeCreators. Open a card for today's price, with every fee included.
Settings you can ask for
Ask opencode for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Cache max age | 1d, 3d, 7d, 14d, or 30d | Return ScrapeCreators' cached answer when it is at most this old (0 credits, with |
Every API field of Twitch clip download is on its tool page: open its card above.
What can you do with Twitch clip details and video in opencode?
Build a Twitch clip review screen populated with real thumbnails, titles, durations, and view counts. A coding agent can connect those results to the project's existing components and add comparisons between saved observations.
Prepare an editorial clip brief
Turn a supplied public clip link into a brief with its title, broadcaster, category, duration, and thumbnail so an editor can decide whether to review it.
Measure views after a campaign
Revisit approved campaign clip links and calculate the change in reported views between checks.
Prepare authorized footage for editing
Inspect the returned video choices for clips you own or have permission to reuse, then select an available resolution for the edit.
Build a clip review queue
Populate a review queue from supplied Twitch clip links, using thumbnails, titles, broadcasters, and durations to help reviewers choose what to watch.
Compare submitted highlights
Compare a defined shortlist of tournament or creator highlights by reported views and duration before choosing clips for editorial review.
Check broadcast references
Inspect source video references and offsets for selected clips. Identify clips whose original broadcast context is unavailable before planning a longer edit.
More on Twitch clip details and video and opencode
Twitch clip details and video in other agents
Questions about Twitch clip details and video in opencode
Can opencode use Twitch clip details and video?
Yes. Add Spiral to opencode as an MCP server, and opencode can find and run Twitch clip details and video like any built-in tool.
How much does Twitch clip details and video cost in opencode?
Up to $0.0013 per run. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your opencode plan is separate.
Do I need a ScrapeCreators account to use Twitch clip details and video in opencode?
No. Spiral runs Twitch clip details and video on its own ScrapeCreators account. You sign in to Spiral once and never paste a key.
How long does it take to set up Twitch clip details and video in opencode?
About two minutes: add the server, then sign in, then check it.
Does opencode wait while Twitch clip details and video runs?
Twitch clip details and video runs in the background. opencode starts the run, checks on it and gives you the video, json when it's ready.
Does this cover private Twitch content?
ScrapeCreators describes its source coverage as publicly available data. This supports lookup of public Twitch clips, without establishing access to private or restricted content.
How fresh are the clip details?
ScrapeCreators says cache misses fetch live data from Twitch. For a clip created during an ongoing broadcast, Twitch says its source video offset can still take minutes to appear.
Is every clip available in 1080?
The documented example includes a 1080 video choice and frame rate information. That example does not establish a minimum resolution for every Twitch clip.
Can a clip exist without its original broadcast video?
Yes. ScrapeCreators shows a clip with a null source video and offset, and Twitch documents that the original video identifier can be empty when that video is unavailable.
What does the view count measure?
Twitch defines it as the number of times the clip has been viewed. Use that definition when reporting clip performance; it does not establish a count of unique viewers.
Start using Twitch clip details and video in opencode
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into opencode:
set up https://spiral.ai/SKILL.md


