--- 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 image: https://kinlane-productions.s3.amazonaws.com/apis-json/apis-json-logo.jpg 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:links name: Dub Links API description: >- Create, retrieve, update, and delete short links with support for custom domains, UTM parameters, deep links, link cloaking, expiration, password protection, and device/geo targeting. humanURL: https://dub.co/docs/api-reference/introduction baseURL: https://api.dub.co tags: - Links - URL Shortener - Short Links properties: - type: Documentation url: https://dub.co/docs/api-reference/introduction - type: OpenAPI url: openapi/dub-openapi.yml - type: JSONSchema url: json-schema/dub-link-schema.json - type: Example url: examples/dub-create-link-example.json - type: Example url: examples/dub-link-response-example.json - 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: Example 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: Example 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 common: - 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