Dub website screenshot

Dub

Dub is an open-source link attribution platform for creating short links, QR codes, and managing affiliate programs. It provides a REST API that allows developers to programmatically create and manage links, track conversion events (clicks, leads, and sales), retrieve analytics, and manage workspaces and custom domains. Dub powers over 100 million clicks and 2 million links monthly for marketing teams at companies like Vercel, Perplexity, Twilio, and Framer. The platform offers native SDKs in TypeScript, Python, Go, Ruby, and PHP, along with mobile SDKs for iOS and React Native.

Dub publishes 15 APIs on the APIs.io network, including Analytics API, Bounties API, Commissions API, and 12 more. Tagged areas include Link Management, URL Shortener, Analytics, Conversion Tracking, and Affiliate Programs.

The Dub catalog on APIs.io includes 1 JSON-LD context and 1 Spectral governance ruleset.

Dub’s developer surface includes authentication, documentation, API reference, engineering blog, changelog, pricing, and 21 more developer resources.

60.9/100 strong ▬ flat Agent 29/100 agent ready saas Full breakdown ↓
scored 2026-09-08 · rubric v0.20.0
AccessFreemiumSelf serve⚡ Free to try
1 APIs
Link ManagementURL ShortenerAnalyticsConversion TrackingAffiliate ProgramsOpen-Source

Kin Score

Kin Score Kin Score How this is scored →
scored 2026-09-08 · rubric v0.20.0
Create-or-Update Ergonomics applies to this provider. This API accepts writes, so it carries 10 points of the composite. It is scored from the published contracts themselves: whether a caller can create-or-update in one call, whether the write accepts a key the caller already holds, and whether the response says which branch ran. Without that, every write needs a search-and-branch in front of it, and the first time that check is skipped a duplicate record is created. Scored against the observed mean rather than raw — a provider at the catalog average is unchanged by this facet, not penalised by it.
Improve this rating by publishing the missing artifacts — every area above can be raised, and the full rubric is at apis.io/rating/. Every facet and dimension name above is a link: it opens that measurement's own page — what it means, the exact checks that feed it, how the whole catalog distributes on it, and the providers at the top of it. This rating is computed from github.com/api-evangelist/dub: open an issue to ask a question, or submit a pull request to add artifacts. Submit an artifact on GitHub — free → Manage your own listing — the Influence plan, $499/mo →

APIs 18

Individual APIs this provider publishes, each with its own machine-readable definition.

Dub Analytics API

Retrieve analytics and event data for links and workspaces including click counts, conversion events (leads and sales), geographic breakdowns, device information, and referrer t...

Dub Partners API

Create and manage affiliate partners, partner groups, and partner tags. Supports payout management and advanced reward structures including geo-specific, product-specific, and p...

Dub Domains API

List and manage custom domains associated with a Dub workspace, including SSL certificate provisioning and free .link domain support.

Dub Analytics API

The Analytics API from Dub — 1 operation(s) for analytics.

Dub Bounties API

The Bounties API from Dub — 3 operation(s) for bounties.

Dub Commissions API

The Commissions API from Dub — 3 operation(s) for commissions.

Dub Customers API

The Customers API from Dub — 2 operation(s) for customers.

Dub Domains API

The Domains API from Dub — 4 operation(s) for domains.

Dub Embed Tokens API

The Embed Tokens API from Dub — 1 operation(s) for embed tokens.

Dub Events API

The Events API from Dub — 1 operation(s) for events.

Dub Folders API

The Folders API from Dub — 2 operation(s) for folders.

Dub Links API

The Links API from Dub — 6 operation(s) for links.

Dub Partner Applications API

The Partner Applications API from Dub — 3 operation(s) for partner applications.

Dub Partners API

The Partners API from Dub — 6 operation(s) for partners.

Dub Payouts API

The Payouts API from Dub — 1 operation(s) for payouts.

Dub QR Codes API

The QR Codes API from Dub — 1 operation(s) for qr codes.

Dub Tags API

The Tags API from Dub — 2 operation(s) for tags.

Dub Track API

The Track API from Dub — 3 operation(s) for track.

Scroll for all 18

Postman Collections 15

Ready-to-run Postman collections for exercising this provider's APIs.

Scroll for all 15

Open Collections 16

Open, tool-agnostic API collections (OpenAPI-derived and Bruno).

API Collection

OPEN COLLECTION

Dub Analytics API

OPEN COLLECTION

Dub Analytics Domains API

OPEN COLLECTION

Dub Analytics Events API

OPEN COLLECTION

Dub Analytics Folders API

OPEN COLLECTION

Dub Analytics Links API

OPEN COLLECTION

