Douyin Scraper avatar
Douyin Scraper
Try for free

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

View all Actors
Douyin Scraper

Douyin Scraper

natanielsantos/douyin-scraper
Try for free

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

This powerful tool enables you to extract data from Douyin, the Chinese version of TikTok. Use it to scrape Douyin hashtags, posts, URLs, numbers of followers, hearts, names, video, and music-related data. Download Douyin 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  "searchTermsOrHashtags": [
8    "anime"
9  ],
10  "maxItemsPerUrl": 50,
11  "maxDownloadSize": 50,
12  "storageName": "mydouyinvideos"
13}
14EOF
15
16# Run the Actor using an HTTP API
17# See the full API reference at https://docs.apify.com/api/v2
18curl "https://api.apify.com/v2/acts/natanielsantos~douyin-scraper/runs?token=$API_TOKEN" \
19  -X POST \
20  -d @input.json \
21  -H 'Content-Type: application/json'
Developer
Maintained by Community
Actor metrics
  • 15 monthly users
  • 68.9% runs succeeded
  • 23.0 days response time
  • Created in Nov 2023
  • Modified 6 days ago