API(Shortened Link)

Plain text

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

JSON

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

JSONP

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

API(Expanded Link/Recommended)

JSON

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

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

Plain text

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

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

JSONP

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

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

Simple Request(Expanded Link)

HEAD method request(Recommended)

HEAD /Gehirn HTTP/1.0

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

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

GET method request

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

Empty User Agent

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

Cookie

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

API(Expanded Link/for other service)

Other services

This API is able to expand other shorten url services.

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

https://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.