VidGrab

video downloader & format API

inspired by YTDLnis

Paste a link.
Grab every format.

Inspect video, audio and subtitle streams before saving — the same data yt-dlp-style tools show, served as clean JSON.

Try:
API

Developer endpoint

Every fetch is also a plain HTTP call. Responses are pretty-printed JSON (2-space indent) with metadata, formats, subtitles and direct stream URLs.

curl "https://your-app.lovable.app/download?link=https://youtu.be/dQw4w9WgXcQ"
{
  "query":   { "link": "…", "video_id": "dQw4w9WgXcQ" },
  "source":  "piped",
  "metadata": { "title": "…", "uploader": "…", "views": 1831567409, … },
  "formats": [ { "kind": "video", "quality": "360p", "format": "MP4",
                 "size_bytes": 12345678, "url": "https://…" }, … ],
  "subtitles": [ { "language": "en", "auto_generated": false, "url": "…" } ],
  "notes": [ … ]
}

Errors come back as { "error": { "code", "message" } } with a matching HTTP status (400 invalid link, 422 unsupported, 502 upstream down).