API Reference

Complete documentation for the MITPO Universal API

Base URL

https://api.mitpo.io

Rate 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

60 req/min

Daily limit

Resets at midnight UTC

10,000 req/day

Rate limit headers

The following headers are included in every API response:

HeaderDescription
X-RateLimit-LimitMaximum requests allowed in the current window
X-RateLimit-RemainingRequests remaining in the current window
X-RateLimit-ResetUnix 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?