YouTube Download API
Build YouTube download workflows with REST endpoints, progress polling, and final file URLs.
First request
Replace YOUR_API_KEY, run the command, then poll progress with the returned id.
curl --location "https://p.savenow.to/ajax/download.php?format=mp3&url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DK1Pu75yJUOE&apikey=YOUR_API_KEY&add_info=1"
Create the download job
Send a URL-encoded YouTube URL, an output format, and apikey=YOUR_API_KEY to the shared download endpoint. A successful request returns success=true and an id for the new job.
Poll progress
Pass the returned id to /ajax/progress.php. Progress is reported from 0 to 1000; keep polling until progress=1000 and download_url contains the ready file URL.
Handle ready and error outcomes
A ready response includes success=1, progress=1000, and download_url. Treat success=0 or a Failed text value as an unsuccessful job and surface the returned error or message instead of waiting indefinitely.
Authentication
Download creation requires the dashboard key in the apikey query parameter. Progress polling does not require the key; it uses only the id returned by the creation request.
Pricing and account handoff
Production downloads consume API key wallet balance according to output format and applicable duration rules. Review pricing before production traffic, then create or manage the key from the account dashboard.
Review API pricing