YouTube Video Downloader API
Retrieves video metadata, channel statistics, and direct streaming/download URLs for processed media streams.
Test It Out
Try out queries, check out response headers, and preview media right in your browser.
Get the Source Code
Grab the full source code to set up and host your own independent downloader.
api API Endpoint
GET https://api.alfian.web.id/youtube/download
Query Parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| url | string | yes | The full URL or canonical link of the target YouTube video. | https://www.youtube.com/watch?v=XqZsoesa55w |
code Example Request
fetch('https://api.alfian.web.id/youtube/download?url=https://www.youtube.com/watch?v=XqZsoesa55w')
.then(res => res.json())
.then(data => console.log(data));
data_object Example Response
dns Technology Stack
Built using modern and high-performance tools to ensure maximum reliability and speed:
cloud Cloudflare
Proxy
Provides DDoS protection, SSL encryption, and global edge routing.
code PHP 8.5
Latest PHP execution engine for optimal backend performance.
dns Node.js 24
Modern JavaScript runtime powering scalable background services.
cached Intelligent
Cache
Multi-tier caching layer to minimize repeat request overhead.
contact_support Contact Information
Need support, custom integrations, or have questions? Get in touch: