Every well-built API sits behind the same set of checkpoints: an API gateway that receives every call, an authentication step that verifies an API key or token, a rate limiter that protects the backend from being overwhelmed, a versioned service that implements the actual business logic, and a database that persists or returns data. This scene animates that pipeline as glowing packets, colour-coded by HTTP method, moving between the nodes — and shows exactly where and why a request gets rejected.
401.429 Too Many Requests instead of reaching the backend.v1 or v2 service node depending on the selected API version, a common pattern for evolving an API without breaking existing clients.Most production REST APIs enforce rate limits using algorithms like the token bucket or sliding-window counter — the same conceptual "budget per second" this simulation's rate limiter models, just applied over real request logs instead of a slider.
Requests travel from a client through an API gateway, an authentication check, a versioned backend service and a database — colour-coded by HTTP method, with live 401 and 429 rejections when auth or rate limits fail.
The gateway enforces authentication and rate limiting before any request reaches business logic; requests are routed to a v1 or v2 backend depending on the selected API version, then read or write through to a database.
Pick an HTTP method and API version, set the request rate and rate limit, and toggle whether an API key is required. Watch packets succeed, get throttled with 429, or rejected with 401 in real time.
API versioning strategies like path-based versioning (/v1/, /v2/) let providers evolve an API's behaviour without breaking clients still integrated against an older contract.