Skip to main content

IP Rate Limit Exceeded

ip_rate_limit_exceeded429

Rate Limiting · Calls without a valid API key, counted per network address

Too many calls without a valid API key from one network address this minute. Wait retry_after seconds, then try again.

What this means​

Your network address sent more than 60 calls without a valid API key in one UTC clock minute, across all endpoints. A call without a valid key is one with no key, a mistyped key or a revoked key. Calls made with a valid key are not counted here: your plan limits them instead (burst_limit_exceeded). retry_after is the number of seconds until the current minute ends, from 1 to 60.

When you'll see this​

  • A script sends no Authorization header, or a key that was revoked or mistyped, in a fast loop.
  • A client keeps retrying a 401 instead of fixing the key, and the retries add up.
  • Several machines behind one outgoing address all call without a key.
  • A scraper, bot, or proof-of-concept script ran without rate-limit awareness.
Learn more about how this works

Asterwise has two per-minute limits. Calls with a valid API key are limited by the account's plan (burst_limit_exceeded), wherever they come from, so apps that share one address (such as Cloudflare Workers) don't use up each other's limit. Calls without a valid key are limited by network address (this error), which protects the platform from broken or hostile clients before they reach authentication.

If you see this from code that sends a key, check the key: a revoked or mistyped key counts as no key. If you see it from browser code, call Asterwise from your own backend instead, so your key is never exposed.

Example response​

{
"success": false,
"error": "ip_rate_limit_exceeded",
"message": "Too many requests from this IP address. Please slow down.",
"details": [],
"retry_after": 60,
"doc_url": "https://docs.asterwise.com/reference/errors/ip_rate_limit_exceeded/",
"request_id": "3f2b8c1e-7a4d-4e9b-8c21-5d6f0a9b1e37",
"timestamp": "2026-05-25T12:34:56Z"
}
NEW TO APIS?
Quick fix
  1. Check that each request sends Authorization: Bearer <key> with a key that is still active. A valid key moves the call to your plan's limit.
  2. Wait retry_after seconds. The count starts again at the next UTC minute.
  3. If a script is looping, add a pause between requests.
PRODUCTION ENGINEER
Recovery pattern

Always respect retry_after. The retry-after value is the floor, not a suggestion — retrying sooner just resets the counter on a server that's already telling you to slow down.

Python:

Production handler​

import httpx
import time

def call_with_rate_respect(url, headers, payload):
response = httpx.post(url, headers=headers, json=payload, timeout=30)
if response.status_code == 429:
body = response.json()
if body.get("error") == "ip_rate_limit_exceeded":
wait = body.get("retry_after", 60)
time.sleep(wait)
response = httpx.post(url, headers=headers, json=payload, timeout=30)
response.raise_for_status()
return response.json()

Avoid this error by​

  • Always send your API key. Calls with a valid key are limited by your plan, not by address.
  • Never call Asterwise from browser code. Call it from your backend, where your key stays private and your own rate logic applies.
  • If you're processing a batch, parallelism is fine — but cap concurrent requests at 5-10 and add small jitter between them.
  • For genuinely high-throughput integrations, talk to us before launch. We can advise on architecture that respects the ceiling without throttling your users.