SShortly.sbs API

The simplest, fastest, and most reliable free URL shortening API.
No API key • No rate limits • No signup required

100% Free Forever No Authentication Unlimited Requests JSON Response

Quick Start

GET
https://sshortly.sbs/api.php?url=https://example.com/very/long/url

Just append your long URL after ?url= — that's it!

Response Format

{
  "success": true,
  "short_url": "https://sshortly.sbs/abc123xy",
  "long_url": "https://example.com/very/long/url",
  "created_at": "2025-11-30T12:34:56Z"
}

Error example:

{
  "success": false,
  "error": "Invalid URL. Please include http:// or https://"
}

Request Parameters

Parameter Required Description
url Yes Your full long URL (must include http:// or https://)

Code Examples

JavaScript / Node.js

fetch("https://sshortly.sbs/api.php?url=" + encodeURIComponent("https://google.com"))
  .then(r => r.json())
  .then(data => console.log(data.short_url));

Python

import requests
url = requests.get("https://sshortly.sbs/api.php?url=https://github.com").json()
print(url["short_url"])

cURL

curl "https://sshortly.sbs/api.php?url=https://youtube.com/watch?v=dQw4w9WgXcQ"

PHP

$short = file_get_contents("https://sshortly.sbs/api.php?url=https://laravel.com");
echo json_decode($short)->short_url;

HTML (Direct)

<a href="https://sshortly.sbs/api.php?url=https://example.com">Shorten This</a>

Google Sheets

=IMPORTXML("https://sshortly.sbs/api.php?url=https://example.com", "//short_url")

Why Developers Love SShortly.sbs API

No API Key Required

Just call it. No signup. No headers.

100% Uptime SLA

Global CDN + multiple redundant servers

HTTPS Only

All requests and redirects are encrypted

Permanent Links

Links never expire or break

Rate Limits & Fair Use

We do not enforce any hard rate limits. However, please be reasonable:

  • Recommended: ≤ 5 requests/second per IP
  • Bursts up to 100 req/s are fine
  • Abusive traffic will be temporarily blocked

Need higher volume? Email us at api@sshortly.sbs — we’ll whitelist you instantly.