Dub.co
api.dub.co
Open-source link management platform. Shorten URLs, track analytics, manage custom domains, create QR codes, and run A/B tests on short links.
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.
api_key
free
1.0
https://api.dub.co
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
GETRetrieve 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
GETRetrieve 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
GETRetrieve 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)
Retrieve analytics data for links including clicks, leads, and sales with flexible grouping by time, geography, device, or referrer.
domains (4)
Add a custom domain to the workspace for use with short links.
Remove a custom domain from the workspace.
Retrieve a list of all custom domains in the workspace.
Update a custom domain's settings including redirect URLs and archive status.
events (1)
Retrieve a list of click, lead, or sale events with detailed filtering by link, geography, device, and UTM parameters.
links (5)
Create a new short link with optional custom domain, tags, geo-targeting, UTM parameters, and A/B testing.
Delete an existing short link by its link ID or external ID.
Retrieve information about a specific short link by link ID, external ID, or domain+key combination.
Retrieve a paginated list of short links with optional filtering by domain, tags, folder, and search.
Update an existing short link's destination URL, tags, expiration, geo-targeting, or other properties.
tags (4)
Create a new tag for organizing short links.
Delete an existing tag from the workspace.
Retrieve a list of all tags in the workspace with optional search and pagination.
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