Developers
Run your clipping agent on Replish.
A REST API and an MCP server for AI agents: find the Twitch and Kick clips rising right now, search any Twitch streamer or game, ask for a vertical 9:16 render (or 16:9 for X) with captions and a hook, wait, and download the MP4. Works with Claude Code, Hermes, Codex, Cursor or your own code.
What your agent can do
Find rising clips
GET /v1/clips: the clips rising fastest in the last 30 minutes to 24 h, per category and language, with views per minute and a big moment count.
Search streamers and games
GET /v1/search, then a streamer's or a game's top clips of the day, week, month or all time.
Make it vertical
POST /v1/renders: facecam at the bottom, word-by-word captions, your hook. Or layout: wide for a 16:9 video. About 30 s to 2 min per clip.
Download the MP4
Poll the render, then hand the signed download_url to curl: no key needed, one download, valid 1 hour.
Get a key
With any plan, make your own keys on your account page
(up to 3). Your agent's videos use your credits, the same as on the website. If the plan
ends, the key answers 402 plan_required until you renew.
Need higher limits for a bigger integration? Write to support@replish.app.
A key looks like rp_live_ followed by 32 characters and is shown once. Send it on every call as
Authorization: Bearer rp_live_... (or X-API-Key). Keep it out of prompts you share and out of URLs.
Try it with curl
export REPLISH_KEY=rp_live_your_key_here
BASE=https://replish.app
# 1. The 5 clips rising fastest in the last hour
curl -s "$BASE/v1/clips?window=60&limit=5" -H "Authorization: Bearer $REPLISH_KEY"
# 2. Search a streamer, then their top clips of the week
curl -s "$BASE/v1/search?q=xqc" -H "Authorization: Bearer $REPLISH_KEY"
curl -s "$BASE/v1/streamers/xqc/clips?period=week" -H "Authorization: Bearer $REPLISH_KEY"
# 3. Start a vertical render (answers 202 at once with the render id)
curl -s -X POST "$BASE/v1/renders" -H "Authorization: Bearer $REPLISH_KEY" \
-H "Content-Type: application/json" \
-d '{"clip": "https://clips.twitch.tv/SomeClipSlug", "hook": "wait for it", "footer": "Follow for daily clips", "watermark": "@myclips", "captions": true}'
# 4. Poll every few seconds until "status" is "done"
curl -s "$BASE/v1/renders/RENDER_ID" -H "Authorization: Bearer $REPLISH_KEY"
# 5. Download (the download_url from step 4 needs no key)
curl -L -o clip.mp4 "DOWNLOAD_URL"
Post automatically with Postiz
Pair Replish with Postiz to post the shorts on TikTok, YouTube Shorts and Instagram Reels without touching them:
- Find a clip and render it with your text (steps 1 to 4 above).
- Download the MP4 with your key (
file_url), then upload it to Postiz:POST https://api.postiz.com/public/v1/uploadwith the headerAuthorization: POSTIZ_KEYand the file asfile. - Create the post:
POST /public/v1/postswith the upload'sidandpathinimage, your channel id (GET /public/v1/integrations) andtypedraft,scheduleornow.
Do not give Postiz the download_url to fetch: it works once and for 1 hour. Credit the streamer in the post text. Read the full guide (a Claude Code setup with both MCP servers, a cron schedule, n8n) and get the ready-made script.
Endpoints
| Call | What it gives |
|---|---|
GET /v1/clips | Rising clips: window (30, 60, 180, 360, 720, 1440), cat, lang, platform, limit (up to 100), hide_auto |
GET /v1/categories | Categories with rising clips, and their slugs for cat= |
GET /v1/trends?cat= | Streamer posts blowing up on TikTok, YouTube and X, and hot tags |
GET /v1/search?q= | Twitch channels and games |
GET /v1/streamers/{login}/clips?period= | Top clips of a streamer: 1h, 6h, day, week, month, all |
GET /v1/games/{name}/clips?period= | Top clips of a game: day, week, month |
GET /v1/showcase | Biggest streamers of the day and their best clips |
POST /v1/renders | Start a vertical render: clip, hook (top), footer (bottom line), watermark (your handle), captions, layout (wide for a landscape 1920x1080 video), start, duration, campaign (a campaign id: its spec and logo fill what you leave empty) |
GET /v1/renders/{id} | Status, stage, progress, and the download links when done |
GET /v1/renders/{id}/download | The MP4, with your key or the signed link |
GET /v1/campaigns | Your account's campaigns, newest first, with their pay, spec and logo |
POST /v1/campaigns | Add a campaign from its Content Rewards url and its brief (20 adds an hour per account) |
GET, PATCH, DELETE /v1/campaigns/{id} | Read a campaign, change its spec (only the fields to change, and logo_corner), or delete it with its logo |
PUT, GET, DELETE /v1/campaigns/{id}/logo | Set the logo (the PNG, JPEG or WebP image as the body, 2 MB at most), get it, or remove it |
GET /v1/campaigns/{id}/clips | Rising clips of the campaign's streamers: window, limit (up to 100) |
Errors always look like {"error": {"code": "...", "message": "..."}}. Full reference with examples at /v1/docs.
Limits
- 2000 requests a day per key (UTC days). Every answer carries
X-RateLimit-Limit,X-RateLimit-RemainingandX-RateLimit-Reset. - Renders count in your plan's monthly videos, website and API together. Past them you get
429 monthly_render_limituntil the 1st of next month. Keys issued by hand by the operator have 20 renders a UTC day instead. - One render per key queued or running at a time. Start the next one when the last is done.
- 60 Twitch lookups (search, streamer and game clips) a minute per key. Answers are cached for 5 minutes.
- Past a limit you get
429withRetry-Afterin seconds: wait that long, do not retry in a loop. - Renders share one queue with the website, first come first served.
MCP server
The same features as MCP tools, over Streamable HTTP at https://replish.app/mcp with the same key.
Tools: rising_clips, search, streamer_clips, game_clips,
trending_posts, create_vertical and render_status, and for your
campaigns list_campaigns, get_campaign, campaign_clips,
add_campaign, update_campaign, campaign_logo_upload,
delete_campaign_logo and delete_campaign. create_vertical takes a
campaign to use its spec and logo.
# Claude Code
claude mcp add --transport http replish https://replish.app/mcp \
--header "Authorization: Bearer $REPLISH_KEY"
# Cursor, Hermes and other clients (mcp.json)
{
"mcpServers": {
"replish": {
"url": "https://replish.app/mcp",
"headers": { "Authorization": "Bearer rp_live_your_key_here" }
}
}
}
# Codex (~/.codex/config.toml)
[mcp_servers.replish]
url = "https://replish.app/mcp"
bearer_token_env_var = "REPLISH_KEY"
There is also an agent skill that walks an agent through find, render, poll and download:
docs/agent-skill/SKILL.md in the repository.