API
Rate Limits

API Rate Limits

To ensure fair usage and maintain the quality of our service, the Trycolors API implements rate limiting. These limits vary depending on the endpoint and your subscription plan.

Current Rate Limits

We offer two tiers of rate limits: Free/Hobby and Business.

Hobby and PRO (individual) Plans

API EndpointRate Limit (requests/second)Daily Limit (requests/day)
Mix Colors250
Unmix Color110
Similar Paints110

Business Plan (Tier 1)

API EndpointRate Limit (requests/second)Daily Limit (requests/day)
Mix Colors102,000
Unmix Color51,000
Similar Paints51,000

Business plan limits can be increased upon request. Contact our support team if you need higher limits.

Understanding Rate Limits

  • Rate Limit (requests/second): This is the maximum number of requests you can make to an endpoint per second.
  • Daily Limit (requests/day): This is the total number of requests you can make to an endpoint in a 24-hour period.

Handling Rate Limit Errors

If you exceed the rate limit, the API will return a 429 (Too Many Requests) status code. When this occurs, you should:

  1. Pause your requests for a short period.
  2. Implement exponential backoff in your application to automatically handle rate limiting.

Best Practices

To make the most of your rate limits:

  1. Cache responses when possible to reduce unnecessary API calls.
  2. Implement retry logic with exponential backoff for failed requests.
  3. Spread out your API calls evenly over time rather than sending them in bursts.
  4. Monitor your usage to ensure you're staying within your plan's limits.

Upgrading Your Plan

If you find that you're consistently hitting your rate limits, consider upgrading to a Business plan for higher limits. If you're already on a Business plan and need even higher limits, please contact our support team to discuss custom solutions.

Remember, efficient use of the API not only helps you stay within rate limits but also improves the performance of your application.

For any questions about rate limits or to request a limit increase, please contact our support team (opens in a new tab).