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

Request
// ⚠️ 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

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 API Key
HTTPS REQUIRED
CORS UNKNOWN
Category Url Shorteners
Difficulty Intermediate
Verified: 2026-04-07

Related Tags

Similar APIs

View All →