Rate Limits

pdfRelay enforces rate limits to ensure fair usage and maintain reliability for all users. Limits vary by plan tier.

Per-Tier Rate Limits

Rate limits are applied per API key on a sliding window basis:

PlanRequests / minuteRequests / hourMonthly quota
Free53010 conversions
Starter20200500 conversions
Growth601,0005,000 conversions
Scale2005,00025,000 conversions
EnterpriseCustomCustomUnlimited

Rate Limit Headers

Every API response includes headers indicating your current rate limit status:

HeaderDescription
X-RateLimit-LimitMaximum number of requests allowed per minute
X-RateLimit-RemainingNumber of requests remaining in the current window
X-RateLimit-ResetUnix timestamp when the rate limit window resets
Retry-AfterSeconds to wait before retrying (only included on 429 responses)

Example response headers:

HTTP/1.1 200 OK
X-RateLimit-Limit: 60
X-RateLimit-Remaining: 42
X-RateLimit-Reset: 1705312260
Content-Type: application/pdf

Handling Rate Limit Errors

When you exceed the rate limit, the API returns a 429 Too Many Requests response:

{
  "success": false,
  "error": {
    "code": "RATE_LIMITED",
    "message": "Rate limit exceeded. Try again in 8 seconds.",
    "details": {
      "limit": 60,
      "remaining": 0,
      "reset_at": "2025-01-15T10:31:00Z",
      "retry_after": 8
    }
  }
}

Best Practices

  • Monitor rate limit headers on every response to proactively throttle your requests before hitting the limit.
  • Implement exponential backoff when you receive a 429 response. Respect the Retry-After header.
  • Use the Batch API to convert multiple documents in a single request. A batch with 50 items counts as 1 request against the rate limit (but 50 against your monthly quota).
  • Use async conversions for large documents. They are processed in the background and do not block your rate limit window.
  • Queue requests on your side if you anticipate bursts. Spread requests evenly rather than sending them all at once.
  • Upgrade your plan if you consistently hit rate limits. Higher tiers offer significantly higher limits.
Rate Limits - pdfRelay Docs | pdfRelay