Sand AISand AI MAGI-2MAGI-2 jest teraz na SandBase: wideo 1080p z natywnym dźwiękiemWypróbuj teraz

YouTube Video Sponsors

Dokumentacja 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).

Cena
Od $0.0012USD / wywołanie
Metoda
POST
Odpowiedź
JSON
Parametry
1 wymaganych · 1 opcjonalnych

Playground

Wejście
YouTube video or Short URL.
2-letter language code for transcript lookup (e.g. en, es, fr).
WyjścieGotowe

Twój wynik pojawi się tutaj

Uzupełnij dane wejściowe, a następnie kliknij Uruchom.

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.

Odkryj więcej

Powiązane APIs

Wszystkie APIs
APICenaOdpowiedź
YouTubeOd $0.0012 za wywołanieJSON
YouTubeOd $0.00045 za wywołanieJSON
YouTubeOd $0.0012 za wywołanieJSON
YouTubeOd $0.0012 za wywołanieJSON
YouTubeOd $0.0012 za wywołanieJSON
YouTube$0.014286 za wywołanieJSON

Przewodniki:Best YouTube API in 2026: Pricing Compared

Pytania

FAQ

Jak używać API YouTube Video Sponsors?

Wyślij żądanie POST do https://api.sandbase.ai/v1/api/youtube/video-sponsors z kluczem API SandBase w nagłówku Authorization (Bearer) oraz parametrami w treści JSON. Możesz też wypróbować je w Playground na tej stronie bez pisania kodu.

Ile kosztuje API YouTube Video Sponsors?

Od $0.0012 za wywołanie, rozliczane z salda SandBase. Płacisz tylko za wykonane wywołania; nie ma subskrypcji.

Jakie parametry przyjmuje API YouTube Video Sponsors?

Wymagane: url (string). Opcjonalne: language (string). Tabela Parameters oraz Playground na tej stronie zawierają wszystkie pola.

Co zwraca API YouTube Video Sponsors?

Odpowiedź JSON zwrócona w tym samym żądaniu HTTP (synchronicznie). README na tej stronie zawiera przykładową odpowiedź.

Czy potrzebuję konta deweloperskiego YouTube lub klucza API?

Nie. YouTube Video Sponsors działa przez SandBase, więc jeden klucz API SandBase obejmuje ten endpoint i każde inne API oraz model w katalogu. Nie musisz osobno ubiegać się o dostęp do API YouTube.