Sand AISand AI MAGI-2MAGI-2 hiện đã có trên SandBase: video 1080p với âm thanh gốcDùng thử ngay

YouTube Video Sponsors

Tài liệu 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).

Giá
Từ $0.0012USD / lượt gọi
Phương thức
POST
Phản hồi
JSON
Tham số
1 bắt buộc · 1 tùy chọn

Phòng thử nghiệm

Đầu vào
YouTube video or Short URL.
2-letter language code for transcript lookup (e.g. en, es, fr).
Đầu raSẵn sàng

Đầu ra của bạn sẽ xuất hiện ở đây

Hoàn tất đầu vào, rồi nhấp Run.

README API

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.

Khám phá thêm

APIs liên quan

Tất cả APIs
APIGiáPhản hồi
YouTubeTừ $0.0012 mỗi lần gọiJSON
YouTubeTừ $0.00045 mỗi lần gọiJSON
YouTubeTừ $0.0012 mỗi lần gọiJSON
YouTubeTừ $0.0012 mỗi lần gọiJSON
YouTubeTừ $0.0012 mỗi lần gọiJSON
YouTube$0.014286 mỗi lần gọiJSON

Hướng dẫn:Best YouTube API in 2026: Pricing Compared

Câu hỏi

FAQ

Làm thế nào để dùng API YouTube Video Sponsors?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/youtube/video-sponsors với khóa API SandBase của bạn trong tiêu đề Authorization (Bearer) và các tham số trong phần thân JSON. Bạn cũng có thể thử trực tiếp trong Playground trên trang này mà không cần viết code.

API YouTube Video Sponsors có giá bao nhiêu?

Từ $0.0012 mỗi lần gọi, được tính từ số dư SandBase của bạn. Bạn chỉ bị tính phí cho các lần gọi bạn thực hiện; không có gói đăng ký.

API YouTube Video Sponsors chấp nhận những tham số nào?

Bắt buộc: url (string). Tùy chọn: language (string). Bảng Parameters và Playground trên trang này liệt kê mọi trường.

API YouTube Video Sponsors trả về gì?

Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ). README trên trang này có ví dụ phản hồi.

Tôi có cần tài khoản nhà phát triển hoặc API key của YouTube không?

Không. YouTube Video Sponsors chạy thông qua SandBase, nên chỉ cần một API key SandBase là đủ cho endpoint này và mọi API cùng model khác trong danh mục. Bạn không cần đăng ký riêng để có quyền truy cập API của YouTube.