YouTube Search Scraper avatar

YouTube Search Scraper

Pricing

$0.20 / 1,000 video results

Go to Apify Store
YouTube Search Scraper

YouTube Search Scraper

Search public YouTube videos by phrase and export titles, channels, views, durations and direct watch links.

Pricing

$0.20 / 1,000 video results

Rating

0.0

(0)

Developer

MYM

MYM

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

9 days ago

Last modified

Features

Limited permissions

Share

YouTube Search Scraper — Video Search Results with Channel & View Data

Access and content limits

This Actor retrieves public YouTube search results that are available to automated requests. No YouTube account, cookies, or user-supplied API key are required. Public availability does not guarantee that every result can be retrieved automatically.

  • Login, age, bot-verification, access-denial, and rate-limit responses are terminal. The Actor does not change accounts, cookies, or identities to get around them.
  • A run with no usable result rows fails and does not charge for error rows. Valid dataset rows are the billable unit.
  • Search order and availability can change between runs. This is a search snapshot, not a promise of complete or permanent coverage.

What the Actor does

Search YouTube with one or more phrases and receive structured video records in an Apify dataset. Each row keeps the original query next to the video details, so results from several searches remain easy to separate in a spreadsheet or downstream job.

The Actor is for discovery and metadata. It does not download video or audio, retrieve transcripts, or provide private analytics. It returns public fields exposed by the search result, including a direct watch URL.

Quick start

  1. Add one or more phrases to Search queries. The prefilled example is NASA Artemis II.
  2. Set Maximum results per query between 1 and 100.
  3. Run the Actor and open the Search results dataset view.
  4. Export the dataset as JSON, CSV, Excel, or XML, or read it through the Apify API.
{
"queries": ["NASA Artemis II", "lofi hip hop music"],
"maxPerQuery": 20
}

Input fields

FieldRequiredDescription
queriesYesList of non-empty YouTube search phrases. Up to 10 phrases per run.
maxPerQueryNoMaximum number of video rows for each phrase, from 1 to 100. Default: 20.

The limit is per phrase. Three queries with maxPerQuery: 10 can return up to 30 rows. Fewer rows may be returned when YouTube has fewer matching public results or restricts automated access.

Output fields

Each dataset row represents one video result.

FieldMeaning
idYouTube video ID.
urlDirect watch URL for the video.
querySearch phrase that produced this row.
titlePublic video title.
channelChannel name when included in the result.
channelUrlChannel page URL when available.
durationDuration in seconds when available.
viewCountPublic view count when available in the search response.
uploadDateUpload date when returned; it may be empty.

Optional metadata is left blank when the source does not provide it. The Search results view is designed for quick scanning; Full result details includes the complete row.

Common uses

  • Topic research: collect a current sample of results for a subject or question.
  • Content planning: compare titles and channels appearing for related phrases.
  • Video monitoring: repeat the same search on a schedule and compare snapshots in your own workflow.
  • Creator discovery: find public channels publishing around a niche.
  • Dataset preparation: create a labeled starting set for manual review or research.
  • Search comparisons: submit related phrases together and keep the originating phrase on every row.

Use the returned fields as a snapshot. View counts and rankings can change, and a search result is not an endorsement or a completeness guarantee.

Billing and free-plan limits

The current price is $0.20 per 1,000 valid video rows. There is no separate charge for starting a run or submitting a query. A row is written only after it has a usable video ID, title, and watch URL; error messages and empty results are never dataset rows.

On the Apify Free plan, this Actor is limited to 40 requested results per Apify user per UTC day. Paid Apify plans are not subject to that free-plan limit. The run log shows a clear plan-limit message when the limit is reached.

Limits and troubleshooting

  • No rows: check that each phrase is specific enough to return public videos, then try again later. Search results can vary over time.
  • Verification or access message: the source has restricted automated access. This Actor stops instead of rotating identities or attempting to bypass the restriction.
  • Missing optional values: channel URL, duration, views, and upload date depend on what YouTube provides with that result.
  • More than 100 results: run more phrases or schedule multiple runs. Each phrase is capped at 100 rows.
  • Duplicate videos across phrases: the same video can appear for different queries. The query field shows why each row was returned; deduplicate by id if your analysis needs unique videos.

Frequently asked questions

Does this download videos?

No. The Actor returns public search-result metadata and watch URLs only.

Do I need a YouTube API key or cookies?

No. Do not add account cookies or credentials to the input.

Are results guaranteed to match a fixed ranking?

No. Search rankings and public metadata may change between runs and may vary by availability.

Why did a run fail with no dataset rows?

A zero-row run is not treated as a successful billable result run. Check the run message for invalid input, an access restriction, or a temporary retrieval failure.

Can I run multiple search phrases together?

Yes. Put up to 10 phrases in queries. The output query field links each video row to its phrase.

YouTube search results scraper, YouTube video search API alternative, search YouTube by keyword, YouTube keyword research, YouTube video finder, YouTube channel discovery, YouTube search results to CSV, YouTube video metadata, YouTube search dataset, public YouTube video search.


YouTube 搜索抓取器 — 视频搜索结果与频道数据

访问限制

本 Actor 会检索自动化请求能够访问的 YouTube 公开搜索结果。无需 YouTube 账号、Cookie 或用户提供的 API 密钥。公开页面并不代表所有视频都能被自动读取。

  • 登录、年龄验证、人机验证、访问拒绝和速率限制均视为终止状态。Actor 不会更换账号、Cookie 或身份来规避限制。
  • 没有可用结果行时,任务会失败,错误信息不会作为结果行收费。有效数据行才是计费单位。
  • 搜索排序和结果会随时间变化。本 Actor 返回的是一次搜索快照,不保证永久完整。

