LAGIC
Lead Audience Growth Intelligence Computing
F

Fast YouTube Trending Scraper API | Viral Videos & Rankings — YouTube | Lagic

Built For

Get a list of trending YouTube videos and their performance data by country.

Curated by Lagic·Verified working

Configure Agent

Location for the trending videos. (US, AF, AL, etc..)

Maximum number of items that you want as output.

Function that takes each of the objects as argument and returns data that will be mapped by the function itself. This function is not intended for filtering, please don't use it for filtering purposes or you will get banned automatically.

Results to deliver

100 credits

This agent actively searches live listings — results may vary. You are only charged for what is delivered, up to this number.

Lagic Proxy

Country auto-rotated. Need a specific region? Contact support.

Pricing

1 credit per result
✓ 30 free credits on signup✓ Refund if 0 results✓ No card required

Sample Data Preview

Video Title, Description, and CategoryURL and unique ID for each videoView, Like, and Comment CountsVideo DurationPublication and Upload DatesChannel Name, ID, Handle, and Subscriber Count
Sample Text...https://...97100992026-04-05Sample Text...
Sample Text...https://...763100982026-04-05Sample Text...
..................
Exports as:CSVXLSXJSON

Overview

Extracts the current list of trending videos on YouTube for any country. Get video titles, view counts, likes, and channel data to analyze viral content and spot emerging trends.

This tool provides a direct way to collect data on the videos currently featured on YouTube's "Trending" page for a specific country. It's designed for marketers, content strategists, and researchers who need to understand which videos are capturing public attention in different regions. Instead of manually checking the trending tab, you can select a country and retrieve a structured list of the videos that YouTube's algorithm is promoting. The output includes core performance metrics like view, like, and comment counts, alongside essential metadata such as the video title, description, category, and publication date. You also get details about the channel that posted the video, including its name, handle, and subscriber count. This data is useful for spotting cultural trends, identifying popular content formats, and performing competitive analysis. For media buyers, it can help identify channels and videos that are currently popular for ad placements. For content creators, it offers a window into what's resonating with audiences in specific markets, providing inspiration for new material.

Key Capabilities

  • Video Title, Description, and Category
  • URL and unique ID for each video
  • View, Like, and Comment Counts
  • Video Duration
  • Publication and Upload Dates
  • Channel Name, ID, Handle, and Subscriber Count
  • Channel Badges (e.g., Verified)
  • Video Thumbnail URLs (multiple resolutions)
  • Embeddability and Family-Safe Status
  • Technical streaming data and available formats
  • Content Strategy & Ideation: Analyze top-performing videos in your target country to generate ideas for your own content calendar.
  • Market Research: Compare trending topics and video formats across different countries to understand regional content preferences.
  • Competitive Analysis: Monitor which of your competitors' videos make it to the trending page and analyze their performance metrics.
  • Influencer & Creator Discovery: Identify up-and-coming channels that are gaining traction and hitting the trending charts.
  • Media Buying & Ad Placement: Find currently popular videos and channels to target for advertising campaigns, ensuring relevance and high visibility.
  • Brand Safety Monitoring: Keep an eye on the types of content trending in your key markets to inform brand safety guidelines.
  • Academic & Cultural Research: Track and archive trending videos to study the spread of viral media and cultural moments over time.

Field Dictionary

How To Run This Extractor

1

Select the country you want to get trending videos for from the 'Country' dropdown list.

2

Optionally, specify the 'Maximum number of items' you want to retrieve.

3

Click the 'Run' button to start the extraction process.

4

Once the run is finished, preview and download your data as a CSV, JSON, or Excel file.

Frequently Asked Questions

Do I need to know how to code?
No, this tool can be operated through a user interface without any programming.
What formats can I export the data in?
How is the 'trending' list determined?
Can I get trending videos for a specific category, like 'Music' or 'Gaming'?
Is it legal to scrape YouTube's trending page?
How many trending videos can I get?
Is this suitable for client work at my agency?
How fresh is the data?
Can I schedule this tool to run automatically?
Why is the 'likes' field sometimes empty?