How to check for which country a youtube video is allowed?
Asked Answered
V

2

9

For some videos, YouTube site would say, Video not available in my country. Is it possible to check using YouTube data APIs or some other way, which country this particular video is allowed ?

Varsity answered 25/4, 2016 at 9:31 Comment(0)
J
3

Check this link. You can use the contentDetails.regionRestriction property of the video.

Example : https://www.googleapis.com/youtube/v3/videos?part=contentDetails&id=tDDAa1If-u4&key={YOUR_API_KEY}

Juniper answered 25/4, 2016 at 13:49 Comment(0)
G
8

This site will provide information about the countries the video is restricted.

https://polsy.org.uk/stuff/ytrestrict.cgi

Gluteus answered 12/12, 2018 at 17:16 Comment(1)
Please do not post link-only answers. Any relevant information from the link should be summarized within your answer.Highlander
J
3

Check this link. You can use the contentDetails.regionRestriction property of the video.

Example : https://www.googleapis.com/youtube/v3/videos?part=contentDetails&id=tDDAa1If-u4&key={YOUR_API_KEY}

Juniper answered 25/4, 2016 at 13:49 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.