Sand AISand AI MAGI-2ตอนนี้ MAGI-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.0012USD / คำขอ
Method
POST
การตอบกลับ
JSON
พารามิเตอร์
1 จำเป็น · 1 ไม่บังคับ

Playground

อินพุต
YouTube video or Short URL.
2-letter language code for transcript lookup (e.g. en, es, fr).
เอาต์พุตพร้อมใช้งาน

เอาต์พุตของคุณจะแสดงที่นี่

กรอกอินพุตให้ครบ แล้วคลิก Run

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 ได้อย่างไร?

ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/youtube/video-sponsors โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด

YouTube Video Sponsors API ราคาเท่าไร?

เริ่มต้นที่ $0.0012 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน

YouTube Video Sponsors API รับพารามิเตอร์อะไรบ้าง?

ที่ต้องระบุ: url (string). ตัวเลือก: language (string). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์

YouTube Video Sponsors API ส่งคืนอะไร?

การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ

ฉันจำเป็นต้องมีบัญชีนักพัฒนาหรือ API key ของ YouTube ไหม?

ไม่จำเป็น YouTube Video Sponsors ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง YouTube API แยกต่างหาก