Dub Analytics Payouts API

OPEN COLLECTION

Dub Analytics Tags API

OPEN COLLECTION

Dub Analytics Track API

OPEN COLLECTION

Scroll for all 16

Pricing Plans 1

Published pricing tiers and plan structures.

Dub Plans Pricing

5 plans

PLANS

Rate Limits 1

Documented rate limits and quota policies.

Dub Rate Limits

8 limits

RATE LIMITS

FinOps 1

Cost, billing, and metering signals for API financial operations.

Dub Finops

FINOPS

Semantic Vocabularies 1

JSON-LD contexts and semantic vocabularies used across these APIs.

Dub Context

45 classes · 23 properties

JSON-LD

Spectral Rules 1

Spectral governance rulesets for linting and validating these APIs.

Dub API Rules

5 rules · 3 warnings 2 info

SPECTRAL

JSON Schema 5

Standalone JSON Schema definitions for this provider's data models.

AnalyticsCount

4 properties

JSON SCHEMA

AnalyticsTimeseries

5 properties

JSON SCHEMA

DomainSchema

14 properties

JSON SCHEMA

FolderSchema

7 properties

JSON SCHEMA

Link

51 properties

JSON SCHEMA

Examples 4

Example request and response payloads for these APIs.

Dub Create Link Example

16 fields

EXAMPLE

Dub Link Response Example

41 fields

EXAMPLE

Dub Track Sale Example

7 fields

EXAMPLE

Security Posture 4

Authentication, domain security, vulnerability disclosure, and trust-center signals.

Dub Authentication

http · 1 scheme

SECURITY

Dub Domain Security

TLSv1.3 · HSTS · DMARC

SECURITY

Dub Vulnerability Disclosure

security.txt · contact published

SECURITY

Dub Trust Center

SOC 2, ISO 27001, PCI DSS, HIPAA, GDPR

SECURITY

Agentic Access 1

Recommended x-agentic-access execution contracts for AI agents.

Dub Agentic Access

54 operations · 35 acting

54 operations · 35 acting

AGENTIC

Resources

Documentation 3

Reference material describing how the API behaves

Agent Surfaces 1

MCP servers, agent skills, and machine-readable catalogs

Design & Contract 2

Pagination, idempotency, versioning, errors, and events

Build 7

SDKs, sample code, and the tooling you integrate with

Scroll for all 7

Access & Security 4

Authentication, authorization, and security posture

Operate 3

Status, limits, changes, and where to get help

Commercial 3

Pricing, plans, and the legal terms of use

Company 3

The organization behind the API

Other 1

Properties that don't map to a standard resource type

Source (apis.yml)

apis.yml Raw ↑
aid: dub
name: Dub
description: Dub is an open-source link attribution platform for creating short links, QR codes, and managing affiliate programs.
  It provides a REST API that allows developers to programmatically create and manage links, track conversion events (clicks,
  leads, and sales), retrieve analytics, and manage workspaces and custom domains. Dub powers over 100 million clicks and
  2 million links monthly for marketing teams at companies like Vercel, Perplexity, Twilio, and Framer. The platform offers
  native SDKs in TypeScript, Python, Go, Ruby, and PHP, along with mobile SDKs for iOS and React Native.
type: Index
deliveryModel:
  model: saas
  open_source: false
  commercial: true
  callable_host: true
  label: Hosted service · you call their endpoint
  confidence: high
  source:
  - openapi
  - pricing
  generated: '2026-08-28'
  method: derived
accessModel:
  pricing: freemium
  onboarding: self-serve
  trial: false
  try_now: true
  public: false
  label: Freemium · Self-serve signup
  confidence: high
  source:
  - plans
  - authentication
  generated: '2026-07-22'
  method: derived
image: https://kinlane-images.s3.amazonaws.com/shared/apis-json/icons/dub.png
tags:
- Link Management
- URL Shortener
- Analytics
- Conversion Tracking
- Affiliate Programs
- Open-Source
tags_raw:
- Link Management
- URL Shortener
- Analytics
- Conversion Tracking
- Affiliate Programs
- Open Source
url: https://raw.githubusercontent.com/api-evangelist/dub/refs/heads/main/apis.yml
created: '2026-06-12'
modified: '2026-06-12'
specificationVersion: '0.23'
apis:
- aid: dub:analytics
  name: Dub Analytics API
  description: Retrieve analytics and event data for links and workspaces including click counts, conversion events (leads
    and sales), geographic breakdowns, device information, and referrer tracking.
  humanURL: https://dub.co/docs/api-reference/introduction
  baseURL: https://api.dub.co
  tags:
  - Analytics
  - Event
  - Conversion Tracking
  tags_raw:
  - Analytics
  - Events
  - Conversion Tracking
  properties:
  - type: Documentation
    url: https://dub.co/docs/api-reference/introduction
  - type: JSONSchema
    url: json-schema/dub-analyticscount-schema.json
  - type: JSONSchema
    url: json-schema/dub-analyticstimeseries-schema.json
  - type: Examples
    url: examples/dub-analytics-response-example.json
