Make sure the user performing the actions via the API key has staff privileges, even if only temporary.
That will help with some of the rate limits.