1. Platforms
  2. YouTube Scraper API
  3. YouTube video sponsors API

YouTube video sponsors API

Whether the video discloses paid promotion, and the suspected sponsors with confidence and evidence in extra, inferred from the public description, its links, promo codes and the transcript.

GET api.socialscrape.dev/v1/youtube/video/sponsors

Cost
1 credit
Cached repeats
0 creditssend max_age_days, results kept 30 days
Failed requests
0 credits

Experimental. An inference, not a statement from YouTube; parent is the video.

You send one of url or id.

Part of the YouTube Scraper API: 18 YouTube endpoints on one key.

Request

Send your key in the x-api-key header.

1curl -G "https://api.socialscrape.dev/v1/youtube/video/sponsors" \2  -H "x-api-key: $SOCIALSCRAPE_API_KEY" \3  --data-urlencode 'id=JsBZOcqZerk'

Parameters

NameTypeRequiredDescription
urlurlone ofVideo or Short URL (watch, youtu.be, shorts, live, embed).
idstringone of11-character video id. Also accepted as videoId, video_id.
languagestring2-letter language used for the transcript lookup. Also accepted as lang.
cursorstringOpaque cursor from the previous page; pass it back unchanged. Also accepted as continuationToken, continuation_token, next_max_id, max_id, max_cursor, min_time, after, page_token, pageToken, paginationToken, next_page_id, page.

Every request also accepts trim, raw and max_age_days.

Response

Sample from a recorded response, shortened. Values are examples, not your data.

200 OKSample response
1{2  "ok": true,3  "credits_charged": 1,4  "credits_remaining": 4999,5  "cached": false,6  "cached_at": null,7  "request_id": "req_ae547b4324d3096a10bbc2c4",8  "data": {9    "object": "list",10    "items": [11      {12        "object": "advertiser",13        "platform": "youtube",14        "id": null,15        "name": "Incogni",16        "url": "https://incogni.com/veritasium",17        "page_id": null,18        "country": null,19        "verified": null,20        "ad_count": null,21        "extra": {22          "confidence": 0.96,23          "evidence": [24            "ack the \"unbreakable\" enigma? Sponsored by Incogni - use code veritasium at https://incogni.com/veritasium to",25            "How did Bletchley Park's codebreakers crack the \"unbreakable\" enigma? Sponsored by Incogni - use code veritasium at https://incogni.com/veritasium to get an ..."26          ],27          "inferred": true,28          "promo_codes": [29            "BREAKERS",30            "VERITASIUM"31          ],32          "signals": [33            "description_mentions_sponsor",34            "labelled_link",35            "link_on_sponsor_line"36          ]37        }38      }39    ],40    "cursor": null,41    "has_more": false,42    "parent": {43      "object": "post",44      "platform": "youtube",45      "id": "JsBZOcqZerk",46      "url": "https://www.youtube.com/watch?v=JsBZOcqZerk",47      "type": "video",48      "author": {49        "id": "UCHnyfMqiRRG1u-2MsSQLbXA",50        "handle": "veritasium",51        "name": "Veritasium",52        "url": "https://www.youtube.com/@veritasium",53        "avatar_url": "https://yt3.ggpht.com/7vCbvtCqtjQ3YLgsJt7Y952MQV1sBvhllSCSxHP8_sVZdcPCBrITfhkN2RdyCuwPnsByq-1GoA=s176-c-k-c0x00ffffff-no-rj",54        "verified": true55      },56      "title": "The Insane Real Engineering of the Nazi Enigma Machine",57      "text": "How did Bletchley Park's codebreakers crack the \"unbreakable\" enigma? Sponsored by Incogni - use code veritasium at https://incogni.com/veritasium to get an ...",58      "published_at": "2026-09-21T17:49:57Z",59      "duration_seconds": 2861,60      "language": null,61      "hashtags": null,62      "mentions": null,63      "stats": {64        "views": 21147459,65        "likes": 150094,66        "comments": 7400,67        "shares": null,68        "saves": null,69        "dislikes": null70      },71      "media": {72        "thumbnail_url": "https://i.ytimg.com/vi_webp/JsBZOcqZerk/maxresdefault.webp",73        "video_url": null,74        "audio_url": null,75        "image_urls": null,76        "width": null,77        "height": null78      },79      "song": null,80      "location": null,81      "is_pinned": null,82      "is_sponsored": true,83      "extra": {84        "caption_tracks": [85          {86            "auto_generated": false,87            "language": "en",88            "name": "English",89            "translatable": true90          },91          {92            "auto_generated": true,93            "language": "en",94            "name": "English (auto-generated)",95            "translatable": true96          }97        ],98        "category": "Education",99        "channel_subscribers": 21400000,100        "channel_subscribers_approximate": true,101        "channel_subscribers_text": "21.4M subscribers",102        "chapters": [103          {104            "start_seconds": 0,105            "thumbnail_url": "https://i.ytimg.com/vi/JsBZOcqZerk/hqdefault_24100.jpg?sqp=-oaymwEcCNACELwBSFXyq4qpAw4IARUAAIhCGAFwAcABBg==&rs=AOn4CLA7MBZ6jp4ge_fj7RC_RU_F-pgyTA",106            "title": "Who invented Enigma?"107          },108          {109            "start_seconds": 256,110            "thumbnail_url": "https://i.ytimg.com/vi/JsBZOcqZerk/hqdefault_259900.jpg?sqp=-oaymwEcCNACELwBSFXyq4qpAw4IARUAAIhCGAFwAcABBg==&rs=AOn4CLCV0ZId5UG2cmbSxLQv6abu711WfQ",111            "title": "How did Enigma work?"112          },113          {114            "start_seconds": 651,115            "thumbnail_url": "https://i.ytimg.com/vi/JsBZOcqZerk/hqdefault_651200.jpg?sqp=-oaymwEcCNACELwBSFXyq4qpAw4IARUAAIhCGAFwAcABBg==&rs=AOn4CLC2HKeVcrrrl6pUsUz2JvsezlzoIw",116            "title": "The Secret Spy Mansion"117          }118        ]119      }120    }121  },122  "cursor": null,123  "has_more": false124}

Fields

A page of results. Each entry in items is a Advertiser. cursor and has_more page through the rest.

A field the platform does not give is null, never made up. Extra platform details are in extra.

FieldTypeAlwaysNotes
object"advertiser"
platformPlatformyesthe ad library's platform
idstring or null
namestring or null
urlstring or null
page_idstring or null
countrystring or null
verifiedboolean or null
ad_countinteger or null
extraobject or null

Full field list in the reference for this endpoint and the data models. Errors are listed under Errors.

Questions

Which errors can it return?

invalid_params (do not retry), unsupported_url (do not retry), not_found (do not retry). Account and platform errors from the errors list can also happen. A failure always costs 0 credits.

How do I get more than one page?

Send the same request with cursor set to the cursor you received, until has_more is false. Each page costs its own price. See pagination.

Is there an SDK call for it?

The Python client has client.youtube.video_sponsors(...) and the TypeScript client client.youtube.videoSponsors(). Both return the same envelope as the HTTP API. Install them from PyPI (socialscrape-sdk) or npm (socialscrape); plain HTTP works in any language.

Can an AI agent call it?

Yes. The MCP server, which you run on your own machine, reaches every built endpoint, with the same prices.