Skip to main content

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.

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.

tip

Design your code logic by keeping the rate limits for different endpoints in mind to make sure your code does not break.