Find an API

Search public APIs with auth details & Postman guides

← All APIs

is.gd URL Shortener API

is.gd · Developer Tools

Developer Tools No Auth Free & Open URL Shortener Utilities Developer Tools

Simple URL shortening API — shorten any URL and optionally specify a custom short code. Free, no API key required.

Authentication

No authentication requiredFree to use with no key needed.

Sample Requests

GET Shorten a URL

Shorten a URL using is.gd.

https://is.gd/create.php?url=https://findanapi.com/apis/stripe&format=json

Hover any highlighted part to learn what it does

curl -X GET "https://is.gd/create.php?url=https%3A%2F%2Ffindanapi.com%2Fapis%2Fstripe&format=json"
import requests
params = {
    "url": "https://findanapi.com/apis/stripe",
    "format": "json"
}
response = requests.get(
    "https://is.gd/create.php",
    params=params,
)
print(response.json())
const url = new URL('https://is.gd/create.php');
url.searchParams.set('url', 'https://findanapi.com/apis/stripe');
url.searchParams.set('format', 'json');

const response = await fetch(url); 
const data = await response.json();
console.log(data);
package main

import (
	"fmt"
	"io"
	"net/http"
	"net/url"
)

func main() {
	baseURL, _ := url.Parse("https://is.gd/create.php")
	q := baseURL.Query()
	q.Set("url", "https://findanapi.com/apis/stripe")
	q.Set("format", "json")
	baseURL.RawQuery = q.Encode()
	targetURL := baseURL.String()
	req, _ := http.NewRequest("GET", targetURL, nil)

	client := &http.Client{}
	resp, _ := client.Do(req)
	defer resp.Body.Close()
	body, _ := io.ReadAll(resp.Body)
	fmt.Println(string(body))
}
require "net/http"
require "json"

uri = URI("https://is.gd/create.php")
uri.query = URI.encode_www_form({
  "url" => "https://findanapi.com/apis/stripe",
  "format" => "json"
})

http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"

req = Net::HTTP::Get.new(uri)

res = http.request(req)
puts JSON.parse(res.body)
<?php
$url = "https://is.gd/create.php?" . http_build_query([
    "url" => "https://findanapi.com/apis/stripe",
    "format" => "json"
]);
$opts = ["http" => [
    "method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));

Postman Setup Guide

Get Postman ↗
  1. No API key needed
  2. GET https://is.gd/create.php?format=json&url=YOUR_LONG_URL
  3. Response: {"shorturl":"https://is.gd/XXXXX"}
  4. Custom alias: add &shorturl=MY_ALIAS
  5. Returns error if URL already shortened or custom alias taken

Open documentation ↗