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 "Authorization: Bearer YOUR_API_KEY"

Response

{
  "statusCode": 200,
  "statusMessage": "Success",
  "message": "Media downloaded successfully",
  "data": {
    "title": "Video Title",
    "url": "https://download.url...",
    "thumbnail": "https://thumbnail.url...",
    "duration": 120,
    "author": "Author Name"
  }
}

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 "Authorization: Bearer YOUR_API_KEY"

Response

{
  "statusCode": 200,
  "statusMessage": "Success",
  "message": "Search result",
  "data": {
    "count": 5,
    "list": [
      {
        "id": "videoId",
        "title": "Video Title",
        "url": "https://youtube.com/watch?v=...",
        "thumbnail": "https://thumbnail.url...",
        "duration": 120,
        "views": 1000
      }
    ]
  }
}

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 "Authorization: Bearer YOUR_API_KEY"

Response

{
  "statusCode": 200,
  "statusMessage": "Success",
  "message": "Media downloaded successfully",
  "data": {
    "title": "Video Title",
    "url": "https://download.url...",
    "thumbnail": "https://thumbnail.url...",
    "duration": 120,
    "author": "Author Name"
  }
}
Built with 💖 by Miza • © 2026 - Powered by Nuxt