Tiktok Hashtag Scraper

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

Tiktok Hashtag Scraper

Tiktok Hashtag Scraper

epctex/tiktok-hashtag-scraper

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

Experience the power of our state-of-the-art TikTok scraper, meticulously designed to fetch videos, hashtags, shares, followers, hearts, names, posts, URLs, and music data. Obtain comprehensive insights with ease, and choose your preferred data format: be it 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

# Set API token
API_TOKEN=<YOUR_API_TOKEN>

# Prepare Actor input
cat > input.json <<'EOF'
{
  "search": [
    "anime",
    "tiktok"
  ],
  "startUrls": [
    "https://www.tiktok.com/search?q=%23music&t=1670685477846",
    "https://www.tiktok.com/search?q=%23dance&t=1670685484412",
    "https://www.tiktok.com/search?q=%23challenge&t=1670685494590"
  ],
  "maxItems": 10,
  "endPage": 1,
  "extendOutputFunction": "($) => { return {} }",
  "customMapFunction": "(object) => { return {...object} }",
  "proxy": {
    "useApifyProxy": true
  }
}
EOF

# Run the Actor
curl "https://api.apify.com/v2/acts/epctex~tiktok-hashtag-scraper/runs?token=$API_TOKEN" \
  -X POST \
  -d @input.json \
  -H 'Content-Type: application/json'
Developer
Maintained by Community
Actor stats
  • 131 users
  • 865 runs
  • Modified about 8 hours ago

You might also like these Actors