- aid: dub:partners
  name: Dub Partners API
  description: Create and manage affiliate partners, partner groups, and partner tags. Supports payout management and advanced
    reward structures including geo-specific, product-specific, and performance-based rewards.
  humanURL: https://dub.co/docs/api-reference/introduction
  baseURL: https://api.dub.co
  tags:
  - Partners
  - Affiliates
  - Payouts
  properties:
  - type: Documentation
    url: https://dub.co/docs/api-reference/introduction
  - type: Examples
    url: examples/dub-track-sale-example.json
- aid: dub:domains
  name: Dub Domains API
  description: List and manage custom domains associated with a Dub workspace, including SSL certificate provisioning and
    free .link domain support.
  humanURL: https://dub.co/docs/api-reference/introduction
  baseURL: https://api.dub.co
  tags:
  - Domains
  - Custom Domains
  properties:
  - type: Documentation
    url: https://dub.co/docs/api-reference/introduction
  - type: JSONSchema
    url: json-schema/dub-domain-schema.json
- aid: dub:dub-analytics-api
  name: Dub Analytics API
  description: The Analytics API from Dub — 1 operation(s) for analytics.
  humanURL: https://dub.co/docs/api-reference/introduction
  baseURL: https://api.dub.co
  tags:
  - Analytics
  properties:
  - type: OpenAPI
    url: openapi/dub-analytics-api-openapi.yml
  - type: Documentation
    url: https://dub.co/docs/api-reference/introduction
  - type: JSONSchema
    url: json-schema/dub-link-schema.json
  - type: Examples
    url: examples/dub-create-link-example.json
  - type: Examples
    url: examples/dub-link-response-example.json
- aid: dub:dub-bounties-api
  name: Dub Bounties API
  description: The Bounties API from Dub — 3 operation(s) for bounties.
  humanURL: https://dub.co/docs/api-reference/introduction
  baseURL: https://api.dub.co
  tags:
  - Bounties
  properties:
  - type: OpenAPI
    url: openapi/dub-bounties-api-openapi.yml
  - type: Documentation
    url: https://dub.co/docs/api-reference/introduction
  - type: JSONSchema
    url: json-schema/dub-link-schema.json
  - type: Examples
    url: examples/dub-create-link-example.json
  - type: Examples
    url: examples/dub-link-response-example.json
- aid: dub:dub-commissions-api
  name: Dub Commissions API
  description: The Commissions API from Dub — 3 operation(s) for commissions.
  humanURL: https://dub.co/docs/api-reference/introduction
  baseURL: https://api.dub.co
  tags:
  - Commissions
  properties:
  - type: OpenAPI
    url: openapi/dub-commissions-api-openapi.yml
  - type: Documentation
    url: https://dub.co/docs/api-reference/introduction
  - type: JSONSchema
    url: json-schema/dub-link-schema.json
  - type: Examples
    url: examples/dub-create-link-example.json
  - type: Examples
    url: examples/dub-link-response-example.json
- aid: dub:dub-customers-api
  name: Dub Customers API
  description: The Customers API from Dub — 2 operation(s) for customers.
  humanURL: https://dub.co/docs/api-reference/introduction
  baseURL: https://api.dub.co
  tags:
  - Customers
  properties:
  - type: OpenAPI
    url: openapi/dub-customers-api-openapi.yml
  - type: Documentation
    url: https://dub.co/docs/api-reference/introduction
  - type: JSONSchema
    url: json-schema/dub-link-schema.json
  - type: Examples
    url: examples/dub-create-link-example.json
  - type: Examples
    url: examples/dub-link-response-example.json
- aid: dub:dub-domains-api
  name: Dub Domains API
  description: The Domains API from Dub — 4 operation(s) for domains.
  humanURL: https://dub.co/docs/api-reference/introduction
  baseURL: https://api.dub.co
  tags:
  - Domains
  properties:
  - type: OpenAPI
    url: openapi/dub-domains-api-openapi.yml
  - type: Documentation
    url: https://dub.co/docs/api-reference/introduction
  - type: JSONSchema
    url: json-schema/dub-link-schema.json
  - type: Examples
    url: examples/dub-create-link-example.json
  - type: Examples
    url: examples/dub-link-response-example.json
