Tiktok Scraper avatar
Tiktok Scraper
Deprecated
View all Actors
This Actor is deprecated

This Actor is unavailable because the developer has decided to deprecate it. Would you like to try a similar Actor instead?

See alternative Actors
Tiktok Scraper

Tiktok Scraper

zhangzhenhu/tiktok-scraper

Powerful TikTok scraper to extract data from TikTok videos, hashtags, and users. Use it to scrape TikTok profiles, hashtags, posts, URLs, numbers of shares, followers, hearts, names, video, and music-related data. Download TikTok data as a HTML, JSON, CSV, Excel, or XML doc.

The code examples below show how to run the Actor and get its results. To run the code, you need to have an Apify account. Replace <YOUR_API_TOKEN> in the code with your API token, which you can find under Settings > Integrations in Apify Console. Learn mode

Node.js

Python

curl

1# Set API token
2API_TOKEN=<YOUR_API_TOKEN>
3
4# Prepare Actor input
5cat > input.json <<'EOF'
6{
7  "profiles": [
8    "filmesdotom888"
9  ],
10  "hashtags": [
11    "rich"
12  ],
13  "search_urls": [
14    "https://www.tiktok.com/search/user?q=elonmusk"
15  ]
16}
17EOF
18
19# Run the Actor using an HTTP API
20# See the full API reference at https://docs.apify.com/api/v2
21curl "https://api.apify.com/v2/acts/zhangzhenhu~tiktok-scraper/runs?token=$API_TOKEN" \
22  -X POST \
23  -d @input.json \
24  -H 'Content-Type: application/json'
Developer
Maintained by Community
Categories