Skip to content

Video Downloader API Documentation

Download videos and audio from YouTube, Instagram, TikTok, Facebook, X and Pinterest from your own code. Send a link, get a temporary download URL. JSON over HTTPS, one API key, no SDK needed.

Authentication

The API needs the API key of a paid plan. Create an account, choose a plan, and the key is emailed to you right after the first payment. It looks like vd_…. Send it on every request:

Authorization: Bearer vd_your_key

A key can also be sent as X-API-Key: vd_your_key. Keep it private, like a password: anyone with it can use your daily downloads. If it leaks, make a new key on your dashboard; the old one stops working at once.

  • No key (or a free key) → 402 subscription_required.
  • Plan not renewed or cancelled and the paid month is over → 402 payment_required with a "pending invoice" message. Pay or choose a plan and the same key works again straight away. A failed renewal keeps working for 2 more days.
  • A key that does not exist → 401 unauthorized.

AI agents can use the MCP server with the same key, and it has a small free trial without a key.

Quick start

Base URL: https://savedock.pro/api/v1. A download is a job: start it, then check it until it is done.

1. Start a download

curl -X POST https://savedock.pro/api/v1/downloads \
  -H "Authorization: Bearer vd_your_key" \
  -H "Content-Type: application/json" \
  -d '{"url": "https://www.youtube.com/watch?v=VIDEO_ID", "quality": "720"}'

The answer is 202 with a job. Keep its id.

2. Check it until it is done

curl https://savedock.pro/api/v1/downloads/JOB_ID \
  -H "Authorization: Bearer vd_your_key"

When status is done, result.download_url is a temporary, signed link to the file (valid for about an hour). Fetch it with any HTTP client; that link needs no key, so treat it as a secret.

The same in Python

import time, requests

API = "https://savedock.pro/api/v1"
HEADERS = {"Authorization": "Bearer vd_your_key"}

job = requests.post(f"{API}/downloads", headers=HEADERS,
                    json={"url": "https://www.tiktok.com/@user/video/123", "quality": "best"}).json()

while job["status"] in ("queued", "downloading", "processing"):
    time.sleep(2)
    job = requests.get(f"{API}/downloads/{job['id']}", headers=HEADERS).json()

if job["status"] == "done":
    print(job["result"]["download_url"])
else:
    print(job["error"]["code"], job["error"]["message"])

Endpoints

MethodPathWhat it does
GET/api/v1/Service description: platforms, limits, quality values. JSON for programs; a browser is sent to this page.
POST/api/v1/info{"url"} → title, uploader, duration and the qualities on offer, without downloading.
POST/api/v1/downloads{"url", "quality"?, "audio_only"?} → 202 with a job.
GET/api/v1/downloadsYour own earlier downloads, newest first (?hours=24&limit=20), with a fresh link for each file that is still saved.
GET/api/v1/downloads/{id}Job status. When done, it holds the signed result.download_url.
DELETE/api/v1/downloads/{id}Cancel a queued or running job.
GET/api/v1/usageYour plan, limits and how many downloads are left right now.
POST/api/v1/feedbackTell us about a problem or send a rating. Free, no key needed.

One video per request: playlist links are refused with playlist_not_supported. Only public videos work; private, age-restricted and members-only videos return an error.

Quality values

Pass quality to POST /api/v1/downloads. Call /api/v1/info first to see what a video offers.

  • best (default) and worst
  • A maximum height: 2160, 1440, 1080, 720, 480, 360, 240, 144, optionally with a container: 1080:webm, 720:mkv
  • Audio only: audio:mp3:128, audio:mp3:192, audio:mp3:320, audio:m4a, audio:opus, audio:wav
  • "audio_only": true is a shortcut for audio:mp3:192

The job object

{
  "id": "5b0c8a52-6f0e-4e1d-9d0b-2f3b8f6c1a77",
  "status": "queued | downloading | processing | done | failed | cancelled | expired",
  "progress": 0,
  "url": "https://www.youtube.com/watch?v=...",
  "platform": "YouTube",
  "title": "...",
  "quality": "720p MP4",
  "created_at": "2026-12-04T12:00:00+00:00",
  "result": {                       // only when done
    "download_url": "https://savedock.pro/api/download/<signed-token>/",
    "expires_at": "2026-12-04T13:00:00+00:00",
    "filename": "Title.mp4",
    "mime_type": "video/mp4",
    "size_bytes": 18340211
  },
  "error": { "code": "private", "message": "...", "retryable": false }   // only when failed
}

Files are deleted automatically a few hours after they are made. Poll the job again for a fresh link while the file still exists.

Errors

Every error has the same shape, with a stable code you can switch on and a retryable flag. Retry-After is set on 429 and 503 when known.

{ "error": { "code": "quota_exceeded", "message": "...", "retryable": true, "retry_after": 3600 } }
HTTPCodes
400invalid_url empty_url bad_request unsupported_platform playlist_not_supported too_long live_stream too_large
401unauthorized (the key does not exist)
402subscription_required (no paid plan) payment_required (plan not renewed: pending invoice)
403private age_restricted members_only password_protected login_required
404job_not_found unavailable
429rate_limited too_many_active quota_exceeded
451geo_blocked copyright
502 / 503network platform_rate_limited platform_busy platform_disabled service_busy queue_unavailable unknown

When retryable is true, wait retry_after seconds and try again.

Limits and plans

Your daily number depends on your plan. It is a rolling 24 hours (each download frees its slot 24 hours after it started), and failed or cancelled downloads never count. Plans, prices and the per-platform limits are on the plans section; cancel any time from your dashboard.

  • Up to 3 downloads running at the same time and 20 download requests a minute per key on a paid plan.
  • Videos up to 60 minutes and 500 MB; download links last about 60 minutes.
  • Use the API for videos you own, have permission to save, or that are free to reuse. See the terms and the copyright policy.

Check your usage

GET /api/v1/usage shows your plan, when it renews, your limits and what is left right now. The answer matches exactly what the limits enforce.

{
  "authenticated": true,
  "plan": { "name": "plus", "paid": true, "status": "active", "renews_at": "2027-01-04T00:00:00+00:00" },
  "limits": { "downloads_per_24h": 120, "concurrent_downloads": 3 },
  "usage": { "downloads_last_24h": 12, "remaining": 108, "active_downloads": 1,
             "can_start_now": true, "next_download_at": null }
}

Send feedback

Found a problem or want to rate the service? POST /api/v1/feedback with {"message": "...", "rating": 4, "email": "you@example.com"}. Only message is required; rating (1 to 5) and email are optional. It is free, needs no key, and is stored for our team only.

Ready to build?

Create an account, choose a plan and your key arrives by email. Questions? Contact us.

Get an API key