Downloader

YouTube

Download videos and audio from YouTube.

GET /v1/youtube/download

https://api.cludz.net/v1/youtube/download

Download a specific video by URL.

Query Parameters:

ParameterRequiredDescriptionType
urlYesThe valid YouTube video URL.string
formatNomp4 (video) or mp3 (audio). Defaults to mp4.string

Example

curl "https://api.cludz.net/v1/youtube/download?url=https://youtu.be/..." \
  -H "X-API-Key: YOUR_API_KEY"

Response

{
  "statusCode": 202,
  "statusMessage": "Accepted",
  "message": "Download task created",
  "data": {
    "taskId": "tsk_123456789",
    "status_url": "/v1/tasks/tsk_123456789"
  }
}
This endpoint uses background tasks. Poll the status_url or use the Tasks API to get the final downloaded media.

GET /v1/youtube/search

https://api.cludz.net/v1/youtube/search

Search for videos on YouTube.

Query Parameters:

ParameterRequiredDescriptionType
queryYesThe search query string.string
limitNoNumber of results (max 5). Defaults to 1.number

Example

curl "https://api.cludz.net/v1/youtube/search?query=lofi&limit=5" \
  -H "X-API-Key: YOUR_API_KEY"

Response

{
  "statusCode": 202,
  "statusMessage": "Accepted",
  "message": "Search task created",
  "data": {
    "taskId": "tsk_123456789",
    "status_url": "/v1/tasks/tsk_123456789"
  }
}
This endpoint uses background tasks. Poll the status_url or use the Tasks API to get the final search results.

GET /v1/youtube/search/download

https://api.cludz.net/v1/youtube/search/download

Search for a video and download the first result immediately.

Query Parameters:

ParameterRequiredDescriptionType
queryYesThe search query string.string
formatNomp4 or mp3. Defaults to mp4.string

Example

curl "https://api.cludz.net/v1/youtube/search/download?query=never%20gonna%20give%20you%20up" \
  -H "X-API-Key: YOUR_API_KEY"

Response

{
  "statusCode": 202,
  "statusMessage": "Accepted",
  "message": "Download task created",
  "data": {
    "taskId": "tsk_123456789",
    "status_url": "/v1/tasks/tsk_123456789"
  }
}
This endpoint uses background tasks. Poll the status_url or use the Tasks API to get the final search results.
Built with 💖 by Miza • © 2026 - Powered by Nuxt