reKnag Documentation Help

Lookup URL

You can lookup the ID of a shortened URL to check what URL it points to. For example, the shortened URL https://reknag.com/6nbys2 has an ID of 6nbys2. The ID is the last randomly generated part of the URL. You can lookup the ID to check where this URL points to, in this case it's example.com.

To make a request to the lookup endpoint simply make an HTTP GET request to the endpoint /lookup/ with the id parameter set to the ID (last part) of the shortened URL to lookup.

The final URL should look like this:

https://api.reknag.com/lookup/?id=[ID_OF_SHORTENED_URL]

Where:

[ID_OF_SHORTENED_URL]

The last part of the short URL. For example, in https://reknag.com/6nbys2 it would be 6nbys2


Note : The ID is always 6 characters long and consists of letters and numbers.

Last modified: 30 March 2024