Go to example tasks

Find the most viewed YouTube videos on any topic

Search YouTube with the most watched videos first and get, for each search, the videos with their views, channel, length and upload date as numbers you can sort. This example looks for the most viewed ChatGPT tutorials; type your own topics.

Try for free
YouTube Search Scraper
YouTube Search Scraperjclabs/youtube-search
Search
#
Thumbnail
Title
+6 fields
Text
Number
Boolean
List
Object

Input

Searches(required):chatgpt tutorial
Videos per search:100
Order:popularity

Output fields

Search
#
Thumbnail
Title
Video
Channel
Views
Duration
Uploaded
Upload date (approx.)

How it works

Sign up on Apify or log in

The YouTube Search Scraper Actor is ready to run with the inputs already set for "Find the most viewed YouTube videos on any topic". Sign up or log in and you'll land in Apify Console with a copy of this exact task.

Start the "Find the most viewed YouTube videos on any topic" task

The YouTube Search Scraper Actor will start running based on the input automatically. You can also change all the input fields, like searches, videos per search, and more, to match your specific use case.

Receive the "Find the most viewed YouTube videos on any topic" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as search, #, thumbnail, and more.

Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also run the "Find the most viewed YouTube videos on any topic" task via API.

Image

Integrate "Find the most viewed YouTube videos on any topic" into your workflow

Connect "Find the most viewed YouTube videos on any topic" with 100+ integrations, or run it via API or MCP.

Webhook

Webhook

n8n

n8n

Make

Make

Zapier

Zapier

Airbyte

Airbyte

Keboola

Keboola

IFTTT

IFTTT

Hubspot

Hubspot

GDrive

GDrive

Gmail

Gmail

Apify MCP

Apify MCP

GitHub

GitHub

Slack

Slack

LangChain

LangChain

LlamaIndex

LlamaIndex

Flowise

Flowise

Pinecone

Pinecone

OpenAI

OpenAI

Mastra

Mastra

Clay

Clay

Frequently asked questions

The most viewed videos task returns the videos of each search with the most watched first, each with its title, channel, views, length and upload date, as numbers and dates ready to sort.

Yes. Open the most viewed videos task, type your own searches, one per line, choose how many videos you want from each and click Start. A free Apify account is enough.

The most viewed videos task costs $2 per 1,000 videos on Apify's Free plan and as little as $1.20 per 1,000 on paid plans. The free $5 monthly credit covers about 2,500 videos.

Yes. Schedule the most viewed videos task in Apify Console, or start it from the API tab with Python, JavaScript or cURL. Results can go to Make, Zapier or n8n.