Go to example tasks

Scrape YouTube search results for a keyword

Get the top YouTube videos for any keyword with title, views, likes, duration, publish date and channel. Pick sort order and country. No YouTube API key needed.

Try for free
YouTube Scraper: Search, Channel Videos, Video Details
YouTube Scraper: Search, Channel Videos, Video Detailsshipsatnight/youtube-scraper
Position
Title
Url
Channel name
+6 fields
Text
Number
Boolean
List
Object

Input

Search queries:web scraping tutorial
Max videos per query or channel:20
Search sort order:relevance
Country code:US

Output fields

Position
Title
Url
Channel name
View count
Like count
Duration
Publish date
Search query
Input channel

How it works

Sign up on Apify or log in

The YouTube Scraper: Search, Channel Videos, Video Details Actor is ready to run with the inputs already set for "Scrape YouTube search results for a keyword". Sign up or log in and you'll land in Apify Console with a copy of this exact task.

Start the "Scrape YouTube search results for a keyword" task

The YouTube Scraper: Search, Channel Videos, Video Details Actor will start running based on the input automatically. You can also change all the input fields, like search queries, max videos per query or channel, and more, to match your specific use case.

Receive the "Scrape YouTube search results for a keyword" 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 position, title, url, 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 "Scrape YouTube search results for a keyword" task via API.

Image

Integrate "Scrape YouTube search results for a keyword" into your workflow

Connect "Scrape YouTube search results for a keyword" 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