Rebrandly API

Url Shorteners / API Key Intermediate HTTPS
Varies by plan (check documentation)

Overview

Rebrandly is a premium URL shortener API focused on creating branded short links using your own custom domain. It uses an API key for authentication and provides full link management features including custom aliases, tracking, and team workspaces. Rebrandly is ideal for businesses and developers who want branded, trackable links instead of generic short URLs.

💡

Beginner Tip

Register for a Rebrandly account and get an API key from your dashboard: include it as the "apikey" request header. Start by creating a link with just the destination URL; custom domain and alias are optional.

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

id Unique identifier for the created branded link
shortUrl The full branded short URL including your custom domain
destination The target long URL the short link redirects to
slashtag The custom alias part of the short URL path
clicks Total number of times the short link has been clicked
createdAt ISO 8601 timestamp of when the link was created

Implementation Example

// ⚠️ Note: This URL may be a documentation page. Check official docs for actual API endpoint.
const url = "https://developers.rebrandly.com/v1/docs";
// 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

401 Unauthorized The API key is missing or invalid in the request headers
Add the header "apikey: YOUR_API_KEY" to every request and verify the key in your Rebrandly dashboard
403 Forbidden Your plan does not support the requested feature such as custom domains
Check your Rebrandly plan limits and upgrade if needed, or omit optional fields like custom domain
409 Conflict A link with the same custom alias already exists in your workspace
Choose a different slashtag (alias) or retrieve the existing link using a GET request

Matrix Score Breakdown

🌐 Reachability 30/30
⚡ Speed 15/20
🔒 Security 15/15
🛠 Developer XP 12/20
✓ Reliability 10/15

Partially tested on Apr 5, 2026

Technical Specifications

Auth API Key
HTTPS REQUIRED
CORS UNKNOWN
Category Url Shorteners
Difficulty Intermediate
Verified: 2026-04-07

Similar APIs

View All →