Developer & Agent API Portal

Rate Limits & Error Handling

Three-tier Express rate limit windows, Retry-After headers, and structured ErrorResponse payloads.

Last updated: 1 min read

Verified Rate Limit Policies

Tier / Endpoint ScopeLimit WindowHeaders Returned
General Endpoints (globalLimiter)120 requests / 1 minute per IPStandard RateLimit-* + Retry-After: 60 on HTTP 429
Authentication & OAuth2 (authLimiter)10 attempts / 15 minutes per IPRetry-After: 900 on HTTP 429
Sensitive Forms & Support (sensitiveFormLimiter)15 submissions / 10 minutes per IPRetry-After: 600 on HTTP 429
Vercel Edge bot.fusionhub.in/api/stats60 requests / 1 minute per IP (5s CDN cache)X-RateLimit-Limit, X-RateLimit-Remaining, Retry-After

HTTP Status Codes & JSON Errors

StatusMeaningAction
200SuccessParse JSON response body cleanly.
400Bad Request / Captcha Required / Invalid Guild InputValidate required payload parameters or Turnstile check.
403Forbidden / Blocked CORS Origin / Admin RequiredConfirm allowed Origin header or Discord Guild Admin privileges.
404Resource Not FoundVerify route path against /openapi.json.
429Too Many RequestsHonor Retry-After seconds before retrying with backoff.
500Server ErrorCheck Service Status or report persistent failures cleanly.

Search Fusion Bot Documentation