Documentation Index
Fetch the complete documentation index at: https://docs.pixelpatrol.net/llms.txt
Use this file to discover all available pages before exploring further.
Rate Limits
Pixel Patrol enforces rate limits to ensure fair usage and system stability.Per Site Key Limits
| Endpoint | Rate Limit | Window |
|---|---|---|
/submit-media | 1,000 requests | Per minute |
/get-media-status | 2,000 requests | Per minute |
Content Size Limits
| Content Type | Maximum Size |
|---|---|
Text content (body field) | 100 KB |
| Image files (via URL) | 10 MB |
| Metadata object | 10 KB |
Rate Limit Headers
API responses include rate limit information in headers:X-RateLimit-Limit: Maximum requests allowed per windowX-RateLimit-Remaining: Requests remaining in current windowX-RateLimit-Reset: Unix timestamp when the window resets
Handling Rate Limits
When you exceed rate limits, the API returns a429 Too Many Requests response:
Best Practices
- Implement exponential backoff - Wait longer between retries after each failure
- Monitor rate limit headers - Track remaining requests to avoid hitting limits
- Batch requests when possible - Submit multiple items efficiently
- Cache status checks - Avoid repeatedly checking the same media status
Example Retry Logic
Subscription Limits
Rate limits are separate from your subscription’s moderation limits:- Rate limits prevent API abuse (requests per minute)
- Moderation limits control usage based on your plan (moderations per month)
403 Forbidden response: