YouTube API: Check if Someone Else's Video is Monetized or Not

There is a website called: TubeSift

This tool determines whether a video is "monetized" or not.

My simple question is...

Is there a way to determine if a specific YouTube video is monetized (can show in-stream ads) via some YouTube API?

If yes, which YouTube API?

If no, how then might TubeSift be determining this? Scraping the response?

Important distinction: this would be a video that you DON'T have authentication or credentials to manage - ie: it's someone else's video.

Similar questions asking slightly different things

DisclaimerI realize this question seems off-topic because it doesn't have a code example but YouTube's How to Get Help says to basically ask questions here on StackOverflow for help.

We support the YouTube Data API on Stack Overflow. Google engineers monitor and answer questions with the youtube-api, youtube-data-api, and youtube-v3-api tags.

There's really nowhere else to ask.

4

2 Answers

Youtube provides API to YouTube content partners. I also checked the tubetarget and used scraping also but scraping is very slow as compared to the tubetarget

See this page to get enrolled.

According to youtube: When using delegation in the YouTube Data API, the onBehalfOfContentOwner parameter is always required. The parameter's value is an ID that uniquely identifies the content owner. You can retrieve the ID programmatically by calling the YouTube Content ID API's contentOwners.list method.Detailed description here

YouTube Partner Program overview, application checklist, & FAQs

Also, check this

YouTube Partner Program policiesPlease let me know if you are able to get Content Id API

2

In my opinion, i think if the video is greater than 10 minutes, therefore that video is being monetized, i read somewhere before that a video needs to have at least 10 minutes in order to be monetized, and obviously we can get the video duration via the API.

The json key is:

+"contentDetails": {#213 ▼ +"duration": "PT4M21S"

The time is formatted as an ISO 8601 string. PT stands for Time Duration, 4M is 4 minutes, and 13S is 13 seconds.

But the way Tubesift does it is just an intelligent guess or maybe some randomizing the "monetized" tagged of a video.

Hope that helps.

0

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like