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:
GET /analytics– retrieving aggregated analyticsGET /events– retrieving paginated lists of events