Dub’s API rate limiting is in conformance with the IETF standard:

Header NameDescription
X-RateLimit-LimitThe maximum number of requests that the consumer is permitted to make per hour.
X-RateLimit-RemainingThe number of requests remaining in the current rate limit window.
X-RateLimit-ResetThe time at which the current rate limit window resets in UTC epoch seconds.
Retry-AfterThe number of seconds to wait before retrying the request again.

Dub’s API is capped at 600 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.co plan, you can expect the following rate limits:

PlanRate limit
Free600 requests per minute
Pro3,000 requests per minute
Business6,000 requests per minute
EnterpriseCustom – reach out to sales for details