API Reliability

API Rate Limit Headers Guide

Interpret 429 responses, Retry-After and common rate-limit headers while keeping client throttling observable and predictable. Last updated September 16, 2026.

Interpret 429 responses, Retry-After and common rate-limit headers while keeping client throttling observable and predictable. This reference is written for developers who need practical validation behavior, reviewable rules and safe examples rather than copied snippets with no explanation.

Recommended workflow

StepWhy it matters
Read the status and bodyA 429 body often identifies the quota scope or operation that was limited.
Honor server timingRetry-After can be seconds or an HTTP date, so parse both forms.
Throttle before exhaustionRemaining and reset hints can smooth traffic before requests fail.
Measure by callerSeparate user, token, tenant and global quota metrics.

Starter snippet

curl -i https://api.example.test/resource
# Inspect status, Retry-After, remaining quota and reset time.

Review checks

Common mistakes

Validation should help users correct input while protecting systems from bad data. Keep syntax checks, product policy, security review and deliverability checks separate.

Related Formalint references

Continue with Api Rate Limit Debugging, Curl Headers Debugging Guide, API Retry and Exponential Backoff.