Skip to content

YouTube Video Sponsors API

Brands, promo codes and affiliate links inferred from a video's description, plus YouTube's own paid-promotion disclosure. Every signal carries the description line it was read from and a confidence, because this is inference over prose. YouTube publishes no structured sponsor data. Experimental: expect to check evidence before acting on low confidence. Calls cost 1 credit each. A cache hit is free, and a failed or empty response is never charged.

Try it

Prefilled with the request that produced the example below. No key yet? Get a free key.

Request

GET/v1/youtube/video/sponsors
ParameterTypeRequiredDescription
urlstringyesVideo URL or 11-character video id

Also accepts cache_max_age (a hit costs 0 credits) and include_raw (returns the untouched upstream payload under raw).

curl
curl "$API/v1/youtube/video/sponsors?url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D0e3GPea1Tyg&cache_max_age=7d" \
  -H "x-api-key: $KEY"
JavaScript
const query = new URLSearchParams({
  url: 'https://www.youtube.com/watch?v=0e3GPea1Tyg',
  cache_max_age: '7d',
});

const response = await fetch(`${API}/v1/youtube/video/sponsors?${query}`, {
  headers: { 'x-api-key': KEY },
});

const body = await response.json();
if (!body.success) throw new Error(body.error.code);

// 1 credit, 0 on a cache hit
console.log(body.data, body.meta.creditsCharged);
Python
import os, httpx

r = httpx.get(
    f"{os.environ['API']}/v1/youtube/video/sponsors",
    params={
        "url": "https://www.youtube.com/watch?v=0e3GPea1Tyg",
        "cache_max_age": "7d",
    },
    headers={"x-api-key": os.environ["KEY"]},
    timeout=30,
)

body = r.json()
if not body["success"]:
    raise RuntimeError(body["error"]["code"])

print(body["data"], body["meta"]["creditsCharged"])

Example response

Captured on , with raw removed and lists cut to two items. A live call returns current data.

response
{
  "success": true,
  "data": {
    "postId": "0e3GPea1Tyg",
    "url": "https://www.youtube.com/watch?v=0e3GPea1Tyg",
    "title": "$456,000 Squid Game In Real Life!",
    "disclosedPaidPromotion": false,
    "sponsors": [
      {
        "name": "Extrememusic",
        "domain": "extrememusic.com",
        "url": "https://www.extrememusic.com/",
        "promoCode": null,
        "discount": null,
        "kind": "gifted",
        "confidence": "medium",
        "evidence": "Music Provided by https://www.extrememusic.com/"
      }
    ],
    "promoCodes": [],
    "outboundLinks": [
      "https://www.beastgames.com",
      "https://prf.hn/l/6bNbQB3"
    ],
    "fetchedAt": "2026-10-21T01:55:48.141Z"
  },
  "meta": {
    "platform": "youtube",
    "endpoint": "youtube.videoSponsors",
    "creditsCharged": 1,
    "cached": false,
    "cacheAgeSeconds": null,
    "durationMs": 2312,
    "requestId": "req_h4l6fkvt4je1jvl8wrlq"
  }
}

Returns

Returns an object with postId, url, title, disclosedPaidPromotion, sponsors, promoCodes, outboundLinks, fetchedAt.

Fields
FieldTypePresent
postIdstringalways
urlstringalways
titlestringalways
disclosedPaidPromotionbooleanalways
sponsorsobject[]always
sponsors[].namestring | nullalways
sponsors[].domainstring | nullalways
sponsors[].urlstring | nullalways
sponsors[].promoCodestring | nullalways
sponsors[].discountstring | nullalways
sponsors[].kindsponsor | affiliate | giftedalways
sponsors[].confidencehigh | medium | lowalways
sponsors[].evidencestringalways
promoCodesstring[]always
outboundLinksstring[]always
fetchedAtstringalways

Cost and behaviour

Credits1 per live request, 0 on a cache hit
Cacheableyes: cache_max_age accepts a cached copy
Batchableyes: usable as a target in POST /v1/jobs/batch
Subscribableyes: as often as every 3600 seconds, firing a webhook only on a change

Other YouTube endpoints