Skip to main content
The Hey Chocolate API enforces rate limits to ensure fair usage and platform stability.

Rate limit headers

Every API response includes rate limit information:

Limits by tier

Handling rate limits

When you exceed the rate limit, the API returns a 429 Too Many Requests response:
Best practices:
  • Implement exponential backoff when receiving 429 responses
  • Cache frequently accessed data (product scores change infrequently)
  • Use pagination to reduce the number of requests
  • Batch related queries into a single GraphQL request

Caching recommendations

Product detail page (PDP) data is ideal for edge caching since impact scores update infrequently: