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

Request
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

Metadata Score Breakdown

Estimated from metadata — endpoint not independently tested

This score is estimated from observable metadata — HTTPS support, authentication model, declared CORS, and documentation reachability — because the API requires authentication or exposes no publicly testable endpoint. The five-signal breakdown is only shown for live-tested APIs.

Metadata estimate · endpoint not independently tested

Technical Specifications

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

Related Tags

Similar APIs

View All →