ytdlp-simple-apiDefault PageReference
v1.0.0
OAS 3.0.0

Ytdlp wrapper api

api that download youtube video using ytdlp

Client Libraries

Download YouTube video

Initiates download of a YouTube video with optional presets or parameters

Query Parameters
  • link
    string
    required

    YouTube video URL

    Examplehttps://www.youtube.com/watch?v=dQw4w9WgXcQ
  • preset
    boolean
    default:  sp;
    false

    Whether to use default preset configuration

  • params
    string

    Additional yt-dlp parameters

    Example-f 'bestvideo[ext=mp4]+bestaudio[ext=m4a]/mp4'
Responses
GET/download
curl 'http://ytdlpwebapi.aboutme.works:8000/download?link=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DdQw4w9WgXcQ'

{
   "status": "Downloading...",
   "message": "Got the request, file is now downloading.",
   "id": 1644841203000,
   "ytid": "dQw4w9WgXcQ"

}

Check download status

Checks the status of a download using its ID

Path Parameters
  • ID
    string
    required

    Download ID

Responses
GET/status/{ID}
curl 'http://ytdlpwebapi.aboutme.works:8000/status/{ID}'

{
   "id": 1644841203000,
   "filename": "output-dQw4w9WgXcQ.mp4",
   "status": true,
   "ytid": "dQw4w9WgXcQ"

}

Re-download a file

Download a file that was previously processed, using its ID

Path Parameters
  • ID
    string
    required

    Download ID

Responses
GET/redownload/{ID}
curl 'http://ytdlpwebapi.aboutme.works:8000/redownload/{ID}'

No Body

Delete a download

Delete a downloaded file and remove it from the database

Path Parameters
  • ID
    string
    required

    Download ID

Responses
POST/delete/{ID}
curl 'http://ytdlpwebapi.aboutme.works:8000/delete/{ID}' \

  --request POST

{
   "message": "File Deleted"

}