Given a YouTube video id, what is the fastest way to check if this video is real or not?

When a user submits a video ID, I need to know if this ID is really a YouTube video.

Is there a simple REST api endpoint I can get in with?

+4
source share
1 answer

The YouTube API has a method to retrieve video information. It will return an error if the video does not exist.

+6
source

Source: https://habr.com/ru/post/1391203/


All Articles