Rate limits
A key can send 20 requests back to back, then has to pause for a second. Every response says where the key stands.
An API key can send 20 requests back to back. Once it has been quiet for 1 second, the count starts over. A request beyond that, before the pause, fails with 429 rate_limited: wait the seconds in Retry-After and send it again.
The limit belongs to the key. The REST API and the MCP server count against the same one, and test keys have it too.
Headers
Every response to a request with a valid key says where the key stands:
| Header | What it says |
|---|---|
RateLimit-Limit | Requests the key can send back to back: 20. |
RateLimit-Remaining | How many more it can send before it has to pause. |
RateLimit-Reset | Seconds of quiet after which the count starts over. |
Retry-After | Only on a 429: the seconds to wait before the next request. |
HTTP/2 200
RateLimit-Limit: 20
RateLimit-Remaining: 17
RateLimit-Reset: 1
X-Request-Id: req_9b2f6c1e0d3a4f5b8c7e6d5a4b3c2f1eWhen the limit is hit
HTTP/2 429
Retry-After: 1
RateLimit-Limit: 20
RateLimit-Remaining: 0
RateLimit-Reset: 1{
"error": {
"code": "rate_limited",
"message": "This key sent 20 requests without a 1-second pause.",
"hint": "Wait `retry_after` seconds, then retry with the same Idempotency-Key.",
"docs_url": "https://won.dev/docs/errors#rate_limited",
"retry_after": 1,
"request_id": "req_2c7d5e4b3a2f1e0d6f1c0d3a9b8e4f2a"
}
}A refused request did nothing and cost nothing, so sending it again is safe.
Staying under it
- When
RateLimit-Remainingreaches0, pause forRateLimit-Resetseconds before the next request. - On a
429, waitRetry-Afterseconds and send the same request again, with the sameIdempotency-Keyif it had one. - Ask for larger pages instead of more requests: most lists take a
limitof up to 100. - To follow cold email, a webhook costs no requests at all. If you poll
GET /eventsinstead, every few minutes is enough.
Other limits
| Code | Status | When |
|---|---|---|
request_in_progress | 409 | The same request is still running. Wait retry_after seconds and send it again. |
upstream_unavailable | 503 | A data source behind the endpoint is briefly unavailable. Wait retry_after seconds. You are not charged. |
Some endpoints also cap what one call can hold, such as the recipients of a campaign. Each one says so in its parameters.