how to get youtube thumbnail and information using url


how to Get YouTube video Data in JSON format?
How do I get the title of a youtube video if I have the Video Id?


we can get json out of any video with the help of any youtube video url with the below magical url link.{you video url goes here}

Example PHP Code

$data = file_get_contents("
 $json = json_decode($data);

thanks for watching Subscribe us for more videos!


How to Get Youtube Video Thumbnail and Other Information like Title,channel name and url and thumbnail in json output.
we can use it any programing language.we will also see the demo for php language
and see the sample code out in form of var_dump output.