Note:
The Random URL field will contain alpha-numeric characters.
With the help of Lnkiy, you can convert your long URL into the short links that make it shareable, manageable and trackable. When sharing URL online, we need to keep in mind the length limitations of social media platform.
For Example: Social media sites, messaging and etc. have a character limit so you have to be concise and relevant when posting a tweet.
For your better reach of the customer and the market, now we also provide REST API that can be include on multiple platforms like Android, IOS, and web.
We provide two different types of short Link
Under this, some random alpha-numeric character will be added after the base URL.
Long URL: http://www.lorezone.com/casio-g-shock-gmw-b5000v-aged-ip-full-metal-watch-hands/ Short URL: http://lnki.nl/JtK8mRQ
To create short URL follow this link http://www.lnkiy.com/
The Random URL field will contain alpha-numeric characters.
We also provide API, that can be integrated in your website or application
Before integrating API in your project, you will have to get your API key from Lnkiy Dashboard.
Request: http://api.lnkiy.com/url/shortener/createrandomurl
Headers: Accept: application/json
Content-Type: application/json
Parameters | Description | Required |
---|---|---|
longUrl | This is the URL for which you want to create the short link | Yes |
urlType | This tells the type of the URL, it should be Random | Optional |
urlTitle | This helps to give the title. | Optional |
authKey | This is the unique auth key | Yes |
expiryDate | This parameter is used to give an expiry date to the URL | Optional |
{
"longUrl":"http://developer.arraycode.com/",
"urlType": "Random",
"urlTitle":"Your Link Title",
"authKey":"3TFXXXXXXXXXXXXXXXXXXXXXXXXXXXXns"
"expiryDate": "24-09-2024 03:26:30"
}
{
"responseCode": "200",
"responseStatus": "SUCCESS",
"responseMessage": "Short link successfully created",
"result": {
"createdOn": "24-09-2019 03:26:30",
"lastModifiedOn": "24-09-2019 03:26:30",
"status": "Active",
"longUrl": "http://developer.arraycode.com/",
"shortUrl": "lnki.nl/kgBw628",
"urlType": "Random",
"urlTitle": "Your Link Title",
"expiryDate": "24-09-2024 03:26:30"
}
}
Example: If short url is "http://lnki.nl/njgurqj" (lower case), and "http://lnki.nl/NjGUrqj" (upper case) they both will redirect to different site.
It helps you to create your own custom link. You can add your own keywords or title at the end of base URL. It also helps in SEO. Also by seeing the URL at one glance user will understand what that is all about.
Long URL: http://www.lorezone.com/casio-g-shock-gmw-b5000v-aged-ip-full-metal-watch-hands/ Custom Short URL: http://lnki.nl/casio_watch
To create custom URL follow this link http://www.lnkiy.com/create-custom-url
The Custom URL field may only contain alpha-numeric characters, underscores, and dashes. Your custom short URL should contain 8 or more characters
We also provide API, that can be integrated in your website or application
Before integrating API in your project, you will have to get your API key from Lnkiy Dashboard.
Request: http://api.lnkiy.com/url/shortener/createcustomurl
Headers: Accept: application/json
Content-Type: application/json
Parameters | Description | Required |
---|---|---|
longUrl | This is the URL for which you want to create the short link | Yes |
shortUrl | This is the keyword or title which will be added after the base URL | Yes |
urlType | This tells the type of the URL, it should be Custom | Optional |
urlTitle | This helps to give the title. | Optional |
authKey | This is the unique auth key | Yes |
expiryDate | This parameter is used to give an expiry date to the URL | Optional |
{
"longUrl":"http://developer.arraycode.com",
"urlTitle":"Your Link Title",
"urlType":"Custom",
"shortUrl":"Your Short Link",
"authKey":"3TFXXXXXXXXXXXXXXXXXXXXXXXXXXXXns"
}
{
"responseCode": "200",
"responseStatus": "SUCCESS",
"responseMessage": "Short link successfully created",
"result": {
"createdOn": "24-09-2019 03:31:21",
"lastModifiedOn": "24-09-2019 03:31:21",
"status": "Active",
"longUrl": "http://developer.arraycode.com",
"shortUrl": "http://lnki.nl/YourShortLink",
"urlType": "Custom",
"urlTitle": "Your Link Title",
"expiryDate": "24-09-2024 03:31:21"
}
}
Whenever a requested resource is not available or an API call fails for following reason, a JSON error is returned. Errors always come with an responseCode and a responseMessage.
Example Error: The following error is returned if your monthly API request volume has been exceeded.
{
"responseCode": "429",
"responseStatus": "WARNING",
"responseMessage": "Your API limit exceeded",
"result": null
}
Response Code | Response Status | Description |
---|---|---|
199 | WARNING | Please provide longUrl parameter with valid url |
401 | WARNING | When your auth key is invalid |
429 | WARNING | The maximum allowed amount of API requests has been reached. |
500 | ERROR | Something went wrong, Please try again |