功能

输入一个或多个搜索短语,获取结构化的视频结果。每条记录都保留对应的搜索短语,方便在表格、研究流程或后续任务中区分不同查询。

本 Actor 用于公开结果发现和元数据整理,不下载视频或音频,不生成字幕,也不提供私有分析数据。输出包括视频观看链接及搜索结果中公开提供的字段。

快速开始

  1. 在 Search queries(搜索词) 中填写一个或多个短语,预填示例为 NASA Artemis II。
  2. 将 Maximum results per query(每个搜索词的最大结果数) 设置为 1–100。
  3. 运行后打开 Search results(搜索结果) 数据视图。
  4. 可导出 JSON、CSV、Excel 或 XML,也可通过 Apify API 读取。
{
"queries": ["NASA Artemis II", "lofi hip hop music"],
"maxPerQuery": 20
}

输入字段

字段必填说明
queries是非空的 YouTube 搜索短语列表,每次最多 10 个。
maxPerQuery否每个短语最多返回的视频行数,范围 1–100,默认 20。

上限按每个短语计算。例如 3 个短语、每个上限 10 时,最多返回 30 行。若公开匹配结果较少或 YouTube 限制自动访问,实际结果可能更少。

输出字段

每条数据行对应一个视频搜索结果。

字段含义
idYouTube 视频 ID。
url视频观看链接。
query返回该视频的搜索短语。
title公开视频标题。
channel搜索结果中提供的频道名称。
channelUrl可用时提供的频道页面链接。
duration可用时提供的视频时长(秒)。
viewCount搜索响应中提供的公开播放量。
uploadDate来源返回时提供的上传日期,可能为空。

来源没有提供的可选字段会为空。Search results 视图用于快速查看;Full result details 包含完整记录。

常见用途

  • 主题研究: 为某个主题或问题收集当前公开搜索结果样本。
  • 内容规划: 比较相关短语下出现的视频标题和频道。
  • 视频监测: 定期重复同一搜索,并在自己的流程中比较快照。
  • 创作者发现: 查找围绕细分主题发布公开内容的频道。
  • 数据集准备: 建立供人工审核或研究使用的初始样本。
  • 查询比较: 一次提交多个相关短语,每条记录都保留来源短语。

结果仅代表当次搜索。播放量和排序可能变化;出现在结果中不表示推荐,也不保证结果完整。

计费与免费计划限制

当前价格为 每 1,000 条有效视频结果 $0.20。启动任务或提交搜索短语不另收费。只有包含有效视频 ID、标题和观看链接的结果才会写入数据集;错误信息和空结果不会作为数据行收费。

Apify 免费计划用户每天(UTC)每个 Actor 最多请求 40 条结果。付费 Apify 计划不受此免费计划限额影响。达到限额时,任务日志会显示明确说明。

使用限制与排查

  • 没有结果: 尝试更具体的公开搜索短语,或稍后重试;搜索结果会随时间变化。
  • 验证或访问提示: 来源限制了自动访问。Actor 会停止,不会轮换身份或尝试规避限制。
  • 可选字段为空: 频道链接、时长、播放量和上传日期取决于 YouTube 对该结果提供的数据。
  • 需要超过 100 条: 增加搜索短语数量或安排多次运行;每个短语最多 100 条。
  • 不同搜索词出现相同视频: 同一视频可能匹配多个短语。query 字段会保留来源;如需唯一视频,可按 id 去重。

常见问题

这个 Actor 会下载视频吗?

不会。它只返回公开搜索结果元数据和观看链接。

不需要。请勿在输入中填写账号 Cookie 或其他凭据。

搜索排名会固定吗?

不会。搜索排序和公开元数据可能变化,也可能因访问限制而不同。

为什么没有结果时任务会失败?

没有结果行的运行不会被当作成功的结果运行收费。运行消息会区分无效输入、来源访问限制和临时获取失败。

可以一次提交多个搜索短语吗?

可以。queries 最多放 10 个短语;输出中的 query 字段会标明每行对应的搜索词。

相关搜索

YouTube 搜索结果抓取、YouTube 视频搜索 API 替代方案、按关键词搜索 YouTube、YouTube 关键词研究、YouTube 视频查找、YouTube 频道发现、YouTube 搜索结果 CSV、YouTube 视频元数据、YouTube 搜索数据集、公开 YouTube 视频搜索。

Errors & billing

Input errors finish with status SUCCEEDED, no results and no charge; see the OUTPUT record for the reason.

错误与计费

输入错误会以 SUCCEEDED 状态结束,不产生结果且不收费;原因请查看 OUTPUT 记录。

Shared YouTube free-plan daily budget

All free-plan YouTube users share one $1 daily service budget across all YouTube Actors (not $1 per user or Actor), resetting at 00:00 UTC. When exhausted, the run finishes SUCCEEDED with 0 rows and no charge; OUTPUT contains ok:false and errorType:FREE_LIMIT. Any paid Apify plan is unlimited.

YouTube 免费计划共享每日预算

所有 YouTube 免费计划用户、所有 YouTube Actor 共用一个每日 $1 的服务预算(不是每位用户或每个 Actor 各 $1),于 UTC 00:00 重置。预算耗尽时运行以 SUCCEEDED 结束,0 条结果、无收费;OUTPUT 返回 ok:false 和 errorType:FREE_LIMIT。任何付费 Apify 计划均不受此限制。