YouTube Search Scraper: Videos by Keyword avatar

YouTube Search Scraper: Videos by Keyword

Pricing

from $0.40 / 1,000 video saveds

Go to Apify Store
YouTube Search Scraper: Videos by Keyword

YouTube Search Scraper: Videos by Keyword

Scrape YouTube search results by keyword without an API key: video title, channel, views, upload date, duration, description snippet and thumbnail. Filters for upload date, duration and popularity. Export to CSV or JSON.

Pricing

from $0.40 / 1,000 video saveds

Rating

0.0

(0)

Developer

veenkes

veenkes

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

6 hours ago

Last modified

Features

Limited permissions

Share

A YouTube search scraper that returns the videos YouTube shows for any keyword — no API key, no quota. Each result has title, channel, exact view count, upload date, duration, description snippet and thumbnail, in ranking order.

Filter by upload date (last hour to this year), duration and popularity, and set the country for regional rankings. Ideal for keyword research, rank tracking and finding creators.

Why use this YouTube search scraper?

  • 🔓 No YouTube Data API key or quota.
  • 🔢 Exact view counts from search results (1,165,940 views), not rounded.
  • 🗓️ Filters: upload date, duration, popularity, country and language.
  • 📍 Positions: position is the rank in the results, so you can track rankings over time.
  • ⚡ Fast first run: 50 results in seconds with the prefilled input.
  • 💸 From $0.40 per 1,000 videos. No monthly rental.

Who is it for?

  • SEO and YouTube marketers: track rankings for keywords and spy on competing videos.
  • Agencies and brands: find creators who rank for your niche.
  • Researchers: sample videos on a topic over time.
  • Product and content teams: see what people watch for a topic right now.

What data does it extract?

FieldExample
query, positionweb scraping tutorial, 1
videoId, url, title, thumbnailvideo basics
channelName, channelId, channelHandle, channelUrl, channelVerifiedCodeHead, @codehead01
viewCount, viewCountText, watchingNow190641, 190,641 views
publishedTimeText, publishedAtApprox8 months ago, approximate ISO date
durationText, durationSeconds, isLive4:53, 293, false
descriptionSnippet, badgestext under the title, ["New", "4K"]

How to use it

  1. Enter one or more search queries.
  2. Optionally set upload date, duration, prioritize and country.
  3. Click Start and export to CSV, Excel or JSON, or schedule daily rank tracking.

Run it from the API

You can start this Actor from any language with the official Apify API client. Replace YOUR_APIFY_TOKEN with a token from Apify Console > Integrations. Never put the token in a public repo.

Python

from apify_client import ApifyClient
client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("veenkes/veenkes-youtube-search").call(run_input={
"searchQueries": [
"web scraping tutorial",
"iphone 17 review"
],
"maxResultsPerQuery": 100,
"uploadDate": "month"
})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
print(item)

JavaScript

import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor('veenkes/veenkes-youtube-search').call({
"searchQueries": [
"web scraping tutorial",
"iphone 17 review"
],
"maxResultsPerQuery": 100,
"uploadDate": "month"
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);

Schedule the Actor, send results to a webhook, or connect it in Zapier, Make or n8n. Store page: https://apify.com/veenkes/veenkes-youtube-search.

Use from AI agents (Apify MCP)

AI agents can run this Actor through the Apify MCP server. Connect Claude, Cursor or any MCP-compatible client to Apify, then ask the agent to call veenkes/veenkes-youtube-search with an input like the example above. The agent discovers the tool from the Actor title and description.

How much does it cost?

Apify plan tierPrice per 1,000 videos
FREE$0.80
BRONZE$0.60
SILVER$0.50
GOLD and above$0.40

There is also a $0.00005 start fee per run.

Input example

{
"searchQueries": [
"web scraping tutorial",
"iphone 17 review"
],
"maxResultsPerQuery": 200,
"sortBy": "popularity",
"uploadDate": "year",
"duration": "medium",
"country": "US"
}

Output example

{
"query": "web scraping tutorial",
"position": 1,
"videoId": "hHQlcnubuFI",
"url": "https://www.youtube.com/watch?v=hHQlcnubuFI",
"title": "Learn Web Scraping in 5 Minutes (NO PRIOR KNOWLEDGE)",
"channelName": "CodeHead",
"channelHandle": "@codehead01",
"viewCount": 190641,
"viewCountText": "190,641 views",
"publishedTimeText": "8 months ago",
"durationText": "4:53",
"durationSeconds": 293,
"isLive": false
}

The key-value store record SUMMARY lists every input with its status and the number of items saved.

Limitations

  • YouTube returns a limited number of results per query (often 500-700). Use more specific queries for larger datasets.
  • Results are videos only; channel and playlist cards, ads and unrelated shelves are skipped.
  • Upload dates are relative on YouTube; publishedAtApprox is an approximation.

Why this one?

Exact view counts, YouTube's own filters and ranking positions at a flat price below the popular alternatives, with no API key and no per-query fee.

FAQ

Do I need a YouTube API key? No.

Can I track my ranking for a keyword? Yes. Schedule a run daily and compare position for your video IDs.

Is it legal? It reads public search results only. Please follow data protection laws when you process personal data.


Integrations

  • Apify API — Python and JavaScript clients (examples above), plus a REST API.
  • AI agents — run it via the Apify MCP server.
  • Automation tools — Zapier, Make, n8n, or an Apify webhook when a run finishes.
  • Export — download the dataset as JSON, CSV, Excel or XML, or load it from a scheduled run.

Open the Actor in Apify Store.

Not affiliated with or endorsed by YouTube or Google LLC.