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.014286 每次调用JSON

指南:Best YouTube API in 2026: Pricing Compared

问题

常见问题

如何使用 YouTube Video Sponsors API?

向 https://api.sandbase.ai/v1/api/youtube/video-sponsors 发送 POST 请求,在 Authorization 请求头中使用您的 SandBase API key(Bearer),并将参数作为 JSON 请求体传入。您也可以直接在本页的 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 key 吗?

不需要。YouTube Video Sponsors 通过 SandBase 运行,因此一个 SandBase API key 即可覆盖此端点以及目录中的其他所有 API 和模型。您无需单独申请 YouTube API 访问权限。