Rate Limiting
The PixCraft API uses monthly usage limits based on your plan. Usage is tracked per account (not per API key), and only pattern generation counts as a use.Limits by plan
What counts as a use
Only generating a pattern/design counts as a use:How it works
- Usage is tracked at the account level — all your API keys and widgets share the same monthly counter
- Usage resets on the 1st of each month
- When you reach your limit, the API returns
429 RATE_LIMIT_EXCEEDEDand the widget will not generate new designs - You will receive an email notification when you are close to your limit (~50 uses remaining)
- You will receive another email notification when you reach the limit
Checking your usage
CallGET /api/v1/usage to see how many uses you have remaining:
Handling 429 errors
When rate limited, do not retry — the limit resets at the beginning of the next month. Instead, inform your users or upgrade your plan.Best practices
- Cache results — If the same image + parameters are requested again, serve from cache instead of calling the API
- Monitor usage — Check
/usageperiodically and set up alerts when approaching your limit - Use appropriate plans — If you consistently hit your limit, consider upgrading to avoid service interruptions