GoTiny API

⭐ Beginner's Pick Url Shorteners / No Auth Required Beginner HTTPS CORS
Free to Use Varies (check documentation)

Overview

GoTiny is a lightweight, open-source URL shortener API with a focus on simplicity for both developers and end users. It requires no authentication and provides a clean JSON response, making it one of the easiest shorteners to integrate. You can shorten any valid URL with a single POST request and receive a short gotiny.cc link.

💡

Beginner Tip

Send a POST request with a JSON body containing the "input" field set to your long URL and you will get a short gotiny.cc link back. No API key or account is needed: just install and go.

Available Data

shortened URL
original URL
click count
creation date

Example Response

JSON Response
{
  "id": "abc123",
  "short_url": "https://short.ly/abc123",
  "long_url": "https://example.com/very/long/url/path",
  "clicks": 1542,
  "created_at": "2025-01-10T14:30:00Z"
}

Field Reference

code The short code appended to https://gotiny.cc/ to form the full short URL
long The original long URL that was provided for shortening
tiny The complete shortened URL (https://gotiny.cc/ + code)

Implementation Example

const url = "https://github.com/robvanbakel/gotiny-api";
const response = await fetch(url);
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
console.log(data);

What Can You Build?

Note: These code examples are AI-generated and unverified. Always refer to the official API documentation for accurate usage.

Common Errors & Troubleshooting

400 Bad Request The "input" field is missing from the JSON request body
Send a JSON body like {"input": "https://example.com"} with Content-Type: application/json header
Empty code in response The provided URL could not be processed or is invalid
Verify the URL is a valid, accessible HTTP/HTTPS URL before sending it to the API
Network timeout The GoTiny service may be temporarily unavailable
Implement retry logic with a timeout and consider a fallback URL shortener for production use

Matrix Score Breakdown

🌐 Reachability 30/30
⚡ Speed 20/20
🔒 Security 15/15
🛠 Developer XP 20/20
✓ Reliability 7/15
Response Time 52ms

Fully tested on Apr 5, 2026

Technical Specifications

Auth No Auth
HTTPS REQUIRED
CORS YES
Category Url Shorteners
Difficulty Beginner
Verified: 2026-04-04

Similar APIs

View All →