Advanced TikTok Video Scraper avatar
Advanced TikTok Video Scraper
Try for free

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

View all Actors
Advanced TikTok Video Scraper

Advanced TikTok Video Scraper

epctex/tiktok-video-scraper
Try for free

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

Utilize our advanced scraper to gather videos, posts, URLs, numbers of shares, followers, hearts, names, and music-related data from TikTok. Download in various formats like 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 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  "startUrls": [
8    "https://www.tiktok.com/@deborahyowa/video/7173615947603922181?is_copy_url=1&is_from_webapp=v1",
9    "https://www.tiktok.com/@argenby/video/7171782248281165058?is_copy_url=1&is_from_webapp=v1",
10    "https://www.tiktok.com/@cznburak/video/7161858444830461190?is_copy_url=1&is_from_webapp=v1"
11  ],
12  "maxItems": 20,
13  "extendOutputFunction": "($) => { return {} }",
14  "customMapFunction": "(object) => { return {...object} }",
15  "proxy": {
16    "useApifyProxy": true
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/epctex~tiktok-video-scraper/runs?token=$API_TOKEN" \
24  -X POST \
25  -d @input.json \
26  -H 'Content-Type: application/json'
Developer
Community logoMaintained by Community
Actor metrics
  • 10 monthly users
  • 90.9% runs succeeded
  • Created in Jan 2023
  • Modified about 14 hours ago

You might also like these Actors