API(Shortened Link)

Plain text

http://ux.nu/api/short?url=http://www.gehirn.co.jp/&format=plain

JSON

http://ux.nu/api/short?url=http://www.gehirn.co.jp/

JSONP

http://ux.nu/api/short?url=http://www.gehirn.co.jp/&callback=func&format=jsonp

API(Expanded Link/Recommended)

JSON

http://ux.nu/api/expand?id=Gehirn

http://ux.nu/api/expand?url=http://ux.nu/Gehirn

Plain text

http://ux.nu/api/expand?format=plain&id=Gehirn

http://ux.nu/api/expand?format=plain&url=http://ux.nu/Gehirn

JSONP

http://ux.nu/api/expand?format=jsonp&callback=func&id=Gehirn

http://ux.nu/api/expand?format=jsonp&callback=func&url=http://ux.nu/Gehirn

Simple Request(Expanded Link)

HEAD method request(Recommended)

HEAD /Gehirn HTTP/1.0

HTTP/1.1 301 Moved
Location: http://www.gehirn.co.jp/
Content-Type: text/html; charset=UTF-8

ex.) curl -I http://ux.nu/Gehirn

GET method request

ex.) curl -i http://ux.nu/Gehirn -r 0-0

Empty User Agent

ex.) curl -i http://ux.nu/Gehirn -A ""

Cookie

ex.) curl -i -H "Cookie: direct=off" http://ux.nu/Gehirn

API(Expanded Link/for other service)

Other services

This API is able to expand other shorten url services.

http://ux.nu/hugeurl?url=http://j.mp/Gehirn

http://ux.nu/hugeurl?url=http://j.mp/Gehirn&format=json

Security

Using Google Safe Browsing API

Before shortening URL and, in addition, all responses, even URL shortened by other shortening service, uses Google Safe Browsing API and confirms the thing that there is not in a distribution site of the malware at the time of a response.