API · YouTube
GET /youtube/videos/{id}/sponsors
Sponsors of a YouTube video, inferred from the paid-promotion label, description and transcript.
| |
|---|
| Request | GET /v1/youtube/videos/{id}/sponsors |
| Operation id | youtube.video.sponsors |
| Cost | 3 credits, refunded if the call fails |
| Auth | API key: Authorization: Bearer <key> or x-api-key. |
Sponsors of a YouTube video, inferred from the paid-promotion label, description and transcript.
| Name | Type | Required | Description |
|---|
id | string | yes | A video or Short id, or any URL of it (watch, youtu.be, shorts, live, embed). Example: dQw4w9WgXcQ. |
| Name | Type | Required | Description |
|---|
language | string | no | Transcript language to search (default: original). Example: en. |
| Status | Meaning | Schema |
|---|
200 | Suspected sponsors with evidence. | YouTubeVideoSponsors |
400 | Invalid input. Nothing was charged. | Error |
401 | Missing or invalid API key. | Error |
402 | Not enough credits, a spend cap was reached, or payment is required. | Error |
403 | The target is private, or the account is suspended. | Error |
404 | The video, channel, playlist or post does not exist, was removed, or has nothing there. | Error |
429 | Too many requests. Wait for Retry-After seconds. | Error |
503 | YouTube is temporarily unavailable. Retryable; nothing was charged. | Error |
| Field | Type | Description |
|---|
kind | "youtube#videoSponsors" | |
videoId | string | |
title | string | |
channel | YouTubeChannelRef | The channel a video or post belongs to (not a Data API part). |
hasPaidProductPlacement | boolean | YouTube’s “Includes paid promotion” disclosure. |
sponsors | YouTubeSponsor[] | |
transcriptChecked | boolean | |
method | string | How sponsors were found: inferred from the disclosure, sponsor wording and links in the description and transcript. Not an official YouTube field. |
Errors use one shape everywhere; see Errors for every code and what to do.