Tiktok Scraper avatar
Tiktok Scraper
Try for free

3 days trial then $35.00/month - No credit card required now

View all Actors
Tiktok Scraper

Tiktok Scraper

mcdowell/tiktok
Try for free

3 days trial then $35.00/month - No credit card required now

An advanced TikTok scraper that lets you collect videos, profiles, posts, and other publicly available data on TikTok. Download TikTok data as a HTML, JSON, CSV, Excel, or XML

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

Node.js

Python

curl

1# Set API token
2API_TOKEN=<YOUR_API_TOKEN>
3
4# Prepare Actor input
5cat > input.json <<'EOF'
6{
7  "hashtags": [
8    "tiktokshortfilm"
9  ],
10  "maxVideosPerPage": 20,
11  "maxCommentsPerPost": 20,
12  "maxRequestRetries": 3,
13  "maxConcurrency": 5,
14  "proxyConfiguration": {
15    "useApifyProxy": true,
16    "apifyProxyCountry": "US"
17  }
18}
19EOF
20
21# Run the Actor using an HTTP API
22# See the full API reference at https://docs.apify.com/api/v2
23curl "https://api.apify.com/v2/acts/mcdowell~tiktok/runs?token=$API_TOKEN" \
24  -X POST \
25  -d @input.json \
26  -H 'Content-Type: application/json'
Developer
Maintained by Community
Actor metrics
  • 17 monthly users
  • 89.1% runs succeeded
  • 41.6 days response time
  • Created in Oct 2022
  • Modified 12 months ago