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

Pay $0.10 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.10 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    "https://vm.tiktok.com/ZGe59gmvQ/"
15  ],
16  "maxItems": 1000,
17  "keywords": [
18    "Artificial Intelligence",
19    "podcast"
20  ],
21  "dateRange": "DEFAULT",
22  "location": "US",
23  "customMapFunction": "(object) => { return {...object} }"
24}
25EOF
26
27# Run the Actor using an HTTP API
28# See the full API reference at https://docs.apify.com/api/v2
29curl "https://api.apify.com/v2/acts/apidojo~tiktok-scraper/runs?token=$API_TOKEN" \
30  -X POST \
31  -d @input.json \
32  -H 'Content-Type: application/json'
Developer
Maintained by Community
Actor metrics
  • 63 monthly users
  • 3 stars
  • 99.7% runs succeeded
  • 3 hours response time
  • Created in Dec 2023
  • Modified about 13 hours ago