Definition
An API gateway is an infrastructure component that sits between client applications (web browsers, mobile apps, third-party integrations) and your backend services. Every request from the outside world passes through the gateway, which decides where to route it, whether the caller is authorized, and whether the request should be allowed, throttled, or rejected. Think of it as a receptionist for your backend: it checks credentials, directs visitors to the right department, and enforces building policies.
API gateways became essential with the rise of microservices architectures. When your application is split across dozens of services, you do not want clients to know about or connect to each service individually. The gateway provides a single, stable URL (e.g., api.yourproduct.com) and handles the complexity of routing requests to the correct service internally. Popular API gateway products include Kong, AWS API Gateway, Apigee (Google), Azure API Management, and open-source options like Envoy and Traefik.
Beyond routing, gateways handle cross-cutting concerns that every service needs but no individual service should implement independently: authentication and authorization, rate limiting, request/response transformation, logging, and monitoring. This centralization reduces duplication and ensures consistent policy enforcement across all endpoints.
Why It Matters for Product Managers
API gateways directly affect three things PMs care about: third-party integrations, performance, and security. If your product has a public API (or plans to), the gateway is where you enforce API keys, usage quotas, and rate limits. These are product decisions, not just engineering decisions. How many API calls should a free-tier customer get? What rate limit protects your infrastructure without frustrating power users? The PM needs to define these thresholds.
For products with mobile and web clients, the gateway enables the "Backend for Frontend" (BFF) pattern. Instead of the mobile app making five separate API calls to five services to render one screen, the gateway can aggregate those calls into a single response. This reduces latency on slow mobile networks and simplifies client-side code. PMs shipping mobile features should understand whether their engineering team uses this pattern, because it affects what is feasible to build within a sprint.
How to Apply It
When planning features that involve API changes, PMs should coordinate with the team on gateway configuration. New endpoints need routing rules. Public endpoints need authentication and rate limiting. Endpoints serving mobile clients may need response transformation. Use the RICE framework to prioritize API feature requests from integration partners, and make sure the gateway can enforce whatever usage limits the pricing model requires. If your product is growing toward a platform strategy, the API gateway becomes the control plane for your entire partner ecosystem.