fix: api rate limit detection