Sand AISand AI MAGI-2MAGI-2 現已登上 SandBase:支援原生音訊的 1080p 影片立即試用

YouTube Video Sponsors

API 文件
https://api.sandbase.ai/v1/api/youtube/video-sponsors

Detect suspected sponsors and paid promotions in a YouTube video by URL (sponsor names, websites, confidence).

價格
自 $0.0012 起美元/次呼叫
方法
POST
回應
JSON
參數
1 個必填 · 1 個選填

Playground

輸入
YouTube video or Short URL.
2-letter language code for transcript lookup (e.g. en, es, fr).
輸出就緒

您的輸出會顯示在這裡

完成輸入後,點擊執行。

API README

YouTube Video Sponsors API

Returns whether a YouTube video or Short looks like a paid promotion, plus a list of suspected sponsors with their websites and a confidence level. It also returns basic video and channel details. It needs a video URL.

Use cases

  • Check whether a creator's video contains a paid promotion before you cite it in a report.
  • Build a list of brands that sponsor videos in a niche by running many video URLs.
  • Flag sponsored videos in an influencer vetting or ad tracking tool.
  • Find the website of a sponsor named in a video so you can match it to a brand record.

Request

curl -X POST "https://api.sandbase.ai/v1/api/youtube/video-sponsors" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url": "https://www.youtube.com/watch?v=AVO0ifle-OU"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
urlstringYesYouTube video or Short URL.
languagestringNo2-letter language code for transcript lookup (e.g. en, es, fr).

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "data": {
    "authorAvatarUrl": "https://yt3.ggpht.com/qmx-SPJT3bDScwd8KC4APZP82cpOoMN1b-kqdl5eASn8pub6jSBxWpq3OO…",
    "authorHandle": "letsKWOOWK",
    "authorId": "UC3vQEjRhwgH2HAOBKwLjxNA",
    "authorName": "KWOOWK",
    "authorUrl": "https://www.youtube.com/@letsKWOOWK",
    "detectionStatus": "found",
    "isPaidPromotion": true,
    "suspectedSponsors": [
      {
        "confidence": "medium",
        "name": "Betterhelp",
        "website": "betterhelp.com"
      }
    ],
    "title": "Why You Should Meal Prep Like A Restaurant",
    "url": "https://www.youtube.com/watch?v=AVO0ifle-OU",
    "videoId": "AVO0ifle-OU"
  },
  "found": true
}

Response fields

FieldMeaning
data.isPaidPromotiontrue when the video is flagged as a paid promotion.
data.detectionStatusResult of the sponsor check. The sample shows found when sponsors were detected.
data.suspectedSponsors[].nameName of the suspected sponsor.
data.suspectedSponsors[].websiteWebsite of the suspected sponsor, given as a domain.
data.suspectedSponsors[].confidenceConfidence level for that sponsor match. The sample shows medium.
data.titleTitle of the video.
data.videoId / data.urlVideo ID and full URL of the video that was checked.
data.authorName / data.authorHandleDisplay name and handle of the channel that posted the video.
data.authorId / data.authorUrlChannel ID and channel URL of the author.
foundtrue when the lookup returned a result for the video.

Notes

  • Pass the full video or Short link in url. The optional language parameter takes a 2-letter code such as en and sets the transcript language used for the lookup.
  • Channel IDs such as UC3vQEjRhwgH2HAOBKwLjxNA start with UC. Use data.authorId or the handle to look up the channel with YouTube Channel.
  • To read the video itself, call YouTube Video Details or YouTube Video Transcript.

Pricing

Billed at the actual cost of each call, about $0.0012 for the request above. Failed calls are not charged.

探索更多

相關 APIs

所有 APIs
API價格回應
YouTube每次呼叫 $0.0012 起JSON
YouTube每次呼叫 $0.00045 起JSON
YouTube每次呼叫 $0.0012 起JSON
YouTube每次呼叫 $0.0012 起JSON
YouTube每次呼叫 $0.0012 起JSON
YouTube每次呼叫 $0.014286JSON

指南:Best YouTube API in 2026: Pricing Compared

問題

常見問題

我要如何使用 YouTube Video Sponsors API?

使用 POST 請求將您的 SandBase API 金鑰放在 Authorization 標頭(Bearer)中,並以 JSON 主體傳入參數,即可呼叫 https://api.sandbase.ai/v1/api/youtube/video-sponsors。您也可以直接在本頁的 Playground 試用,不必撰寫程式碼。

YouTube Video Sponsors API 的費用是多少?

每次起 $0.0012,並從您的 SandBase 餘額中扣款。您只會為實際發出的呼叫付費;沒有訂閱方案。

YouTube Video Sponsors API 接受哪些參數?

必要:url (string)。 選填:language (string)。 本頁的 Parameters 表格與 Playground 會列出每個欄位。

YouTube Video Sponsors API 會回傳什麼?

在同一個 HTTP 請求中回傳的 JSON 回應(同步)。 本頁的 README 包含範例回應。

我需要 YouTube 開發者帳號或 API 金鑰嗎?

不需要。YouTube Video Sponsors 是透過 SandBase 運作,因此一組 SandBase API 金鑰即可使用此端點以及目錄中的其他所有 API 和模型。您不需要另外申請 YouTube API 存取權。