Rate limits and quotas
Sendfern limits how fast you can call the API, how big one send can be, and how many live emails you can send in a month. This page lists every limit and what to do when you hit one.
API rate limit
Your account can make 10 requests per second. The limit is shared by all your API keys, live and test, so creating more keys doesn't raise it. Requests through the SMTP relay count too.
A request over the limit is refused with 429 throttled and does nothing. The Retry-After header says how many seconds to wait:
HTTP/1.1 429 Too Many Requests
Retry-After: 1
{
"error": {
"type": "rate_limit_error",
"code": "throttled",
"message": "Request was throttled. Expected available in 1 second."
}
}Stay under the limit
- Send up to 100 emails in one request with
POST /v1/emails/batchinstead of one request each. A batch counts as one request. See Send an email. - Use a broadcast for a newsletter to an audience. Sendfern sends to every contact for you.
- Ask for up to 100 items per page when you read lists. See Pagination.
- Use webhooks to learn about deliveries instead of polling each email.
Retry a 429
Wait for Retry-After seconds, then send the same request again. A throttled request was never run, so the retry is safe even for a send without an idempotency key. The SDKs do this for you:
# On a 429, sleep for Retry-After seconds, then send the same request again.
curl -i https://api.sendfern.com/v1/emails \
-H "Authorization: Bearer $SENDFERN_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"from": "Acme <onboarding@acme.com>",
"to": "user@example.com",
"subject": "Hello",
"text": "Hello"
}'Request limits
A request that breaks one of these returns 400 with the type invalid_request_error. When the limit is on a field in the body, the code is invalid_parameter and param names the field. See Errors.
| Limit | Value |
|---|---|
| Recipients per email | 50, counting to, cc and bcc together |
| Emails per batch request | 1 to 100 |
| Attachments per email | 7 MB in total, after base64 decoding |
| Scheduling | scheduled_at in the future, at most 30 days ahead |
Idempotency-Key header | 200 characters |
| Items per list page | 1 to 100, default 20. A larger limit returns 100 |
In a batch, every item is checked before anything is queued. If one item breaks a limit, the whole batch is refused.
Monthly quota
Your account may have a monthly quota: the number of live emails you can create per calendar month, from the first of the month (UTC). Each email counts once, however many recipients it has. A broadcast counts one email per recipient. Test emails never count.
Check your usage
GET /v1/usage returns this month's live usage, whichever mode your key is in. It needs a full-permission key. You can also see it in the dashboard under Settings.
curl https://api.sendfern.com/v1/usage \
-H "Authorization: Bearer $SENDFERN_API_KEY"{
"period_start": "2026-11-01",
"period_end": "2026-11-30",
"used": 1234,
"quota": 5000
}period_startstring- The first day of this calendar month (UTC).
period_endstring- The last day of this calendar month (UTC).
usedinteger- Live emails created this month.
quotainteger | null- Your monthly quota, or
nullif your account has none.
When you reach the quota
A live send that would go over the quota returns 403 quota_exceeded and nothing is queued. The check covers the whole request:
- A batch is sent in full or refused in full.
- A broadcast is checked for its whole recipient count when you send it, and again when a scheduled one comes due. If it no longer fits, it goes back to draft with an error instead of stopping halfway.
Usage resets on the first of the month. To send more before then, ask us to raise your quota. Several requests sent at the same moment can go slightly over the quota.