URL / Links Free Tier Available

URLShortener

Create short links with detailed click analytics. Track geographic distribution, referrers, and devices.

Free tier: 1,000 links/month Method: POST

Quick Start

Get started with URLShortener in 3 steps:

  1. 1. Get your free API key (instant, no credit card)
  2. 2. Activate your key to unlock all endpoints
  3. 3. Make your first request using the examples below

Endpoint

POST https://freeapitools.dev/api/v1/shorten

Parameters

Name Type Required Description
url string Required Long URL to shorten
custom_slug string Optional Custom short code
api_key string Required Your API key. Get one free →

Code Examples

cURL

curl -X POST https://freeapitools.dev/api/v1/shorten \
  -H "Content-Type: application/json" \
  -d '{"url":"example"}'

Node.js / JavaScript

const response = await fetch('https://freeapitools.dev/api/v1/shorten', {
  method: 'POST',
  headers: {
    'Content-Type': 'application/json',
    'X-API-Key': 'YOUR_API_KEY'
  },
  body: JSON.stringify({"url":"example"})
});
const data = await response.json();
console.log(data);

Python

import requests

response = requests.post(
    'https://freeapitools.dev/api/v1/shorten',
    json={"url":"example"},
    headers={'X-API-Key': 'YOUR_API_KEY'}
)
print(response.json())

Example Response

{
  "short_url": "https://fapi.link/abc123",
  "clicks": 0
}

Rate Limits

Plan Limit Price
Free 1,000 links/month $0 / month
Enhanced (10x) 10x free tier limits $0 / monthcomplete compatibility check
Unlimited No limits $0 / monthsend environment profile

Start Using URLShortener for Free

Get your API key instantly. No credit card, no signup form — just a simple API call.

Get Free API Key →