YouTube Search → Video IDs avatar

YouTube Search → Video IDs

Pricing

$1.50 / 1,000 video listeds

Go to Apify Store
YouTube Search → Video IDs

YouTube Search → Video IDs

Search YouTube by keyword and get video IDs, titles, channels and views as JSON. Up to 50 queries and 500 results each. $1.50 per 1,000 videos; empty searches are free.

Pricing

$1.50 / 1,000 video listeds

Rating

0.0

(0)

Developer

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

4 days ago

Last modified

Features

Limited permissions

Share

Search terms in, a flat list of YouTube videos out: video ID, URL, title, channel, views, duration and upload age. One row per video.

Which YouTube Actor should I use?

This is a narrow Discover step. It finds videos for a keyword and stops there. It does not download transcripts, comments, likes, full descriptions, Shorts or channel pages. Hand the videoId/url it returns to the next step:

Next stepActor
Captions as timestamped JSONYouTube Transcript Extractor
CommentsYouTube Comments Extractor
RAG chunks from subtitlesSubtitle RAG Chunker
All videos of one channelYouTube Channel Videos
Inputqueries[], optional maxResultsPerQuery, sortBy, uploadDate, duration, language, country
Output per videovideoId, url, title, channelName, channelId, channelUrl, viewCount, durationSeconds, publishedTimeText, publishedAtEstimate, isLive, descriptionSnippet, thumbnailUrl, query, rank
Pricing$0.0015 per video listed ($1.50 / 1,000). Queries with no results are not billed; duplicates across queries are skipped.
AccessYouTube's public web search endpoint through residential proxies. No login, no API key, no browser.
Call itREST skilled_glee~youtube-search-videos · MCP https://mcp.apify.com/?tools=skilled_glee/youtube-search-videos

Pipeline role (n8n / agents): Content → Discover. Search → Transcript → Chunk is one n8n flow.

Input

{
"queries": ["n8n tutorial"],
"maxResultsPerQuery": 5,
"sortBy": "relevance",
"uploadDate": "month",
"duration": "medium"
}
  • queries (required, 1–50).
  • maxResultsPerQuery (1–500, default 50). Results come in pages of about 20; the Actor stops at your limit or when YouTube has no more results.
  • sortBy: relevance (default) or view_count. YouTube no longer honors an "upload date" sort, so it is not offered; use uploadDate to get recent videos.
  • uploadDate: any, today, week, month, year.
  • duration: any, short (< 4 min), medium (4–20 min), long (> 20 min).
  • language (hl, default en) and country (gl, default US).
  • dedupeAcrossQueries (default true): a video already listed for an earlier query is skipped, so overlapping queries never bill the same video twice.
  • maxConcurrency (1–10, default 3): queries searched in parallel.
  • Empty input runs the example query n8n tutorial with 5 results, so you can see the output format first.

Output

Row from a real run (2026-10-29):

{"query": "n8n tutorial", "rank": 1, "videoId": "xl7Y49yLPDs", "url": "https://www.youtube.com/watch?v=xl7Y49yLPDs", "title": "n8n Tutorial for Beginners in 2026: How to Build AI Agents", "channelName": "Youri van Hofwegen", "channelId": "UCdR7eGozLjafYMTd2BFnJaQ", "channelUrl": "https://www.youtube.com/@Yourivanhofwegen", "viewCount": 44366, "viewCountText": "44,366 views", "publishedTimeText": "2 weeks ago", "publishedAtEstimate": "2026-10-16", "durationSeconds": 1052, "durationText": "17:32", "isLive": false, "descriptionSnippet": "Host n8n with Hostinger ...", "thumbnailUrl": "https://i.ytimg.com/vi/xl7Y49yLPDs/hq720.jpg", "status": "ok"}

Field notes:

  • YouTube search shows upload time only as relative text ("2 weeks ago"). publishedTimeText is that text; publishedAtEstimate is computed from it at run time, so it is approximate (a date for day/week/month/year units). For exact dates, use a details/transcript step.
  • viewCount is null for live streams (YouTube shows "watching" instead of views).
  • rank is the position within that query's results in this run.

A query that returns nothing (or that YouTube refuses) produces one row {"query": "...", "status": "error", "error": "..."} and is not billed. SUMMARY in the default key-value store has per-query counts and whether a spending limit stopped the run.

Pricing (pay per event)

EventWhenPrice
video-listedOnce per video row with status: "ok" saved to the dataset$0.0015

No start fee. Error rows are free. Example: 4 queries × 50 videos = 200 × $0.0015 = $0.30. Set a maximum cost per run and the Actor stops cleanly when it is reached (spendingLimitReached in SUMMARY).

Reliability

Each query runs on its own residential IP. A blocked or failed page (403, 429, 5xx, network error) is retried up to 4 times, each time on a fresh IP. If no query returns any video, the run ends as FAILED so schedules and integrations notice.

Good to know

  • Regular videos only (the search runs with YouTube's "Videos" type filter); Shorts shelves, playlists and channels are skipped.
  • Results are what YouTube's web search returns for an anonymous visitor from the Apify cloud for your language/country; they can differ from a signed-in search.
  • If YouTube still refuses a query after all retries, that query returns one free error row and the other queries continue.