- aid: dub:dub-embed-tokens-api
  name: Dub Embed Tokens API
  description: The Embed Tokens API from Dub — 1 operation(s) for embed tokens.
  humanURL: https://dub.co/docs/api-reference/introduction
  baseURL: https://api.dub.co
  tags:
  - Embed Tokens
  properties:
  - type: OpenAPI
    url: openapi/dub-embed-tokens-api-openapi.yml
  - type: Documentation
    url: https://dub.co/docs/api-reference/introduction
  - type: JSONSchema
    url: json-schema/dub-link-schema.json
  - type: Examples
    url: examples/dub-create-link-example.json
  - type: Examples
    url: examples/dub-link-response-example.json
- aid: dub:dub-events-api
  name: Dub Events API
  description: The Events API from Dub — 1 operation(s) for events.
  humanURL: https://dub.co/docs/api-reference/introduction
  baseURL: https://api.dub.co
  tags:
  - Event
  tags_raw:
  - Events
  properties:
  - type: OpenAPI
    url: openapi/dub-events-api-openapi.yml
  - type: Documentation
    url: https://dub.co/docs/api-reference/introduction
  - type: JSONSchema
    url: json-schema/dub-link-schema.json
  - type: Examples
    url: examples/dub-create-link-example.json
  - type: Examples
    url: examples/dub-link-response-example.json
- aid: dub:dub-folders-api
  name: Dub Folders API
  description: The Folders API from Dub — 2 operation(s) for folders.
  humanURL: https://dub.co/docs/api-reference/introduction
  baseURL: https://api.dub.co
  tags:
  - Folders
  properties:
  - type: OpenAPI
    url: openapi/dub-folders-api-openapi.yml
  - type: Documentation
    url: https://dub.co/docs/api-reference/introduction
  - type: JSONSchema
    url: json-schema/dub-link-schema.json
  - type: Examples
    url: examples/dub-create-link-example.json
  - type: Examples
    url: examples/dub-link-response-example.json
- aid: dub:dub-links-api
  name: Dub Links API
  description: The Links API from Dub — 6 operation(s) for links.
  humanURL: https://dub.co/docs/api-reference/introduction
  baseURL: https://api.dub.co
  tags:
  - Links
  properties:
  - type: OpenAPI
    url: openapi/dub-links-api-openapi.yml
  - type: Documentation
    url: https://dub.co/docs/api-reference/introduction
  - type: JSONSchema
    url: json-schema/dub-link-schema.json
  - type: Examples
    url: examples/dub-create-link-example.json
  - type: Examples
    url: examples/dub-link-response-example.json
- aid: dub:dub-partner-applications-api
  name: Dub Partner Applications API
  description: The Partner Applications API from Dub — 3 operation(s) for partner applications.
  humanURL: https://dub.co/docs/api-reference/introduction
  baseURL: https://api.dub.co
  tags:
  - Partner Applications
  properties:
  - type: OpenAPI
    url: openapi/dub-partner-applications-api-openapi.yml
  - type: Documentation
    url: https://dub.co/docs/api-reference/introduction
  - type: JSONSchema
    url: json-schema/dub-link-schema.json
  - type: Examples
    url: examples/dub-create-link-example.json
  - type: Examples
    url: examples/dub-link-response-example.json
- aid: dub:dub-partners-api
  name: Dub Partners API
  description: The Partners API from Dub — 6 operation(s) for partners.
  humanURL: https://dub.co/docs/api-reference/introduction
  baseURL: https://api.dub.co
  tags:
  - Partners
  properties:
  - type: OpenAPI
    url: openapi/dub-partners-api-openapi.yml
  - type: Documentation
    url: https://dub.co/docs/api-reference/introduction
  - type: JSONSchema
    url: json-schema/dub-link-schema.json
  - type: Examples
    url: examples/dub-create-link-example.json
  - type: Examples
    url: examples/dub-link-response-example.json
- aid: dub:dub-payouts-api
  name: Dub Payouts API
  description: The Payouts API from Dub — 1 operation(s) for payouts.
  humanURL: https://dub.co/docs/api-reference/introduction
  baseURL: https://api.dub.co
  tags:
  - Payouts
  properties:
  - type: OpenAPI
    url: openapi/dub-payouts-api-openapi.yml
  - type: Documentation
    url: https://dub.co/docs/api-reference/introduction
  - type: JSONSchema
    url: json-schema/dub-link-schema.json
  - type: Examples
    url: examples/dub-create-link-example.json
  - type: Examples
    url: examples/dub-link-response-example.json
