YouTube Search avatar

YouTube Search

Pricing

from $20.00 / 1,000 successful api calls

Go to Apify Store
YouTube Search

YouTube Search

Search YouTube videos — returns video IDs, titles, channels, view counts, and thumbnails.

Pricing

from $20.00 / 1,000 successful api calls

Rating

0.0

(0)

Developer

Alex Jordan

Alex Jordan

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

a day ago

Last modified

Categories

Share

What does YouTube Search do?

YouTube Search lets you search YouTube videos programmatically and extract structured data — video IDs, titles, channel names, view counts, publish dates, and thumbnail URLs — without any browser automation or API quota limits. Simply provide a search query and get back a clean JSON dataset ready for analysis, enrichment, or downstream workflows.

Built on the Apify platform, this Actor runs in seconds and integrates with Apify's scheduling, monitoring, and webhook features out of the box.

  • Content research — Find trending videos in your niche for competitive analysis
  • Lead generation — Discover YouTube creators and channels relevant to your industry
  • Marketing intelligence — Track how competitors' content performs on YouTube
  • Data pipelines — Feed YouTube data into your CRM, spreadsheet, or BI tool automatically
  • SEO research — Understand what video content ranks for specific search terms
  1. Click Try for free on this Actor's page
  2. Enter your search query (e.g. "python tutorial" or "SaaS marketing")
  3. Set max_results (default 10, max 50)
  4. Click Start and wait a few seconds
  5. Download your results as JSON, CSV, or Excel from the Output tab

Input

FieldTypeRequiredDescription
querystringYouTube search query
max_resultsintegerMax results to return (default 10, max 50)
cachebooleanUse cached result if available (default true)

Example input:

{
"query": "python tutorial for beginners",
"max_results": 20
}

Output

Example output:

{
"results": [
{
"videoId": "rfscVS0vtbw",
"title": "Learn Python - Full Course for Beginners",
"channelName": "freeCodeCamp.org",
"viewCount": 35000000,
"duration": "PT4H26M52S",
"publishedAt": "2018-07-11T18:00:02Z",
"thumbnail": "https://i.ytimg.com/vi/rfscVS0vtbw/hqdefault.jpg"
}
],
"meta": {
"cache_hit": false,
"execution_time_ms": 1200
}
}

You can download the dataset in various formats such as JSON, HTML, CSV, or Excel.

Data fields

FieldTypeDescription
videoIdstringYouTube video ID
titlestringVideo title
channelNamestringName of the channel
viewCountintegerTotal view count
durationstringDuration in ISO 8601 format
publishedAtstringPublication date
thumbnailstringThumbnail URL

Pricing / Cost estimation

$0.02 per successful API call on Apify.

  • 1,000 successful Apify runs = $20.00

FAQ & Support

Is this legal? This Actor queries publicly available YouTube search results — the same data visible in any browser without login. No private data is accessed.

Known limitations: YouTube may return fewer results than max_results for niche queries. Max supported is 50 results per call.

Need help? Open an issue in the Issues tab or contact the support team for custom solutions.