Overview
Cutt.ly is a feature-rich URL shortener API that supports creating short links, setting custom aliases, adding expiration dates, and retrieving click statistics. Authentication uses an API key passed as a query parameter, making integration straightforward. It is a solid choice for projects that need both link shortening and basic analytics in one service.
Beginner Tip
Pass your API key as the "key" query parameter in every request with no headers needed. Start with the shorten endpoint to create a short link and then check the stats endpoint to see click data.
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.
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.
{
"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
status Status code: 7 means success, other values indicate specific errors shortLink The generated Cutt.ly short URL fullLink The original long URL that was shortened title The page title fetched from the destination URL clicks Total number of clicks the short link has received Implementation Example
Calls a real endpoint of this API. Replace any placeholder credentials with your own key.
const url = "https://cutt.ly/api/api.php?key=YOUR_API_KEY&short=https://www.example.com/long-url-to-shorten";
// Replace headers or query params with the values required by this API.
const response = await fetch(url, {
headers: {
"X-API-Key": "YOUR_API_KEY"
}
});
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.
Metadata Score Breakdown
Estimated from metadata — endpoint not independently tested
Metadata estimate · endpoint not independently tested
Technical Specifications
Related Tags
Alternatives to Cutt.ly
Technical alternatives for different use cases.
Industry leader with branded links and detailed analytics
Enterprise link management and branded short URLs
Free usage without feature restrictions
No API key needed, completely free
Programmatic shortening without any authentication
Click tracking and link analytics
Similar APIs
View All →Clico
Clico is a URL shortener API that lets you create short links programmatically using an API key for authentication.
Rebrandly
Rebrandly is a premium URL shortener API focused on creating branded short links using your own custom domain.
GoTiny
⭐ Beginner's PickGoTiny is a lightweight, open-source URL shortener API with a focus on simplicity for both developers and end users.
CleanURI
CleanURI provides programmatic access to url shortener service via REST API.
Git.io
⭐ Beginner's PickGit.io is GitHub's own URL shortener service specifically designed for shortening GitHub URLs into compact git.io links.