The API can be found at http://tinysong.com/api and is free and open to any developer that wants to start with searching for songs on Grooveshark.
Unlike the official Grooveshark API, TinySong only returns, at most, 32 results for a search. For most users and cases, this is perfect fine and even less are needed. You can only search for songs and not for artists, albums or users.
If you are running into issues with the number of requests that you need to make, please fill out the API Request form and let us know that you are on the TinySong API, your key, and the number of requests you think you need per hour.
You must generate an API Key using your email at the top of the TinySong API page. This key must be sent with each TinySong API request by sending the URL param, key. If you are searching for songs, you can use the format=json url param to request the results in JSON format (note: JSON breaks the /a/ endpoint). Otherwise you just add your query in url-escaped format after the endpoint.
You can either get your results formatted in JSON as a JSON object (for /b/) or JSON array of objects (for /s/). If you do not specify the format, it gets returned in a colon-delimited fashion.
http://tinysong.com/6OAB; 13963; Ask About Me; 77; Girl Talk; 117512; Night Ripper; http://tinysong.com/f9N8; 23549875; Ask About Me [Explicit]; 77; Girl Talk; 117512; Night Ripper;
Searching is extremely easy on the TinySong API. You just need to point your application to the TinySong API and add your url-escaped query to the end of the /b/ or /s/ endpoint.
The result includes a URL to the song. This URL is a link to the song on TinySong but when user's visit, it will redirect to the Grooveshark site.
This endpoint is used to return a single song for a query. The single, best song is returned from Grooveshark's DB for your query. This is the single easiest way to get links for songs on your site. It will return the URL to the song and also return a SongID for use on in Flash Widgets, as well as the name of the song, artist and album.
This endpoint is used to return multiple songs for a single query. It also returns the song URL like /b/ and the SongID and the song, artist and album names as well. The maximum number of results is 32 and you can specify the number of results using the limit url param.