Skip to main content

Rate Limiting

Every API request is subject to rate limits. The exact limits depend on whether you’re using a public endpoint or authenticating with an API key.

Public Endpoints (No Key Required)

The following endpoints can be called without an API key:
  • GET /api/v1/quotes/random
  • GET /api/v1/quotes/daily
Public requests are rate-limited per IP address:
Provide an API key (even a free-tier key) to get significantly higher limits.

Authenticated Endpoints (API Key Required)

When using an API key, two limits apply:
  1. Per-minute rate limit — prevents burst abuse
  2. Monthly quota — total requests allowed per billing period

Limits by Plan

Response Headers

Every API response includes rate limit headers:

Handling 429 Responses

When rate-limited, the API returns a 429 Too Many Requests response with a Retry-After header:
Best practice: Check the X-RateLimit-Remaining header and implement backoff before hitting the limit.