MCP server and REST API
Give your agent a download button.
Resolve a public video link, pick a format, get a signed file back. Hosted for Claude, Codex, and Cursor.
- engine
- yt-dlp
- file cap
- 500 MB
- file TTL
- 15 min
Public posts only. No DRM, private accounts, or live streams. Files are deleted 15 minutes after the job becomes ready.
Live resolver. Three free web downloads per day without an account. API and MCP calls use a vd_ key.
Six tools, one job model
Every MCP tool maps to a REST endpoint. Resolve is synchronous; downloads are queued and polled. The schemas stay stable so an agent prompt does not break when the worker changes.
resolve_videoResolve a public video URL into title, duration, thumbnail, platform, uploader, and available formats. Use this before download_video when the user wants to choose a quality.
POST /v1/resolvelist_formatsReturn the MP4, MP3, and GIF formats available for a public URL, with dimensions, file size estimates, and whether a video format already includes audio.
GET /v1/formats?url=download_videoCreate an asynchronous download job for a public video URL. Returns a job_id and status. Poll get_download for progress and a signed download URL. Costs 1 credit.
POST /v1/downloadsget_downloadGet the status, progress, metadata, and signed file URL for a download job. The file URL expires 15 minutes after the job becomes ready.
GET /v1/downloads/:idcancel_downloadCancel a queued or running download job and refund its credit when one was charged.
DELETE /v1/downloads/:idextract_audioCreate an asynchronous MP3 extraction job for a public video URL. Costs 1 credit. Same job lifecycle as download_video.
POST /v1/audioA job you can watch, cancel, and refund
Long videos cannot sit inside one HTTP request. download_video returns immediately; get_download reports progress and the final signed URL.
# 1. create a job
curl -s https://videodownloadmcp.com/v1/downloads \
-H "Authorization: Bearer vd_your_key" \
-H "content-type: application/json" \
-d '{
"url": "https://www.tiktok.com/@user/video/123",
"format": "mp4",
"quality": "1080p"
}'
# 2. poll until status is ready
curl -s https://videodownloadmcp.com/v1/downloads/job_... \
-H "Authorization: Bearer vd_your_key"{
"code": 0,
"data": {
"job_id": "job_...",
"status": "ready",
"progress": 100,
"file": {
"url": "https://videodownloadmcp.com/v1/files/job_...?token=...",
"mime": "video/mp4",
"size": 8412733,
"expires_at": "2026-11-04T02:15:00.000Z"
}
}
}The file URL is a capability URL signed with the worker secret. It stops working at the same time the file is deleted.
Drop it into the client you already use
Remote streamable HTTP is the default. The local stdio package is a thin proxy with no extractor code, so every call still obeys the same limits and credits.
{
"mcpServers": {
"videodownload": {
"type": "http",
"url": "https://videodownloadmcp.com/mcp",
"headers": { "Authorization": "Bearer ${VIDEODOWNLOAD_API_KEY}" }
}
}
}Merge into .mcp.json. Launch Claude Code with the dedicated key in its environment; do not replace the variable reference with a secret.
What the server refuses
- Private, follower-only, and age-restricted posts.
- DRM protected streams and paid content.
- Live streams and videos over 30 minutes.
- Hosts outside the platform allowlist.
- Redirects to private IP ranges or cloud metadata.
Priced for agent traffic
A resolve call is free. A finished download is one credit. Start with 20 welcome credits, then add a one-time pack when the volume is real.
Credit packs are one-time purchases and do not auto-renew. Failed jobs refund automatically. Pricing is in USD.
Questions agents ask before they call
If an answer is missing here, the API reference has the exact response shape and error codes.
Which platforms are supported?+
The implemented scope includes public single videos from TikTok, Instagram, Facebook, X, YouTube, Pinterest, Vimeo, Reddit, Twitch and Bilibili, plus SoundCloud tracks. Actual availability varies by sample and network. Check the dated support matrix; photos, slideshows and album exports are not supported.
Do downloads run synchronously?+
No. download_video and extract_audio return a job_id immediately. Poll get_download every 2 seconds; completion time depends on source availability, queue and conversion.
How long do files stay available?+
The signed URL and the stored file expire 15 minutes after the job becomes ready. A second signed URL cannot be minted after that, so download the file right away.
What happens when a platform asks for a login?+
The job fails with LOGIN_REQUIRED. The worker never accepts account cookies, so private, follower-only, age-restricted, and DRM protected content is refused instead of bypassed.
How are credits charged?+
Resolve and format listing are free inside the rate limit. A new API or MCP job reserves one credit; a completed download costs one credit. Failed and canceled jobs refund. Repeated create calls are separate jobs: poll the existing job before retrying. Anonymous single-link Web downloads instead use the network quota.
Wire up one tool call tonight.
Create a key, add the MCP endpoint, and ask your agent to resolve a public link.