Tiktok Trending Videos Scraper avatar
Tiktok Trending Videos Scraper

Pricing

$19.99/month + usage

Go to Apify Store
Tiktok Trending Videos Scraper

Tiktok Trending Videos Scraper

Tiktok Trending Videos Scraper extracts real-time trending videos from TikTok. Capture views, likes, shares, captions, hashtags, creators, and metadata. Ideal for research, content planning, trend analysis, and workflows needing structured TikTok trending video insights.

Pricing

$19.99/month + usage

Rating

5.0

(1)

Developer

API Empire

API Empire

Maintained by Community

Actor stats

0

Bookmarked

3

Total users

2

Monthly active users

a day ago

Last modified

Share

A powerful Apify Actor that scrapes trending TikTok videos from TikTok's Creative Center API. Get trending videos by country, sorted by views, likes, shares, or comments.

Why Choose Us?

  • Real-time Data: Access TikTok's official trending videos API
  • Multiple Countries: Scrape trending videos from any country
  • Flexible Sorting: Sort by views, likes, shares, comments, or hot
  • Smart Proxy Handling: Automatic proxy fallback to avoid blocks
  • Live Saving: Results are saved as they're scraped
  • Production Ready: Built with error handling and retry logic

Key Features

  • ✅ Scrape trending TikTok videos by country code
  • ✅ Multiple sort options (views, likes, shares, comments, hot)
  • ✅ Configurable time period (1-30 days)
  • ✅ Automatic proxy fallback (no proxy → datacenter → residential)
  • ✅ Detailed logging for monitoring progress
  • ✅ Live data saving to Apify dataset
  • ✅ Handles rate limits and blocks gracefully

Input

JSON Example

{
"countryCode": "AU",
"sortOrder": "share",
"maxItems": 100,
"period": 7,
"proxyConfiguration": {
"useApifyProxy": false
}
}

Input Fields

  • countryCode (string, required): Two-letter country code (e.g., "US", "AU", "GB", "CA"). Default: "US"
  • sortOrder (string, required): How to sort videos. Options: "hot", "view", "like", "share", "comment". Default: "view"
  • maxItems (integer, required): Maximum number of videos to scrape (1-1000). Default: 100
  • period (integer, optional): Time period in days (1-30). Default: 7
  • proxyConfiguration (object, optional): Proxy settings. If TikTok blocks requests, automatically falls back to residential proxy.

Output

JSON Example

[
{
"country_code": "AU",
"cover": "https://p16-sign-sg.tiktokcdn.com/...",
"duration": 5,
"id": "7567957332919913736",
"item_id": "7567957332919913736",
"item_url": "https://www.tiktok.com/@mnm_pipi/video/7567957332919913736",
"region": "Australia",
"title": "Hips don't lie #halloween #shakira #shake #wiggle #boxerdog"
}
]

Output Fields

  • country_code: Two-letter country code
  • cover: Video thumbnail image URL
  • duration: Video duration in seconds
  • id: Unique video ID
  • item_id: Item identifier
  • item_url: Direct link to the TikTok video
  • region: Full region name
  • title: Video title/description

🚀 How to Use the Actor (via Apify Console)

  1. Log in at https://console.apify.com and go to Actors
  2. Find tiktok-trending-videos-scraper and click it
  3. Configure inputs:
    • Select your country code
    • Choose sort order
    • Set maximum items to scrape
    • Optionally configure proxy settings
  4. Click Run to start the actor
  5. Monitor logs in real time to see progress
  6. Access results in the OUTPUT tab
  7. Export results to JSON or CSV

Best Use Cases

  • Content Research: Discover trending content in specific countries
  • Marketing Analysis: Analyze what's popular in target markets
  • Trend Monitoring: Track trending topics over time
  • Competitor Analysis: See what content performs well
  • Content Inspiration: Find ideas for your own TikTok content

Frequently Asked Questions

Q: What countries are supported?
A: Any two-letter country code (ISO 3166-1 alpha-2) is supported. Common examples: US, AU, GB, CA, DE, FR, JP.

Q: How often is the data updated?
A: The data comes from TikTok's official API and is updated in real-time based on current trending videos.

Q: What happens if TikTok blocks my requests?
A: The actor automatically falls back to datacenter proxies, and if that fails, it switches to residential proxies with retry logic.

Q: Can I scrape more than 1000 videos?
A: The maximum is set to 1000 videos per run. You can run the actor multiple times with different parameters.

Q: How long does it take to scrape 100 videos?
A: Typically 1-2 minutes depending on network conditions and proxy usage.

Support and Feedback

If you encounter any issues or have suggestions, please contact support through the Apify platform.


Cautions

  • Data is collected only from publicly available sources on TikTok's Creative Center
  • No data is taken from private accounts or password-protected content
  • The end user is responsible for ensuring legal compliance (spam laws, privacy, data protection, etc.)
  • Respect TikTok's Terms of Service and rate limits