Search APIs
Loading…
← API Store
Social

YouTube

YouTube

Sponsors in a YouTube video (segments, promo codes, links)

GET /youtube/v1/video/sponsors
Test this endpoint

Every response includes credits_used: the credits this call cost.

Each call costs 1 credits; failed calls are free. Run it in the console playground to see a live result.

Parameters

NameTypeDescription
urlrequiredstring Example: https://www.youtube.com/watch?v=dQw4w9WgXcQ

Every endpoint also takes: raw、fields、fresh、output、records

{
  "cached": false,
  "channel": "Rick Astley",
  "channel_id": "UCuAXFkgsw1L7xaCfnd5JJOw",
  "credits_used": 1,
  "description": "The official video for “Never Gonna Give You Up” by Rick Astley. \n\nNever: The Autobiography 📚 OUT NOW! \nFollow this link to get your copy an…",
  "id": "dQw4w9WgXcQ",
  "links": [
    {
      "sponsor_like": false,
      "url": "https://linktr.ee/rickastleynever"
    },
    {
      "sponsor_like": false,
      "url": "https://RickAstley.lnk.to/YTSubID"
    },
    "… 9 more"
  ],
  "paid_content_overlay": null,
  "paid_promotion": false,
  "promo_codes": [],
  "segments": [],
  "sponsor_mentions": [],
  "title": "Rick Astley - Never Gonna Give You Up (Official Video) (4K Remaster)"
}
Response fields (17)

Field paths and types observed in the sample response; the live response is authoritative.

$object
$.cachedboolean
$.channelstring
$.channel_idstring
$.credits_usedinteger
$.descriptionstring
$.idstring
$.linksarray
$.links[]object | string
$.links[].sponsor_likeboolean
$.links[].urlstring
$.paid_content_overlaynull
$.paid_promotionboolean
$.promo_codesarray
$.segmentsarray
$.sponsor_mentionsarray
$.titlestring