TikTok Ads Scraper avatar
TikTok Ads Scraper
Try for free

Pay $5.00 for 1,000 results

View all Actors
TikTok Ads Scraper

TikTok Ads Scraper

clockworks/tiktok-ads-scraper
Try for free

Pay $5.00 for 1,000 results

Scrape TikTok ads data. Just add one or more hashtags and the scraper will extract ad text, details, country, ad longevity, audience interests, scores, countries, labels, age range, and more. Export scraped data, run the scraper via API, schedule ad monitor runs or integrate with other tools.

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  "hashtags": [
8    "thailand"
9  ],
10  "adsCountryCode": ""
11}
12EOF
13
14# Run the Actor using an HTTP API
15# See the full API reference at https://docs.apify.com/api/v2
16curl "https://api.apify.com/v2/acts/clockworks~tiktok-ads-scraper/runs?token=$API_TOKEN" \
17  -X POST \
18  -d @input.json \
19  -H 'Content-Type: application/json'
Developer
Maintained by Apify
Actor metrics
  • 18 monthly users
  • 9 stars
  • 99.7% runs succeeded
  • Created in Oct 2023
  • Modified about 9 hours ago