Grooveshark

Note: This is probably not what you were looking for...

The Grooveshark official API it is at http://developers.grooveshark.com however it requires a web services key. http://tinysong.com uses the same database as Grooveshark, and does have a public API. Please use that for searching/finding songs and generating flash widgets.