Log In Register
c
After 2020-05-14 all API request will require api_key parameter. Please register to get your key
This function returns biggest thumbnail for a given Youtube video. If you need all thumbnails- check function youtube_info
Requests can be performed using HTTP GET or POST methods. Response is always in JSON format.
parameter value description
required url Video URL
api_key You API key. Register to get your key

request

response

Click POST or GET to see response

possible errors

R7ERR_NOTFOUND Video not found

code samples

Below code samples update automatically when you change parameters above
curl
wget
aria2
php
javascript

curl, method POST


	
	

curl, method GET


wget, method POST


	
	

wget, method GET


aria2, method GET

		

php, method GET



	

php, method GET, using curl


	
	

php, method POST, using curl


javascript, method GET, using XMLHttpRequest

			
			
	

javascript, method GET, using jquery