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.

62.0/100 strong ▬ flat Agent 42/100 agent ready Full breakdown ↓
scored 2026-07-28 · rubric v0.6
AccessFreemiumSelf serve⚡ Free to try
18 APIs
Link ManagementURL ShortenerAnalyticsConversion TrackingAffiliate ProgramsOpen Source

Kin Score

Kin Score Kin Score How this is scored →
scored 2026-07-28 · rubric v0.6
Composite quality — 62.0/100 · strong
Contract Quality 19.4 / 25
Developer Ergonomics 6.5 / 20
Commercial Clarity 11.6 / 20
Operational Transparency 8.9 / 13
Governance 8.3 / 12
Discoverability 7.4 / 10
Agent readiness — 42/100 · agent ready
Machine-Readable Contract 18 / 18
Agentic Access Contract 10 / 10
MCP Server 0 / 12
Machine-Readable Auth 10 / 10
Idempotency 9 / 9
Stable Error Semantics 0 / 8
Request/Response Examples 7 / 7
Rate-Limit Signaling 7 / 7
Typed Event Surface 0 / 6
Agent Skills 0 / 5
Well-Known Catalog 0 / 4
Consent & Bot Identity 0 / 3
A2A Agent Card 0 / 8
Dry-Run / Simulate Mode 0 / 4
Improve this rating by publishing the missing artifacts — every area above can be raised, and the full rubric is at apis.io/rating/. 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. Want it done for you? Prioritized profiling — $2,500 →

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

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
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
url: https://raw.githubusercontent.com/api-evangelist/dub/refs/heads/main/apis.yml
created: '2026-06-12'
modified: '2026-06-12'
specificationVersion: '0.19'
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
  - 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:
  - 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