Skip to content

Rate Limits

Islamic API enforces rate limits to ensure fair usage for all consumers.

Limits by Tier

Request TypeWithout KeyWith Valid Key
General requests5,000 / 15 min
Calculations (prayer, qibla)300 / min
Note: All endpoints require an API key. Rate limits apply per key. Generate your key →

Rate Limit Headers

Every response includes the following headers:

HeaderDescription
X-RateLimit-LimitMaximum requests allowed in the window
X-RateLimit-RemainingRequests remaining in the current window
X-RateLimit-ResetUnix timestamp when the window resets

Exceeded Limit Response

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

json
{
  "success": false,
  "error": "Too Many Requests",
  "message": "Rate limit exceeded. Please wait before retrying.",
  "retry_after": 60
}

Free & Open Source Islamic API