Infer a video's sponsors
Experimental. Reads the watch page and, when available, the transcript, reports YouTube's paid-promotion disclosure and infers suspected sponsors from sponsorship phrases, promotional description links, promo codes and transcript mentions. Every suspected sponsor carries its evidence and a confidence; this is inference, not a YouTube field.
/v1/youtube/video/sponsorsx-api-keyHeaders
Get your API keyYour ScrapeAtlas customer key. Create one on /account/ and set SCRAPEATLAS_API_KEY.
YouTube video or Short URL (youtube.com/watch?v=…, youtu.be/…, /shorts/…, /embed/…, /live/…; www, m and music subdomains) or a bare 11-character video ID.
max 2048 chars
https://www.youtube.com/watch?v=Vid0000001aLanguage code used to select the transcript track (default en).
Operation identifier for correlation.
Upstream HTTP attempts, decoded bytes and duration.
Always included.
≥ 0
Always included.
≥ 0
Always included.
≥ 0
True when usable data was returned; inspect status and coverage.
success, partial (coverage.warnings names the omission), failed or challenged.
one of: success, partial
id, url, title, channel {id, url, handle, title, thumbnail} and isPaidPromotion (YouTube's disclosure).
Always included.
Always included.
absolute HTTPS URL
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
Inferred sponsors: name (the brand named in a sponsorship phrase, else the link's domain label), website (domain or null), confidence (high: sponsorship phrase plus link or several signals; medium: one promotional signal; low: transcript mention only) and evidence [{source: paid_promotion_badge | description | description_link | promo_code | transcript, text}]. Creator-owned hosts (YouTube, social networks, link aggregators, stores) are never sponsors.
up to 20 items
Always included.
Always included.
Always included.
one of: high, medium, low
Always included.
up to 20 items
Always included.
one of: paid_promotion_badge, description, description_link, promo_code, transcript
Always included.
status found or not_found, methods applied (paid promotion badge, description, description links, transcript when read), transcriptChecked, transcriptAvailable and a fixed note.
Always included.
one of: found, not_found
Always included.
up to 10 items
Always included.
Always included.
Always included.
Public YouTube URL the operation represents (page or API route).
absolute HTTPS URL
UTC retrieval timestamp.
source is public_page. Warning transcript_unavailable when the transcript could not be read (inference then uses the description only).
Always included.
one of: public_page, public_api
Always included.
Always included.
up to 8 items
No fields match.
HTTP 200 returns the success variant. Check status: partial means usable data with warnings, and failed or challenged requests carry a failure object described in Errors & responses.
| HTTP | failure.code | Meaning |
|---|---|---|
| 400 | invalid_request | Missing, malformed, duplicate or conflicting parameters, unsupported parameters or an unsafe URL. |
| 400 | invalid_continuation | YouTube rejected the supplied continuation token. |
| 401 | unauthorized | Missing or invalid worker API key. |
| 403 | restricted_page | The channel, video, playlist or post is terminated, private, members-only or otherwise unavailable. |
| 403 | age_restricted | The video is age restricted and cannot be read logged out. |
| 404 | not_found | YouTube reports no channel, video, playlist or post for the identifier. |
| 429 | upstream_rate_limited | YouTube rate limited the request; no automatic retry. |
| 502 | upstream_challenged | YouTube rejected or challenged the request. |
| 502 | unsupported_page | The response lacks the embedded data, the data is malformed, or the resolved identity does not match the request. |
| 502 | response_too_large payload_too_complex | The response exceeded byte, depth or node limits. |
| 502 | unsafe_redirect request_limit upstream_error | The bounded request could not complete. |
| 503 | busy | All worker slots are in use. |
| 504 | timeout | The total retrieval deadline expired. |