Drag this link to your bookmark bar to quickly create a short URL from any page: PND.to
Create URL
Bookmarklet
API Reference (for client/developer use)
SHORTENING A URL:
-------------------------------
Default format is JSON:
http://pnd.to/shurly/api/shorten?longUrl=http://www.example.com
Text format returns just the short URL:
http://pnd.to/shurly/api/shorten?longUrl=http://www.example.com&format=txt
XML format:
http://pnd.to/shurly/api/shorten?longUrl=http://www.example.com&format=xml
PHP serialized array:
http://pnd.to/shurly/api/shorten?longUrl=http://www.example.com&format=php
JSONP takes (optional) additional "callback" argument to define function:
http://pnd.to/shurly/api/shorten?longUrl=http://www.example.com&format=jsonp&callback=gimmeUrl
EXPANDING A URL:
-------------------------------
Works just as above, but returns expanded URL. All formats above are supported.
http://pnd.to/shurly/api/expand?shortUrl=http://pnd.to/ZkZ
-------------------------------
Default format is JSON:
http://pnd.to/shurly/api/shorten?longUrl=http://www.example.com
Text format returns just the short URL:
http://pnd.to/shurly/api/shorten?longUrl=http://www.example.com&format=txt
XML format:
http://pnd.to/shurly/api/shorten?longUrl=http://www.example.com&format=xml
PHP serialized array:
http://pnd.to/shurly/api/shorten?longUrl=http://www.example.com&format=php
JSONP takes (optional) additional "callback" argument to define function:
http://pnd.to/shurly/api/shorten?longUrl=http://www.example.com&format=jsonp&callback=gimmeUrl
EXPANDING A URL:
-------------------------------
Works just as above, but returns expanded URL. All formats above are supported.
http://pnd.to/shurly/api/expand?shortUrl=http://pnd.to/ZkZ
