Buttondown does not have blanket rate limits on the API, but we do have some specific ones:
| Endpoint | Rate limit |
|---|---|
POST /v1/subscribers | 100 requests per day |
Newsletters on paid plans with permanently active status are exempt from these rate limits.
When you create a subscriber via the API, Buttondown returns rate limit information in the response headers:
| Header | Description |
|---|---|
X-RateLimit-Limit | The maximum number of subscribers you can create per day |
X-RateLimit-Remaining | The number of subscriber creations remaining for the current day |
X-RateLimit-Reset | Unix timestamp (in seconds) when the rate limit resets (midnight UTC) |
Here's an example of the headers you might see:
You can use these headers to track your API usage and avoid hitting rate limits. If you exceed the rate limit, the API will return a 400 status code with an error indicating that you've hit the daily limit.