POST/downloader/links

Returns direct CDN URLs without downloading to our server. Fastest option but URLs may expire. Non-portable URLs (e.g. Google Video CDN) are auto-wrapped in a temporary relay to guarantee client access.

Parameters

urlrequiredstring

Media URL to download.

modeoptionalselectauto | audio | video

Preferred download mode. 'auto' picks video for video URLs, audio for audio URLs.

qualityoptionalselectmax | 2160 | 1440 | 1080 | 720 | 480 | 360

Preferred video quality. 'max' picks the highest available.

use_cookiesoptionalboolean

Use authenticated cookies for private content (premium feature).

Code examples

curl
curl -X POST 'https://api.anysave.click/downloader/links' \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
  "url": "https://youtu.be/dQw4w9WgXcQ",
  "mode": "auto",
  "quality": "max",
  "use_cookies": false
}'

Response example

json
{
  "status": "ok",
  "data": {
    "source_url": "https://youtu.be/dQw4w9WgXcQ",
    "service": "youtube",
    "is_truncated": false,
    "status": "picker",
    "files": [
      {
        "type": "video",
        "url": "https://rr1---sn-p5qs7n7l.googlevideo.com/videoplayback?...",
        "filename": "video.mp4"
      }
    ],
    "audio": {
      "type": "audio",
      "url": "https://rr1---sn-p5qs7n7l.googlevideo.com/videoplayback?...",
      "filename": "audio.m4a"
    }
  }
}