Rate Limits
All API endpoints are rate-limited per API key. Default limits apply unless overridden at the key level.Default Limits
| Window | Limit |
|---|---|
| Per minute | 300 requests |
| Per day | 10,000 requests |
rate_limit_per_minute and rate_limit_per_day values set at creation time. A value of 0 means “use the global default.”
Publishable keys (cpk_ prefix) default to 100 requests/minute and can be configured independently.
Rate Limit Headers
Every response includes:| Header | Description |
|---|---|
X-RateLimit-Limit | Maximum requests per window |
X-RateLimit-Remaining | Requests remaining in current window |
X-RateLimit-Reset | Unix timestamp when the window resets |
Handling 429 Responses
When you exceed the limit:retry_after_seconds value to wait before retrying. For production applications, implement exponential backoff with jitter.
Pagination
All list endpoints return paginated results in a standard envelope:Query Parameters
| Parameter | Default | Max | Description |
|---|---|---|---|
page | 1 | — | Page number (1-indexed) |
page_size | 25 | 100 | Items per page |