YouTube API Reborn

John Musser, August 30th, 2007

Developers of web mashups using video content now have some more powerful tools at their disposal. As announced this week, the YouTube team have overhauled their entire API. Rather than the older REST/XML-RPC API it’s now a member of the GData family of protocols. Our YouTube API profile has been updated accordingly. This is a good change and will only further fuel interest in this API. (Not that the API has suffered for lack of interest to date given that we have 158 YouTube web mashups listed here. Video is hot.)

Some key details from the announcement:

You’ll be able to do all the things you could with the old API (search through videos, get user information, and list playlists). On top of that, we’ve added more flexibility with filtering, querying, and alternative outputs (e.g. if you want output in JSON). Brand new feeds include video responses, full comments list, and related videos.

Additionally, the Google data client libraries are now at your disposal. The Java client library even has YouTube-specific extensions, and you can check out the Java developer guide for sample code and explanations. More documentation in different languages is on the way.

This new API also fulfills many of the feature requests you’ve been asking for, e.g. you can now filter search results by upload date, view count, and rating as well as relevance. Visit the wiki for a full list of completed requests.

The old API will be supported through this time next year and they’re providing a migration guide to help transition existing applications.

This release is a read-only API but apparently they’re hard at work adding write capabilities including programmatic video upload. Interesting to note that the new version does not require a developer ID.

And in case you missed it, ProgrammableWeb now offers the ability to filter APIs by protocol. So for example you can see just GData-compatible APIs. Which in turn highlights the fact that they’re not all from Google.

Tags: Google, Video
Both comments and pings are currently closed.

5 Responses to “YouTube API Reborn”

September 21st, 2007
at 3:55 pm
Comment by: YouTube API Reborn - Web [ ]

[...] From [...]

September 22nd, 2007
at 2:06 am
Comment by: Fred

You forgot in your list VideoBloom, the best online video site to help businesses create and distribute online video. VideoBloom offers online video APIs for developers and integrators.

September 23rd, 2007
at 3:48 pm
Comment by: John Musser

Thanks for the tip Fred, we’ll get it listed.

June 13th, 2008
at 1:37 am
Comment by: links for 2008-06-13 « My place

[...] YouTube API Reborn Developers of web mashups using video content now have some more powerful tools at their disposal.As announced this week,the YouTube team have overhauled their entire API.Rather than the REST/XML-RPC API it’s now a member of the GData family of protocol (tags: youtube programming development api gdata) [...]

December 3rd, 2008
at 11:07 pm
Comment by: Cynthia Joffrion

I have used VideoBloom. It works well.

Follow the PW team on Twitter

APIs, mashups and code. Because the world's your programmable oyster.

John Musser
Founder, ProgrammableWeb

Adam DuVander
Executive Editor, ProgrammableWeb. Author, Map Scripting 101. Lover, APIs.