{
"ok": true,
"id": "6718335390845095173",
"source": "tiktok.com",
"type": "video",
"download_url": "https://v16me.tiktokcdn.com/81f51c103e626bf7b41214e152417b9b/6acc2df8/video/tos/alisg/tos-alisg-ve-37c799-sg/c9f7a85bfdd7452aaffabc48131961fc/?a=1340&bti=OHYpc2JnaDF3b253bEBqOjo2QDptZl5wYmNiZitsaHFgIzE0M2A%3D&&bt=1469&ft=4bEs3MOa8Zmo08yR4a4jVnbjQgFrKsd.&mime_type=video_mp4&rc=Ojg0Omk2NDtkaTw1PDkzOUBpM245aWhvZ3U4bjMzZzczM0A0MzMwNmBhNTAxMWEuLy02YSMzc29gcGdnMXJfLS01MTZzcw%3D%3D&vvpl=1&l=20261011084636CB0A7F184F8EA34CFE84&btag=e00070000",
"width": 720,
"height": 1280,
"thumbnail_url": "https://p16-common-sign.tiktokcdn.com/tos-maliva-p-0068/dc1c2b319b174c7eabd57ba4b191cc93~tplv-tiktokx-origin.jpeg?dr=16282&refresh_token=0181da86&x-expires=1791763200&x-signature=9Pm1A00ui3LkNlu%2F75mbH9C5X6g%3D&t=5872c671&ps=4f5296ae&shp=d05b14bd&shcp=ad95869f&idc=my2&biz_tag=tt_video&s=FEED&sc=dynamic_cover",
"duration": 10,
"caption": "Scramble up ur name & I’ll try to guess it😍❤️ #foryoupage #petsoftiktok #aesthetic",
"music_url": "https://sf16-ies-music-va.tiktokcdn.com/obj/musically-maliva-obj/1633261625900085.mp3",
"music": {
"id": null,
"title": null,
"author": null,
"cover": null,
"duration": 10,
"album": null,
"original": null,
"download_url": "https://sf16-ies-music-va.tiktokcdn.com/obj/musically-maliva-obj/1633261625900085.mp3"
}
}
curl --location --request GET 'https://zylalabs.com/api/14136/all-in-one+social+media+downloader+api/34978/download+media+by+url?url=https://www.tiktok.com/@scout2015/video/6718335390845095173' --header 'Authorization: Bearer YOUR_API_KEY'
{
"ok": true,
"is_post": false,
"video_id": "dQw4w9WgXcQ",
"title": "Rick Astley - Never Gonna Give You Up (Official Video) (4K Remaster)",
"author": "Rick Astley",
"author_url": "https://www.youtube.com/channel/UCuAXFkgsw1L7xaCfnd5JJOw",
"thumbnail": "https://i.ytimg.com/vi/dQw4w9WgXcQ/sddefault.jpg",
"duration": 213,
"thumbnails": {
"low": "https://i.ytimg.com/vi/dQw4w9WgXcQ/default.jpg",
"max": "https://i.ytimg.com/vi/dQw4w9WgXcQ/sddefault.jpg"
},
"formats": [
{
"type": "video",
"format": "144p",
"filesize": 5507589
},
{
"type": "video",
"format": "240p",
"filesize": 7759569
},
{
"type": "video",
"format": "360p",
"filesize": 11832459
},
{
"type": "video",
"format": "480p",
"filesize": 17552966
},
{
"type": "video",
"format": "720p",
"filesize": 29905327
},
{
"type": "video",
"format": "1080p",
"filesize": 84361446
},
{
"type": "video",
"format": "1440p",
"filesize": 125617724
},
{
"type": "video",
"format": "2160p",
"filesize": 243784090
},
{
"type": "audio",
"format": "audio",
"filesize": 3449447
}
]
}
curl --location --request GET 'https://zylalabs.com/api/14136/all-in-one+social+media+downloader+api/34979/youtube+video+info?url=https://www.youtube.com/watch?v=dQw4w9WgXcQ' --header 'Authorization: Bearer YOUR_API_KEY'
{
"ok": true,
"video_id": "dQw4w9WgXcQ",
"duration": null,
"filename": "Rick Astley - Never Gonna Give You Up (Official Video) (4K Remaster) - Rick Astley (720p, h264).mp4",
"download_url": "https://api.fastsaver.io/v1/tunnel?id=670946ea-46ac-4d08-9e94-4d12e0193537",
"thumbnails": {
"low": "https://i.ytimg.com/vi/dQw4w9WgXcQ/mqdefault.jpg",
"max": "https://i.ytimg.com/vi/dQw4w9WgXcQ/maxresdefault.jpg"
}
}
curl --location --request POST 'https://zylalabs.com/api/14136/all-in-one+social+media+downloader+api/34980/download+youtube+video' --header 'Authorization: Bearer YOUR_API_KEY'
--data-raw '{"url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ", "format": "720p"}'
After signing up, every developer is assigned a personal API access key, a unique combination of letters and digits provided to access to our API endpoint. To authenticate with the All-in-One Social Media Downloader API simply include your bearer token in the Authorization header.
| Header | Description |
|---|---|
Authorization
|
Required
Should be Bearer access_key. See "Your API Access Key" above when you are subscribed.
|
No long-term commitment. Upgrade, downgrade, or cancel anytime. Free Trial includes up to 50 requests.
(Save 2 months with annual billing 🎉)
Download videos, photos and audio from Instagram, TikTok, YouTube, Facebook, X, Pinterest and more with one URL. Returns clean JSON with direct download links.
Each endpoint returns clean JSON data. The "Download Media by URL" endpoint provides media details like id, source, type, download_url, dimensions, thumbnail_url, duration, and caption. The "YouTube Video Info" endpoint returns metadata including video_id, title, author, duration, thumbnails, and available formats. The "Download YouTube Video" endpoint returns a direct download link along with video_id, filename, and thumbnails.
Key fields include "ok" (indicating success), "id" (media identifier), "source" (platform), "type" (media type), "download_url" (link to the media), "width" and "height" (dimensions), "thumbnail_url" (preview image), "duration" (for videos), and "caption" (media description). For YouTube, additional fields like "title," "author," and "formats" are included.
The response data is structured in a JSON format with a top-level "ok" field indicating success. For media downloads, the data includes a main object with media details. Multi-item posts return an "items" array under the "type" field. YouTube responses may include a "formats" array detailing available video qualities and sizes.
The "Download Media by URL" endpoint requires a public media link. The "Download YouTube Video" endpoint accepts a JSON body with "url" (YouTube link) and "format" (video quality or audio). Accepted video formats include 144p, 240p, 360p, 480p, 720p, 1080p, 1440p, and 2160p.
The "Download Media by URL" endpoint provides media details from various platforms, including type, download links, and captions. The "YouTube Video Info" endpoint offers metadata about YouTube videos, such as title, author, and available formats. The "Download YouTube Video" endpoint gives direct download links and file information.
Users can utilize the returned data by checking the "ok" field for success. They can extract media details like download links and dimensions for display or processing. For YouTube, users can present metadata to help users choose formats before downloading. The structured response allows easy parsing for integration into applications.
Typical use cases include downloading social media content for offline access, creating compilations of media from various platforms, and integrating media downloads into applications or websites. Users can also analyze video metadata for content management or display purposes.
Data accuracy is maintained by sourcing media directly from the respective platforms (e.g., Instagram, YouTube). The API checks the validity of links and returns error messages when issues arise. Regular updates and checks ensure that the API reflects the latest media and metadata available from these platforms.
To obtain your API key, first sign in to your account and navigate to the API you want to use. From the API's Pricing section, choose a plan and complete the subscription process. Once subscribed, return to the API page and you will see your API Access Key displayed at the top of the documentation page. You can use this key to authenticate your requests.
You can’t switch APIs during the free trial. If you subscribe to a different API, your trial will end and the new subscription will start as a paid plan.
The free trial lasts for 7 days and allows you to make up to 50 API requests.
No, the free trial is available only once, so we recommend using it on the API that interests you the most. Most of our APIs offer a free trial, but some may not include this option.
Yes. If the API offers a free trial, you will see a "Free 7-Day Trial" option in its Pricing section. The trial lasts for 7 days and allows up to 50 API requests, enabling you to evaluate the API before subscribing to a paid plan.
Zyla API Hub is like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.
You can monitor your API usage through the response headers included with every request:
x-zyla-api-calls-monthly-used: Shows the total number of API requests you have used during the current billing period.
x-zyla-api-calls-monthly-remaining: Shows the number of API requests you have remaining for the current billing period.
Yes, you can cancel your subscription at any time. Simply go to the Pricing section of the API you're subscribed to and click the "Unsubscribe" button.
Please note that upgrades, downgrades, and cancellations take effect immediately. Once your subscription is canceled, access to the service will end immediately, regardless of any remaining API calls in your quota.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund