zapi.
APIsPricingDocsMCP
APIsPricingDocsMCP
Sign in
zapi.
APIsPricingDocsMCP
APIsPricingDocsMCP
Sign in
Downloader/YouTube Downloader
Logo YouTube Downloader

YouTube Downloader

Download video & audio dari YouTube — kualitas hingga 1080p, mode audio-only (mp3). Tempel URL, dapat link unduhan langsung.

1 endpoint1 endpoint on this scraper88 calls88 calls so farupdated 3 months agoLast updated 6/13/2026, 2:21:52 AMBusy: 10+ calls so farllms.txt
Endpoints1

1/1 passing
checked 20 hours ago · daily 01:00 WIB

Download

Download media dari YouTube.

GET/v1/downloader:youtube/download1h cache4 paramschecking key…
Parameters
urlstringrequired

YouTube media URL (video or post). Query params are fine.

qualityenum

Max video quality — max = best available. Ignored when audioOnly=true.

audioOnlyenum

Set true to fetch audio only. Default false (video).

audioFormatenum

Audio container when audioOnly=true. Default mp3.

·
Response
EXAMPLE
{
  "ok": true,
  "url": "https://cbt.zpi.web.id/tunnel?id=y-P2cCDN_hF6zS4a00vt6&exp=1780841297533&sig=x3g8WJXSELziFWWLiD4sGq2jtq6JCbcv3X-sQ7N8B0Y&sec=Jcpn4xBFKNTcpX4RQwI1ttYbFKbbPwiJmkZKl-dIQ_4&iv=OGshggWPx11q-BL4xwu7Rw",
  "type": "audio",
  "filename": "Rick Astley - Never Gonna Give You Up (Official Video) (4K Remaster) - Rick Astley.mp3",
  "provider": "youtube",
  "originalUrl": "https://www.youtube.com/watch?v=dQw4w9WgXcQ"
}

Code

Download
index.ts
// npm i zpi-sdk
import { ZpiClient } from "zpi-sdk";

const client = new ZpiClient({ apiKey: "zpi_xxxxxxxxxxxxxxxxxxxxxxxx" });

const data = await client.run("downloader:youtube", "download", {
  "url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
  "quality": "1080",
  "audioOnly": "false",
  "audioFormat": "mp3"
});
console.log(data);
Recommended · typed errors, safe retries and bulk jobsSDK reference

Full reference

1 endpoint · plain text
GET
Download/v1/downloader:youtube/download
4 params

Parameters

urlstringrequired
YouTube media URL (video or post). Query params are fine.
qualityenumoptional
Max video quality — max = best available. Ignored when audioOnly=true. Values: 144, 240, 360, 480, 720, 1080, max.
audioOnlyenumoptional
Set true to fetch audio only. Default false (video). Values: true, false.
audioFormatenumoptional
Audio container when audioOnly=true. Default mp3. Values: mp3, opus, ogg, wav.

Request

curl -X GET "https://api.zapi.ink/v1/downloader:youtube/download?url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DdQw4w9WgXcQ&quality=1080&audioOnly=false&audioFormat=mp3" \
  -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"

Example response

{
  "ok": true,
  "url": "https://cbt.zpi.web.id/tunnel?id=y-P2cCDN_hF6zS4a00vt6&exp=1780841297533&sig=x3g8WJXSELziFWWLiD4sGq2jtq6JCbcv3X-sQ7N8B0Y&sec=Jcpn4xBFKNTcpX4RQwI1ttYbFKbbPwiJmkZKl-dIQ_4&iv=OGshggWPx11q-BL4xwu7Rw",
  "type": "audio",
  "filename": "Rick Astley - Never Gonna Give You Up (Official Video) (4K Remaster) - Rick Astley.mp3",
  "provider": "youtube",
  "originalUrl": "https://www.youtube.com/watch?v=dQw4w9WgXcQ"
}

Related APIs

More in downloader

Instagram Downloader

downloaderinstagram

Download Reels, video, & foto dari Instagram. Carousel multi-media didukung. Tempel URL post/reel.

105105 calls so far1hResponses cached for 1h
Busy: 10+ calls so far

Pinterest Downloader

downloaderpinterest

Download video & gambar dari Pinterest. Tempel URL pin.

3434 calls so far1hResponses cached for 1h
Busy: 10+ calls so far

Twitter / X Downloader

downloadertwitter

Download video dari Twitter / X. Tempel URL tweet yang berisi video.

3232 calls so far1hResponses cached for 1h
Busy: 10+ calls so far

Pixeldrain Downloader

downloaderpixeldrain

Pixeldrain file info & downloader — retrieve metadata, direct download link, and availability status from any public Pixeldrain file.

2828 calls so far6mResponses cached for 6m
Busy: 10+ calls so far

Facebook Downloader

downloaderfacebook

Download video & Reels dari Facebook. Tempel URL video/watch/reel publik.

1212 calls so far1hResponses cached for 1h
Busy: 10+ calls so far

MediaFire Downloader

downloadermediafire

MediaFire file downloader — retrieve direct download link, file metadata, and size info from any public MediaFire share URL.

1212 calls so far6mResponses cached for 6m
Busy: 10+ calls so far
zapi.

One key, one response shape. We keep the scrapers working.

Get an API key
ProductBrowse APIsPricingDocsMCP server
DevelopersSDK on npmGitHubOpenAPI specllms.txt
SupportReport an issueDiscord
LegalTermsPrivacyCookiesAUPRefunds
© 2026 ZapiPublic web data, one API.
zapi.