new del.icio.us badge & API

Wednesday, December 20th, 2006

Niall Kennedy writes about a new del.icio.us API allowing to query the top tags & number of bookmarks of any given URL. while the API hasn’t been released officially yet, Yahoo! developer network already features a screencast introducing some of its capabilities. currently, the API seems to consist of a single URL which returns data in JSON-format when queried with the md5′ed hash of the requested URL. f.e., a check for del.icio.us metadata of play.fm returns the following result-set:

[{
"hash":"f636b74442302d5a3e1c7d646f530df0",
"top_tags":
{"mp3":6,
"house":6,
"techno":14,
"archive":4,
"stream":9,
"radio":36,
"streaming":6,
"audio":13,
"music":45,
"electronic":12,
"webradio":13},
"url":"http://www.play.fm/",
"total_posts":71
}]

go to JoostdeValk.nl for some simple php wrapper-code, or subscribe to the official del.icio.us-blog to stay updated on the matter.

update: del.icio.us now also offers a widget exposing the same data for easy integration.