100 free credits. No credit card required. Get a key

YouTube video sponsors API

Who sponsored a YouTube video, inferred from the paid-promotion disclosure, sponsor wording, links and promo codes in the description, and the transcript, each sponsor with evidence and a confidence.

GET /v1/youtube/videos/{id}/sponsorsBeta3 credits per callRefunded on failure
import os, requests

res = requests.get(
    "https://api.groundsocial.dev/v1/youtube/videos/AVO0ifle-OU/sponsors",
    headers={"Authorization": f"Bearer {os.environ['GROUNDSOCIAL_API_KEY']}"},
)
res.raise_for_status()
data = res.json()
Response
200 · 3 credits
{
"kind": "youtube#videoSponsors",
"videoId": "AVO0ifle-OU",
"title": "Why You Should Meal Prep Like A Restaurant",
"channel": {
"id": "UC3vQEjRhwgH2HAOBKwLjxNA",
"title": "KWOOWK",
"handle": "@letsKWOOWK",
"url": "https://www.youtube.com/@letsKWOOWK",
"thumbnails": {
"default": {
"url": "https://yt3.ggpht.com/qmx-SPJT3bDScwd8KC4APZP82cpOoMN1b-kqdl5eASn8pub6jSBxWpq3OO88Wa1fQGWmPVpU=s88-c-k-c0x00ffffff-no-rj",
"width": 88,
"height": 88
},
"medium": {
"url": "https://yt3.ggpht.com/qmx-SPJT3bDScwd8KC4APZP82cpOoMN1b-kqdl5eASn8pub6jSBxWpq3OO88Wa1fQGWmPVpU=s240-c-k-c0x00ffffff-no-r…",
"width": 240,
"height": 240
},
"high": {
"url": "https://yt3.ggpht.com/qmx-SPJT3bDScwd8KC4APZP82cpOoMN1b-kqdl5eASn8pub6jSBxWpq3OO88Wa1fQGWmPVpU=s800-c-k-c0x00ffffff-no-r…",
"width": 800,
"height": 800
}
},
"subscriberCount": "4360000",
"isVerified": true
},
"hasPaidProductPlacement": true,
"sponsors": [
{
"name": "Betterhelp",
"domain": "betterhelp.com",
"url": "https://betterhelp.com/KWOOWK",
"confidence": "high",
"evidence": [
{
"source": "paid_promotion_label",
"text": "Includes paid promotion"
},
{
"source": "description_link",
"text": "If you're struggling, consider therapy with our sponsor BetterHelp. Click https://betterhelp.com/KWOOWK for a 10% discou…"
}
]
}
],
"transcriptChecked": false,
"method": "Inferred from YouTube’s paid-promotion disclosure, sponsor wording, links and promo codes in the description, and the tr…"
}

Parameters

NameTypeDescription
idpath · requiredstringA video or Short id, or any URL of it (watch, youtu.be, shorts, live, embed). Example: dQw4w9WgXcQ.
languagequerystringTranscript language to search (default: original). Example: en.
Response fields

200 with a YouTubeVideoSponsors, in the shape of YouTube Data API v3 resources.

FieldTypeDescription
kind"youtube#videoSponsors"
videoIdstring
titlestring
channelYouTubeChannelRefThe channel a video or post belongs to (not a Data API part).
hasPaidProductPlacementbooleanYouTube’s “Includes paid promotion” disclosure.
sponsorsYouTubeSponsor[]
transcriptCheckedboolean
methodstringHow sponsors were found: inferred from the disclosure, sponsor wording and links in the description and transcript. Not an official YouTube field.
Status codes
StatusMeaning
200Suspected sponsors with evidence.
400Invalid input. Nothing was charged.
401Missing or invalid API key.
402Not enough credits, a spend cap was reached, or payment is required.
403The target is private, or the account is suspended.
404The video, channel, playlist or post does not exist, was removed, or has nothing there.
429Too many requests. Wait for Retry-After seconds.
503YouTube is temporarily unavailable. Retryable; nothing was charged.

Every error has code, message, hint and retryable. All error codes

Questions

Is this an official YouTube field?

No. YouTube says that a video includes paid promotion, rarely by whom; the sponsors are inferred and every one carries its evidence.

YouTube is a trademark of Google LLC. We are not affiliated with or endorsed by Google or YouTube.