API Rate Limit Block Duration and IP Unblocking

53 repliesLast updated: Nov 29, 2025

It seems we hit one of the api rate limits per IP when one of our developers was migrating data using the API and now he seems to be blocked: https://www.sanity.io/docs/technical-limits
How can we enable his IP again? How long does the block stays?
AI Update

Based on the technical limits documentation, I can help clarify the situation with the IP rate limit block.

How Long Does the Block Last?

The good news is that IP rate limit blocks are temporary and reset automatically. According to the documentation, the rate limits are enforced per second. This means:

So your developer should be able to make requests again within seconds of stopping the migration activity that triggered the limit. There's no permanent IP blacklist - it's just a per-second throttle.

Understanding the Rate Limits

The per-IP rate limits are:

Best Practices for Data Migration

To avoid hitting these limits during migrations:

If You Need Higher Limits

If your developer continues to experience issues or if you need to perform large-scale migrations that require higher limits, you should contact Sanity support to discuss your specific needs. Enterprise customers can work with Sanity to customize limits for their use case.

For immediate relief, the simplest solution is to slow down the migration script to stay under 25 requests per second, or better yet, use the official sanity dataset import CLI tool which handles all of this automatically.

Show original thread
53 replies

Was this answer helpful?

Sanity – Build the way you think, not the way your CMS thinks

Sanity is the developer-first content operating system that gives you complete control. Schema-as-code, GROQ queries, and real-time APIs mean no more workarounds or waiting for deployments. Free to start, scale as you grow.

Related contributions