S
SyedBlog
All ArticlesEngineeringCompanyEducationCustomer Stories
Explore
S
SyedBlog

Engineering insights, high-scale digital architecture, and modern software tutorials by Syed.

Browse all articles

Topics

  • Engineering
  • Architecture
  • Cloud Edge
  • AI & Automation

Categories

  • Company News
  • Education
  • Engineering
  • Customer Stories
  • All Articles

Resources

  • Tutorials & Guides
  • Changelog
  • Tech Stack
  • Documentation
  • Source Code

Company

  • About Syed Blog
  • Authors & Team
  • Careers
  • Contact
  • Privacy Policy
  • Terms of Service

Fresh writing, thoughtfully published

BUILDIN PUBLICMade for builders

© 2026 Syed Blog. All rights reserved.

EngineeringLast updated • July 9, 2024

Announcing the Dub API General Availability (GA)

We're excited to announce that the Dub API is now generally available, with native SDKs in the languages you love.

Announcing the Dub API General Availability (GA)

Ever since we soft launched our API a few months ago, we've been working hard to improve its stability & developer experience. Some of the improvements include:

  1. Workspace API keys: We simplified our API DX by moving keys to the workspace-level.
  2. Restricted scopes: You can now set fine-grained permission scopes for your API keys.
  3. Machine users: You can also create machine users to associate API keys with.

Our API infrastructure has been production-ready for months now, but we chose to keep the "beta" label as we iterated our API syntax and functionality.

10M+

links created/mo

300M+

events tracked/mo

In fact, companies like Raycast, Opensauced, Midday, and Whop have already been leveraging our API in production to shorten links programmatically. Some of our most active API users are currently generating over thousands of links per day.

Today, we're confident in our ability to support any production-level link management use case. Whether you're running a SMS campaign with millions of short links or an ad campaign with billions of clicks, we've got you covered.

Dub's link infrastructure & analytics has helped us gain valuable insights into the link-sharing use case of Ray.so. And all of it with just a few lines of code.

Thomas Paul Mann
Thomas Paul Mann• CEO & Co-Founder
Native SDKs in 4 languages

With the GA launch, we're also excited to unveil native SDKs in 4 different languages:

Pythonpip install dubGogo get github.com/dub...Rubygem install dubPHPcomposer require dub/dub-php This makes it much easier for developers to integrate Dub's link infrastructure into their applications, without needing to reach for different fetch libraries in their respective environments.

We've also created quickstart guides for each of these languages, as well as code examples to get you started. For example, here's how you can create a link in TypeScript, Python, Ruby, and Go:

TypeScript Python Ruby Go

code
 import { Dub } from "dub" 

 const dub = new Dub ({ token: "DUB_API_KEY" }) 

 const { shortLink } = await dub.links. create ({ url: "https://dub.co" }) 
Example applications

To show you the potential of Dub, we've also created a collection of open-source examples.

For example, we recently built OSS Gallery, which shows how you can generate short links on the fly and display real-time click analytics for those links directly inside your application:

Raycast also recently open-sourced Ray.so, where they use Dub to generate short links for easy sharing & analytics:

What's next?

We're incredibly excited for you to try out the new Dub API and SDKs.

This is just the beginning. Here are some of the features we're working on next:

  • OAuth Flow: We're currently working on an OAuth flow for you to easily build integrations with Dub – instead of manually creating API keys and entering them into your application, users can "Sign in with Dub" in 1-click.
  • Integrations Marketplace: Once you've built your integration, you can submit it to the Dub Integrations Marketplace to share it with the Dub community.

We're looking forward to hearing your feedback – feel free to reach out to us or tweet at us!

Kiran Krishnan

Kiran Krishnan

Core Engineering

“Empowering modern engineering teams with high-scale architecture, thoughtful systems design, and actionable technical deep dives.”

Read more

  • Engineering Work Strategy: Building Resilient Edge Architecture at RenderX

    Engineering Work Strategy: Building Resilient Edge Architecture at RenderX

    A deep dive into RenderX's core engineering strategy — from distributed edge compute and sub-50ms data pipelines to multi-cloud fault tolerance and zero-downtime deployments.

    September 15, 2026

  • Migrating from Contentlayer to Content Collections

    Migrating from Contentlayer to Content Collections

    We recently migrated our content framework from Contentlayer to Content Collections. Here's why and how we did it.

    July 5, 2024

  • Building a Scalable & Affordable Image Hosting Pipeline with Cloudflare R2

    Building a Scalable & Affordable Image Hosting Pipeline with Cloudflare R2

    We recently migrated our image hosting from Cloudinary to Cloudflare R2. This post details the reasons behind the switch, the pros and cons of Cloudflare R2, and how we implemented it in our codebase.

    March 26, 2024

  • Designing the Future of Work: How Modern Workspaces Drive Culture, Innovation, and Growth

    Designing the Future of Work: How Modern Workspaces Drive Culture, Innovation, and Growth

    A practical look at how modern workspaces combine flexibility, technology, well-being, and culture to create environments where people and businesses can thrive.

    September 19, 2026

Written by

Kiran Krishnan

Kiran Krishnan

Core Engineering

On this page

Native SDKs in 4 languagesExample applicationsWhat's next?
Syed Blog

Explore Syed Blog

Empower your knowledge with high-scale architecture, engineering deep dives, and modern web insights.

Supercharge your digital knowledge

See why Syed Blog is the destination of choice for forward-thinking software engineers and tech leaders.

Read ArticlesEngineering Insights
G2
P
★