- aid: dub:dub-qr-codes-api
  name: Dub QR Codes API
  description: The QR Codes API from Dub — 1 operation(s) for qr codes.
  humanURL: https://dub.co/docs/api-reference/introduction
  baseURL: https://api.dub.co
  tags:
  - QR Codes
  properties:
  - type: OpenAPI
    url: openapi/dub-qr-codes-api-openapi.yml
  - type: Documentation
    url: https://dub.co/docs/api-reference/introduction
  - type: JSONSchema
    url: json-schema/dub-link-schema.json
  - type: Examples
    url: examples/dub-create-link-example.json
  - type: Examples
    url: examples/dub-link-response-example.json
- aid: dub:dub-tags-api
  name: Dub Tags API
  description: The Tags API from Dub — 2 operation(s) for tags.
  humanURL: https://dub.co/docs/api-reference/introduction
  baseURL: https://api.dub.co
  tags:
  - Tags
  properties:
  - type: OpenAPI
    url: openapi/dub-tags-api-openapi.yml
  - type: Documentation
    url: https://dub.co/docs/api-reference/introduction
  - type: JSONSchema
    url: json-schema/dub-link-schema.json
  - type: Examples
    url: examples/dub-create-link-example.json
  - type: Examples
    url: examples/dub-link-response-example.json
- aid: dub:dub-track-api
  name: Dub Track API
  description: The Track API from Dub — 3 operation(s) for track.
  humanURL: https://dub.co/docs/api-reference/introduction
  baseURL: https://api.dub.co
  tags:
  - Track
  properties:
  - type: OpenAPI
    url: openapi/dub-track-api-openapi.yml
  - type: Documentation
    url: https://dub.co/docs/api-reference/introduction
  - type: JSONSchema
    url: json-schema/dub-link-schema.json
  - type: Examples
    url: examples/dub-create-link-example.json
  - type: Examples
    url: examples/dub-link-response-example.json
common:
- type: PostmanWorkspace
  url: https://www.postman.com/kinlaneapi/dub/overview
- type: AgenticAccess
  url: agentic-access/dub-agentic-access.yml
- type: TrustCenter
  url: security/dub-trust-center.yml
- type: VulnerabilityDisclosure
  url: security/dub-vulnerability-disclosure.yml
- type: DomainSecurity
  url: security/dub-domain-security.yml
- type: Authentication
  url: authentication/dub-authentication.yml
- type: Website
  url: https://dub.co
- type: Documentation
  url: https://dub.co/docs
- type: APIReference
  url: https://dub.co/docs/api-reference/introduction
- type: GitHubOrganization
  url: https://github.com/dubinc
- type: LinkedIn
  url: https://www.linkedin.com/company/dubinc
- type: X
  url: https://x.com/dubdotco
- type: Blog
  url: https://dub.co/blog
- type: ChangeLog
  url: https://dub.co/changelog
- type: Pricing
  url: https://dub.co/pricing
- type: StatusPage
  url: https://status.dub.co
- type: SDKTypeScript
  url: https://github.com/dubinc/dub-ts
- type: SDKPython
  url: https://github.com/dubinc/dub-python
- type: SDKGo
  url: https://github.com/dubinc/dub-go
- type: SDKRuby
  url: https://github.com/dubinc/dub-ruby
- type: SDKPHP
  url: https://github.com/dubinc/dub-php
- type: Plans
  url: plans/dub-plans-pricing.yml
- type: RateLimits
  url: rate-limits/dub-rate-limits.yml
- type: FinOps
  url: finops/dub-finops.yml
- type: Vocabulary
  url: vocabulary/dub-vocabulary.yml
- type: JSONLDContext
  url: json-ld/dub-context.jsonld
- type: JSONSchema
  url: json-schema/dub-folder-schema.json
maintainers:
- FN: Kin Lane
  email: kin@apievangelist.com

Work with this as data

Every provider here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for providers

9 MCP tools reach this
  • find_providersBrowse and filter every provider in the catalog.
  • get_provider_artifactsEvery artifact this provider publishes, grouped by type.
  • get_provider_operationsEvery operation across all of their OpenAPIs — one call instead of parsing every spec.
  • get_provider_toolsEvery MCP tool they ship, with the operation each wraps.
  • get_provider_evidenceHow each part of their score was established. Free — the basis for a claim should not sit behind it.
  • get_provider_ratingPRO — composite, band, trend and facet scores.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This provider
curl "https://apis.io/api/v1/providers/dub"
All providers
curl "https://apis.io/api/v1/providers?limit=25"
Every operation they expose
curl "https://apis.io/api/v1/providers/dub/operations?limit=25"
How their score was established
curl "https://apis.io/api/v1/providers/dub/evidence"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.