Rate Limiting
All Predis.ai API endpoints are rate-limited. If you hit your API rate limits, you will get a HTTP status code 429 in the response.
Rate Limits
Below are the rate limits for various endpoints:
Create Post
Hourly rate limits apply to the create_content/ API endpoint. You can make upto 60 requests/min to this endpoint. You will get a HTTP status code 429 response if you exceed this limit. In this case, you should wait for a minute before making more API calls.
We support up to 10 concurrent generations for the create_content/ API endpoint. If this limit is exceeded, you will receive a 400 response with a relevant error message. If you require an increase in this limit, please contact us via the in-app chat option.
Get All Posts
Hourly rate limits apply to the get_posts/ API endpoint. You can send upto 60 requests/min to this endpoint. You will get a HTTP status code 429 response if you exceed this limit. In this case, you should wait for a minute before making more API calls.
Get Templates
Hourly rate limits apply to the get_templates/ API endpoint. You can send upto 60 requests/min to this endpoint. You will get a HTTP status code 429 response if you exceed this limit. In this case, you should wait for a minute before making more API calls.
Design your code logic by keeping the rate limits for different endpoints in mind to make sure your code does not break.