Get Started
Rate Limits
Rate limits apply per organization across all API keys, alongside per-IP edge ceilings that protect
epochal.com services from floods and runaway clients. To request a higher rate limit,
contact us.
Rate limits
| Limit | Scope | Ceiling | Status / error.type | Wait / block duration |
|---|---|---|---|---|
| Organization API rate limit | Per organization (shared across all keys) | Set by plan (contact us to increase) | 429 rate_limit_exceeded | Duration in Retry-After header |
| Sandbox concurrency | Per organization (concurrent sandboxes, vCPUs, memory) | Set by plan (contact us to increase) | 429 rate_limit_exceeded | Wait for Retry-After or terminate active sandboxes |
| Edge request ceiling | Per IP address across api.epochal.com and all epochal.com sites | 2,500 requests / second (25,000 per 10 seconds) | 429 rate_limit_exceeded | 10 seconds |
| Edge refused-request ceiling | Per IP address (401 on api.epochal.com; 403 or 404 on any epochal.com site) | 60 refused requests / minute | 429 rate_limit_exceeded | 60 seconds |
Adding more API keys does not increase your organization's rate limit. Rate-limited (429)
responses do not count against your free quota. The per-IP edge ceilings allow
2,500 requests per second across epochal.com and 60 refused requests per minute. An IP
that exceeds either ceiling receives 429 for 10 seconds after too many requests or 60 seconds after too many refused requests.
Retry behavior
When a request is rate limited, the API returns 429 Too Many Requests with a Retry-After header
giving the number of seconds to wait:
HTTP
http
HTTP/1.1 429 Too Many Requests
retry-after: 12
content-type: application/json
{"error": {"type": "rate_limit_exceeded", "message": "Over the organization's rate limit. Retry after a pause.", "request_id": "7c2e5f0a-93b4-4d1e-a6f8-2b0c9e4d7a15"}}Follow these rules when handling retries:
- Honor
Retry-After: WhenRetry-Afteris present on a429or503, wait at least that many seconds before retrying. - Use exponential backoff with jitter: Add random jitter to retry delays so concurrent workers do not retry in lockstep.
- Cap retry attempts: Stop after a bounded number of retries and surface the error.
- Do not retry other
4xxerrors:400,401,402,403,404,409, and422indicate a client or account issue. Fix the request or key first — retrying401responses can trigger the per-IP refused-request ceiling.
Usage guide
- Pace concurrency with a worker pool: Bound in-flight requests to your organization's rate limit instead of sending unbounded bursts.
- Fetch selectively: Run a search first, then call Fetch only on the URLs you need to read.
- Long-poll sandboxes with
wait=55s: Passwait=55son sandbox status (GET .../sandbox/{id}) and command output (GET .../execs/{exec_id}/output) endpoints.55sis the maximum server-side hold duration (chosen to stay safely below standard 60-second HTTP and proxy timeouts), so the server returns immediately when state changes or output arrives without burning requests in a tight polling loop. - Terminate finished sandboxes: Call
DELETE /v1/time-portal/sandbox/{id}as soon as a job finishes to free concurrency headroom and stop usage metering.
Next steps
Standard JSON error envelope, HTTP status codes, sandbox failure types, and retry rules.
A sandbox boots, runs while it is live, and ends at a timeout, a terminate, or a failure.
Support channels, status page, and what to include when reporting an API issue.