Su.lyprovides a simple REST/json interface for shortening URLS and retrieving basic stats. The official Su.ly API url is: http://su.ly/api/

api/shorten/

Methods
POST, GET
Formats
JSON
Parameters
  • url - The long url to be shortened.
Returns
{ 
	"error" : false,
  	"error_message" : null,
  	"response" : "http://su.ly/vt6x"
}