To get a video's trainability status, use the
videoTrainability.get
method.
You can quickly run the method using curl on the command line:
curl 'https://youtube.googleapis.com/youtube/v3/videoTrainability?id=VIDEO_ID'
For example:
curl 'https://youtube.googleapis.com/youtube/v3/videoTrainability?id=jNQXAC9IVRw'
Check permitted parties
The videoTrainability.get
response
includes a permitted list:
allindicates that anyone can use the video for training.noneindicates that the video is not permitted for training.- If the creator has specified a list of allowed companies, the response includes the list.