API Reference
Complete documentation for the MITPO Universal API
Base URL
https://api.mitpo.ioRate Limits
API requests are rate-limited on a per-key basis to ensure fair usage and platform stability.
Per-minute limit
Sliding window per API key
Daily limit
Resets at midnight UTC
Rate limit headers
The following headers are included in every API response:
| Header | Description |
|---|---|
| X-RateLimit-Limit | Maximum requests allowed in the current window |
| X-RateLimit-Remaining | Requests remaining in the current window |
| X-RateLimit-Reset | Unix timestamp (seconds) when the window resets |
Handling 429 responses
When you exceed the rate limit, the API returns a 429 Too Many Requests status. Implement exponential backoff: wait for the duration indicated by X-RateLimit-Reset, then retry.
429 response
{
"error": {
"code": "rate_limited",
"message": "Rate limit exceeded. Retry after 1679484000.",
"details": {
"retry_after": 1679484000,
"limit": 60,
"window": "1m"
}
},
"request_id": "req_rl429..."
}Ready to automate campaign operations?