Dub.co

api.dub.co

Community

Open-source link management platform. Shorten URLs, track analytics, manage custom domains, create QR codes, and run A/B tests on short links.

[catalog]Catalog only — enable via gateway with your own API key

Enable this service

This service is in the catalog but not part of v1 launch billing. To use it, run the command below and provide your own API key in the local config page — the gateway will call it under your account.

Auth

api_key

Pricing

free

Spec version

1.0

Base URL

https://api.dub.co

Last crawled

May 4, 2026

Health

This is a community-maintained manifest. Health monitoring is not available because this service doesn't host its own /.well-known/agent endpoint yet. Learn more about trust levels →

Top Capabilities

Most commonly used operations — ready to call without drill-down.

domains_list

GET

Retrieve a list of all custom domains in the workspace.

GET https://api.dub.co/domains

archived (boolean) Filter by archived status.

search (string) Search domains by slug.

page (number) Page number.

pageSize (number) Items per page.

events_list

GET

Retrieve a list of click, lead, or sale events with detailed filtering by link, geography, device, and UTM parameters.

GET https://api.dub.co/events

event (string) Event type: clicks, leads, or sales.

domain (string) Filter by domain.

linkId (string) Filter by link ID.

interval (string) Time interval: 24h, 7d, 30d, 90d, 1y, all.

country (string) Filter by 2-letter country code.

...and 3 more parameters

links_list

GET

Retrieve a paginated list of short links with optional filtering by domain, tags, folder, and search.

GET https://api.dub.co/links

domain (string) Filter links by domain.

tagIds (string) Filter by tag IDs (comma-separated).

search (string) Search against slug and destination URL.

showArchived (boolean) Include archived links.

sortBy (string) Sort field: createdAt, clicks, saleAmount, lastClicked.

...and 3 more parameters

All Capabilities (15)

analytics (1)

GETanalytics_retrieve

Retrieve analytics data for links including clicks, leads, and sales with flexible grouping by time, geography, device, or referrer.

domains (4)

POSTdomains_create

Add a custom domain to the workspace for use with short links.

DELETEdomains_delete

Remove a custom domain from the workspace.

GETdomains_list

Retrieve a list of all custom domains in the workspace.

PATCHdomains_update

Update a custom domain's settings including redirect URLs and archive status.

events (1)

GETevents_list

Retrieve a list of click, lead, or sale events with detailed filtering by link, geography, device, and UTM parameters.

links (5)

POSTlinks_create

Create a new short link with optional custom domain, tags, geo-targeting, UTM parameters, and A/B testing.

DELETElinks_delete

Delete an existing short link by its link ID or external ID.

GETlinks_get

Retrieve information about a specific short link by link ID, external ID, or domain+key combination.

GETlinks_list

Retrieve a paginated list of short links with optional filtering by domain, tags, folder, and search.

PATCHlinks_update

Update an existing short link's destination URL, tags, expiration, geo-targeting, or other properties.

tags (4)

POSTtags_create

Create a new tag for organizing short links.

DELETEtags_delete

Delete an existing tag from the workspace.

GETtags_list

Retrieve a list of all tags in the workspace with optional search and pagination.

PATCHtags_update

Update an existing tag's name or color.

Agent Preview

This is what an AI agent sees when it discovers this service via the Gateway:

Service: Dub.co
Description: Open-source link management platform. Shorten URLs, track analytics, manage custom domains, create QR codes, and run A/B tests on short links.
Auth: api_key
Capabilities (15 total):
  analytics (1):
    - analytics_retrieve: Retrieve analytics data for links including clicks, leads, and sales with flexible grouping by time, geography, device, or referrer.
  domains (4):
    - domains_create: Add a custom domain to the workspace for use with short links.
    - domains_delete: Remove a custom domain from the workspace.
    - domains_list: Retrieve a list of all custom domains in the workspace.
    - domains_update: Update a custom domain's settings including redirect URLs and archive status.
  events (1):
    - events_list: Retrieve a list of click, lead, or sale events with detailed filtering by link, geography, device, and UTM parameters.
  links (5):
    - links_create: Create a new short link with optional custom domain, tags, geo-targeting, UTM parameters, and A/B testing.
    - links_delete: Delete an existing short link by its link ID or external ID.
    - links_get: Retrieve information about a specific short link by link ID, external ID, or domain+key combination.
    - links_list: Retrieve a paginated list of short links with optional filtering by domain, tags, folder, and search.
    - links_update: Update an existing short link's destination URL, tags, expiration, geo-targeting, or other properties.
  tags (4):
    - tags_create: Create a new tag for organizing short links.
    - tags_delete: Delete an existing tag from the workspace.
    - tags_list: Retrieve a list of all tags in the workspace with optional search and pagination.
    - tags_update: Update an existing tag's name or color.

Top capabilities (ready to call):
  - domains_list: GET /domains
  - events_list: GET /events
  - links_list: GET /links