Skip to main content
Dub’s API rate limiting is in conformance with the IETF standard: Dub’s API is capped at 60 requests per minute per key on the Free plan, with elevated limits for Pro plan and above. This is implemented to ensure a fair usage policy so that excessive use by a single user does not adversely affect the performance and usage of the API by others. You’ll receive a 429 Too Many Requests response code if the rate limit is exceeded.

Rate limits by plan

Depending on your Dub plan, you can expect the following rate limits:

Rate limits by endpoint

Dub’s analytics endpoints have separate, per-second rate limits to ensure optimal performance: Analytics endpoints include: All other API endpoints use the standard rate limits listed in the Rate limits by plan section above.

How to comply with rate limits

Here’s how you can optimize your API setup to comply with rate limits: If you need to create a lot of links within a short period of time, try our bulk link creation endpoint instead (create up to 100 links in one API call)

2. Fetch workspace-level analytics

If you’re using our Analytics API, instead of retrieving the clicks count for every single link, try making a single API call to get workspace-level click analytics instead.

3. Leverage webhooks

If you’re expecting high volume, fast-changing data (e.g. thousands of clicks on your links per day) and would prefer to store the data on your end, we recommend using our real-time webhooks feature instead.
Webhook event logs
Webhooks are push-based, meaning that Dub will send events to your webhook receiver endpoint when specific events occur, while a REST API is pull-based, meaning that you need to consistently poll the API endpoint to get real-time updates. Check out our webhooks documentation to learn more.