Linkyy has a really simple API. For convenience of implementation, it works the same way as the TinyURL API. The API, like the Web interface, is limited to 5 calls per 60 seconds.
Simply send an HTTP GET request of the following form:
IMPORTANT: The url query string must use percent encoding (aka URL encoding) – otherwise, you will have issues.
The response will be in the text/plain MIME type. If successful, this will be a shortened URL. If it didn't work, you'll get the simple string "Error" (still an HTTP 200 response).