Simple, Fast, and Reliable URL Shortening

A powerful API to create and track short links. Free, open-source, and ready for your next project.

📊

Click Analytics

Track every click with detailed analytics and insights for your short links.

🔧

Developer Friendly

Simple REST API with clear documentation and easy integration.

🆓

Free & Open Source

Completely free to use with open-source code available on GitHub.

Track Your Link's Performance

0

Total Clicks

Easy-to-Integrate API

POST /generateshorturl

Generate Short URL

Request Body:

{
  "longUrl": "https://example.com/very-long-url"
}

Response:

{
  "longUrl": "https://example.com/very-long-url",
  "shortUrl": "https://landing-in.onrender.com/1a2b3c4d"
}

cURL Command:

curl -X POST https://landing-in.onrender.com/generateshorturl \
  -H "Content-Type: application/json" \
  -d '{"longUrl": "https://example.com/very-long-url"}'
GET /count/:shortId

Get Click Count

Response:

{
  "shortId": "1a2b3c4d",
  "clicks": 42
}

cURL Command:

curl https://landing-in.onrender.com/count/1a2b3c4d
POST /generateshorturl

Generate Short URL

const response = await fetch('https://landing-in.onrender.com/generateshorturl', {
  method: 'POST',
  headers: {
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    longUrl: 'https://example.com/very-long-url'
  })
});

const data = await response.json();
console.log(data.shortUrl);
GET /count/:shortId

Get Click Count

const response = await fetch('https://landing-in.onrender.com/count/1a2b3c4d');
const data = await response.json();
console.log(`Click count: ${data.clicks}`);
POST /generateshorturl

Generate Short URL

import requests
import json

url = "https://landing-in.onrender.com/generateshorturl"
payload = {"longUrl": "https://example.com/very-long-url"}
headers = {"Content-Type": "application/json"}

response = requests.post(url, data=json.dumps(payload), headers=headers)
result = response.json()
print(result["shortUrl"])
GET /count/:shortId

Get Click Count

import requests

response = requests.get("https://landing-in.onrender.com/count/1a2b3c4d")
data = response.json()
print(f"Click count: {data['clicks']}")