Mixpanel's API rate limits are generally measured on a rolling 1-minute or 1-hour basis, depending on the API:
- Ingestion API: The rate limit is 2GB of uncompressed JSON per minute or about 30,000 events per second, measured on a rolling 1-minute basis. This means the limit resets continuously as each new minute begins, not at a fixed clock time [Rate Limits].
- Query API: The limit is 60 queries per hour and a maximum of 5 concurrent queries. This is also measured on a rolling 1-hour basis [Rate Limits].
So, after you hit a rate limit, it will reset as soon as enough time has passed for your previous requests to fall outside the rolling window (1 minute for ingestion, 1 hour for queries).