I posted 250 blogs to Dev.to in 1 hour using a bulk script, and Dev.to blocked my API key for 24 hours. The rate limit is 1 post per 300 seconds (5 minutes), but my script posted 1 per minute.
I updated the script to sleep 300 seconds between posts, and now all posts go live. I also added a check for HTTP 429 (rate limit) responses, and the script retries after 10 minutes.
If you're using Dev.to API, respect the rate limits. They're there to stop spam, and violating them gets you blocked.
Top comments (0)