← Back to guides

Developer API

Integrate webb.in URL shortening into your apps with our REST API.

Overview

The webb.in API lets you create, update, delete, and retrieve short links programmatically. Use it to build custom integrations, automate link creation, or embed URL shortening directly in your app.

View full API documentation →

Quick Start

  1. 1

    Get Your API Key

    Log in to your dashboard and navigate to Settings → API Keys. Click Generate Key.

  2. 2

    Make Your First Request

    Use curl or any HTTP client to shorten a URL:

    curl -X POST https://api.webb.in/api/urls \
      -H "Content-Type: application/json" \
      -H "X-Api-Key: YOUR_API_KEY" \
      -d '{
        "url": "https://example.com/very/long/url"
      }'
  3. 3

    Get the Response

    You'll receive a JSON response with the shortened URL:

    {
      "id": "abc123",
      "shortUrl": "https://webb.in/abc123",
      "originalUrl": "https://example.com/very/long/url",
      "createdAt": "2025-01-15T10:30:00Z"
    }

API Endpoints

MethodEndpointDescription
POST/api/urlsCreate a short link
GET/api/urlsList all your links
GET/api/urls/{id}Get link details
PUT/api/urls/{id}Update a link
DELETE/api/urls/{id}Delete a link
GET/api/urls/{id}/statsGet link analytics
POST/api/urls/bulkCreate links in bulk
GET/api/domainsList custom domains

Rate Limits

Free tier10 req/min
Pro tier60 req/min
Business tier200 req/min
EnterpriseCustom limits

Rate limit headers are included in every API response.

Full Documentation

Explore complete endpoint references, code examples in 7 languages, authentication guides, and more.

Visit Developer Portal →