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

The kind of data this API exposes, based on its documentation. We could not call the endpoint to confirm the exact field names.

shortened URL
original URL
click count
creation date

Example Response

Illustrative shape only — we were not able to call this endpoint (it requires credentials or exposes no public sample URL), so the fields below show the kind of data this API returns rather than a recorded response.

JSON Response · Illustrative
{
  "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

Calls a real endpoint of this API. Replace any placeholder credentials with your own key.

Request
const url = "https://gotiny.cc/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

Generated guidance based on this API's documentation, not observed by us. Treat it as a starting point and check against the provider's own error reference.

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
Listing details not endpoint-verified

Related Tags

Similar APIs

View All →