Unshort URL

Unshorten or Shorten a URL with the API

get
Get Long URL

https://nyxbot.xyz/api/v1/url
Use a GET request to unshorten a URL.
Request
Response
Request
Path Parameters
/unshorten/:URL
required
string
Unshortens any URL with redirect(s).
Response
200: OK
Returns an (un)shorted URL.
{ "request": "{Original URL}", "result": "{Unshortened URL}" }

By default, web browsers do NOT send "#" and "?" inputs.

To ensure the API picks up these symbols, please make sure your input replaces:

"#" with "(=!hash)"

"?" with "(=!quest)."

On Invalid URLs:

If a URL provided is invalid, "result" will return "Invalid URL!"