API

SNURL provides a very basic API (Application Programming Interface) which can be used in order for other applications (like tweetdeck) to harness our URL shortening service. This works by accessing a particular URL on the SNURL.eu site which accepts the long URL you would like shortened as a parameter. The shortened URL (or various error conditions as appropriate) will then be returned in the HTTP response.

Simply have your application access a URL similar to the following, via an HTTP GET request:

http://snurl.eu/api.php?longurl=www.yourlongurl.com

or

http://snurl.eu/api-create.php?url=www.yourlongurl.com

The "http://www.yourlongurl.com" parameter in the example above may be replaced by whatever URL you wish to shorten.

The outcome is a new short SNURL url.

Terms

Application authors should note that users of the SNURL.eu API are expected to comply with the same terms of use as users of the website.