1

Is there a url I can use the search for 'foo' on YouTube, and return JSON with a list of videos?

2

3 Answers 3

7

As their API docs clearly state, just add ?alt=json:

http://gdata.youtube.com/feeds/api/videos?q=foo&alt=json

0
4

The YouTube JSON API Page can help you out.

Some research on the API Page points out that http://gdata.youtube.com/feeds/api/videos?q=foo&alt=json is all you need...

1
  • If you cat get JSON from those urls, please let me know
    – cannyboy
    Oct 12, 2012 at 12:47
3

On latest update:

https://www.googleapis.com/youtube/v3/search?part=snippet&q=SEARCHPARAMATER&maxResults=25&key=key

By using this URL you will be able to give the search parameter and get the desired JSON.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.