Home
Softono

Url Shorten Api

Open source Apache-2.0 JavaScript
12
Stars
9
Forks
0
Issues
1
Watchers
5 years
Last Commit

 About Url Shorten Api

Serverless URL Shortener API (Nodejs + MongoDB + Vercel)

Platforms

Web Self-hosted

Languages

JavaScript

Need Help Installing Url Shorten Api?

We provide expert installation service for this software. Our team will install, configure, and secure Url Shorten Api on your server. plans start at just $30.

Url Shorten Api

View on GitHub

Url Shorten API

Watch it on YouTube

API Endpoints

1. Create a Shortned Link (Get):
Request

https://your-app-url.vercel.app/create?u={url}

##Ex.
https://url-shorten-api.vercel.app/create?u=https://thetuhin.com

Response

{
  "status": true,
  "link": "https://url-shorten-api.vercel.app/?i=1603985599nRrMuJ",
  "unique_id": "1603985599nRrMuJ",
  "timestamp": 1603985599
}

2. Get Main URL from Shortened URL (Get):
Request

https://your-app-url.vercel.app/?i={unique-id}

##Ex.
https://url-shorten-api.vercel.app/?i=1603985599nRrMuJ

Response

{
  "status": true,
  "main_link": "https://thetuhin.com",
  "created_at": 1603985599
}

Make Your Own

Deploy with Vercel

Environment Variables

Star this Repo if you Liked it ⭐⭐⭐



My Website & Social


Website .. Instagram .. YouTube .. Telegram