tik-tok video scraper
Deprecated
Pricing
$5.00/month + usage
Go to Store
tik-tok video scraper
Deprecated
Scrape TikTok Video from URL 🎥 This tool allows you to scrape and download TikTok videos directly from a given URL. It extracts video content from TikTok pages, providing a quick and easy way to save or analyze videos without needing a TikTok account.
0.0 (0)
Pricing
$5.00/month + usage
0
Total users
3
Monthly users
3
Last modified
5 months ago
Scrape tik-tok video from url
In the body of the request you need to pass:
{url: string // Link to the tik-tok video, example: "https://vm.tiktok.com/ZMkC5Gwp8/"}
Response data(Attention! This is an object Dataset) :
[{"url": string, // Link for downloading the target video"audioInfo": { // Additional information about the audio track used in the video"title": string,"music": string, // Link to the audio track from the video"author": string, // User login of the video author"original": boolean,"duration": number,"album": string,},"info": { // Additional information about the video itself"play_count": number, // Number of video views"react_count": number, // Number of reactions to the video"comment_count": number, // Number of comments on the video"share_count": number, // Number of shares"author_avatar": string, // Link to the video author's avatar image}}]
Пример на js:
myHeaders.append("Content-Type", "application/json");myHeaders.append("Accept", "application/json");const token = ''; // my token apifyconst requestOptions = {method: "POST",headers: myHeaders,body: JSON.stringify({url: "https://www.tiktok.com/@yxuliant8/video/7230418312637779227"}),responseType: 'json'};fetch(`https://api.apify.com/v2/acts/0JIAS6p2aE4luYTnx/run-sync-get-dataset-items?token=${token}`, requestOptions).then((response)=> response.json()).then((result)=> console.log(result))