API Hop

YouTube Data API

可用 端點 34

查詢 YouTube 頻道、影片、Shorts、留言、搜尋結果與串流連結。

YouTube Data API: 介面與價格

AI 與 Data 分別共用帳戶層級的並行名額,預設 5 AI / 2 Data,訂閱方案可調整上限。介面個別設定仍受類別總上限約束。達到任一上限回傳 HTTP 429;非同步任務執行結束前占用名額。

按操作定價

Posts and videos

YouTube Data Posts and videos
操作端點價格並行上限
取得相關影片 GET /v1/youtube/web/videos/related
價格
$0.0010 /請求
預設並行上限: 2
取得頻道 Shorts 短片 GET /v1/youtube/web/channels/shorts
價格
$0.0010 /請求
預設並行上限: 2
取得影片詳情 GET /v1/youtube/web-v2/videos/info
價格
$0.0010 /請求
預設並行上限: 2
取得影片詳情 V2 GET /v1/youtube/web-v2/videos/info-v2
價格
$0.0010 /請求
預設並行上限: 2
取得頻道影片 GET /v1/youtube/web-v2/channels/videos
價格
$0.0010 /請求
預設並行上限: 2
取得頻道 Shorts 短片 GET /v1/youtube/web-v2/channels/shorts
價格
$0.0010 /請求
預設並行上限: 2
取得頻道社群貼文 GET /v1/youtube/web-v2/channels/posts
價格
$0.0010 /請求
預設並行上限: 2
取得貼文詳情 GET /v1/youtube/web-v2/posts/detail
價格
$0.0010 /請求
預設並行上限: 2

Search and discovery

YouTube Data Search and discovery
操作端點價格並行上限
搜尋影片 GET /v1/youtube/web/search/videos
價格
$0.0010 /請求
預設並行上限: 2
搜尋頻道 GET /v1/youtube/web/channels/search
價格
$0.0010 /請求
預設並行上限: 2
綜合搜尋 V2 GET /v1/youtube/web-v2/search-v2
價格
$0.0020 /請求
預設並行上限: 2
搜尋 Shorts V2 GET /v1/youtube/web-v2/search/shorts-v2
價格
$0.0020 /請求
預設並行上限: 2
取得搜尋建議字詞 GET /v1/youtube/web-v2/search/suggestions
價格
$0.0010 /請求
預設並行上限: 2
搜尋頻道 GET /v1/youtube/web-v2/search/channels
價格
$0.0010 /請求
預設並行上限: 2

Profiles and accounts

YouTube Data Profiles and accounts
操作端點價格並行上限
取得頻道 ID GET /v1/youtube/web/channels/id
價格
$0.0010 /請求
預設並行上限: 2
從 URL 取得頻道 ID V2 GET /v1/youtube/web/channels/id/by-url
價格
$0.0010 /請求
預設並行上限: 2
依頻道 ID 取得頻道 URL GET /v1/youtube/web/channels/url
價格
$0.0010 /請求
預設並行上限: 2
取得頻道資訊 GET /v1/youtube/web/channels/info
價格
$0.0010 /請求
預設並行上限: 2
取得頻道說明 GET /v1/youtube/web-v2/channels/description
價格
$0.0010 /請求
預設並行上限: 2
從 URL 取得頻道 ID GET /v1/youtube/web-v2/channels/id
價格
$0.0010 /請求
預設並行上限: 2
依頻道 ID 取得頻道 URL GET /v1/youtube/web-v2/channels/url
價格
$0.0010 /請求
預設並行上限: 2

Comments and engagement

YouTube Data Comments and engagement
操作端點價格並行上限
取得影片留言 GET /v1/youtube/web-v2/videos/comments
價格
$0.0010 /請求
預設並行上限: 2
取得影片留言回覆 GET /v1/youtube/web-v2/videos/comments/replies
價格
$0.0010 /請求
預設並行上限: 2
取得貼文留言 GET /v1/youtube/web-v2/posts/comments
價格
$0.0010 /請求
預設並行上限: 2
取得留言回覆 GET /v1/youtube/web-v2/posts/comments/replies
價格
$0.0010 /請求
預設並行上限: 2

Photos and media

YouTube Data Photos and media
操作端點價格並行上限
取得影片串流資訊 GET /v1/youtube/web-v2/videos/streams
價格
$0.0010 /請求
預設並行上限: 2
取得影片串流資訊 V2 GET /v1/youtube/web-v2/videos/streams-v2
價格
$0.0040 /請求
預設並行上限: 2
取得已簽署的影片串流 URL GET /v1/youtube/web-v2/videos/streams/signed-url
價格
$0.0010 /請求
預設並行上限: 2
建議:使用自有固定出口 IP 代理取得下載 URL POST /v1/youtube/web-v2/videos/streams-v3
價格
$0.0030 /請求
預設並行上限: 2

Async tasks and results

YouTube Data Async tasks and results
操作端點價格並行上限
請求影片字幕 POST /v1/youtube/web-v2/videos/captions
價格
$0.0080 /請求
預設並行上限: 2
取得字幕非同步任務結果 GET /v1/youtube/web-v2/videos/captions/result
價格
$0.0000 /請求
預設並行上限: 2

YouTube Data API 的使用情境

比較串接方式

透過同一個 API Hop 帳戶、API 金鑰和餘額,存取 AI 模型與資料 API。

REST API

Use your API Hop API key in the Authorization: Bearer header.

文件

AI Agent

複製不含機密資訊的整合範本,並在本機設定 API 金鑰。

AI 整合指南

常見問題

Why do captions use separate submit and result endpoints instead of returning inside video lookup?

Submit the captions task, then use the returned task identifier with the result endpoint to retrieve the output when ready.

在 AI Agent 中使用 YouTube Data API

資料 API 目錄