Guide: API reference ·
Topic: Rate limits
The important part
Requests use the limit assigned to the authenticated account key. Read the response headers instead of hard-coding a requests-per-minute value.
- Read the actual rate-limit headers when returned.
- A rate limit and call capacity are separate controls.
Headers
An authenticated request over its allowance returns 429
rate_limit_exceeded. Its message is Rate limit exceeded. Retry after N seconds., where N is the returned wait. Details contain limit and retry_after_seconds.
Account signup is separate: Create an account is limited to three attempts per address per hour and can return 429 key_creation_rate_limited. Invalid credentials can be refused before rate-limit headers are added.
Respond to throttling
Wait at leastRetry-After, spread requests with jitter and use a bounded deadline. Cache catalog reads and stop polling completed jobs. Reduce concurrency when repeated throttles occur.
Do not automatically repeat a call, SMS, payment or other write after a timeout or throttle. Use the endpoint’s refusal and receipt to decide whether work occurred; see retry guidance and idempotency.
Other limits
Call capacity, balance, daily Knowledge allowances and resource counts are separate from the HTTP request allowance. Codes such asbusy, base_limit, session_limit and training_limit describe their own limits. More HTTP capacity does not remove them. Use the endpoint’s error table and the error catalog.