🏯 Tiktok Scraper (Pay Per Result) avatar
🏯 Tiktok Scraper (Pay Per Result)
Try for free

Pay $0.20 for 1,000 posts

View all Actors
🏯 Tiktok Scraper (Pay Per Result)

🏯 Tiktok Scraper (Pay Per Result)

apidojo/tiktok-scraper
Try for free

Pay $0.20 for 1,000 posts

The most complete and effective solution for extracting data from TikTok.com. User, Profile, Hashtag, Music, Location, Tag, and many other support is just the beginning. The intelligent algorithm allows TikTok Scraper to retrieve any posts/videos around the platform in the blink of an eye!

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 more

1# Set API token
2API_TOKEN=<YOUR_API_TOKEN>
3
4# Prepare Actor input
5cat > input.json <<'EOF'
6{
7  "startUrls": [
8    "https://www.tiktok.com/@billieeilish/video/7050551461734042926",
9    "https://www.tiktok.com/@gordonramsayofficial",
10    "https://www.tiktok.com/search?q=Recipes",
11    "https://www.tiktok.com/tag/duet",
12    "https://www.tiktok.com/music/original-sound-Newcastle-United-7297730198175402784",
13    "https://www.tiktok.com/place/New-York-22535796481546927"
14  ],
15  "maxItems": 1000,
16  "keywords": [
17    "Artificial Intelligence",
18    "podcast"
19  ],
20  "dateRange": "DEFAULT",
21  "location": "US",
22  "customMapFunction": "(object) => { return {...object} }"
23}
24EOF
25
26# Run the Actor using an HTTP API
27# See the full API reference at https://docs.apify.com/api/v2
28curl "https://api.apify.com/v2/acts/apidojo~tiktok-scraper/runs?token=$API_TOKEN" \
29  -X POST \
30  -d @input.json \
31  -H 'Content-Type: application/json'
Developer
Maintained by Community
Actor metrics
  • 120 monthly users
  • 11 stars
  • 97.9% runs succeeded
  • 5.1 hours response time
  • Created in Dec 2023
  • Modified about 22 hours ago