API gateway pattern
A single entry point that routes, aggregates and secures client requests to backend services.
An API gateway sits between clients and services, handling routing, authentication, rate limiting, TLS termination and sometimes response aggregation. It hides the internal service layout from clients. Risks include a central bottleneck, a single point of failure if not highly available, and business logic creeping into the gateway.
- Type
- Architecture pattern
- Category
- Architecture
- License
- Free
- Pricing
- Free
- Level
- Intermediate
- Technologies
- architecture, apis, microservices
- Last verified
- 26 Nov 2026
What API gateway pattern is used for
- Exposing microservices to external clients
- Centralised auth and rate limiting
Strengths
- Simplifies clients
- Central cross-cutting concerns
Limitations
- Potential bottleneck
- Can become a 'god' component
API gateway pattern alternatives
How it relates to other tools
- API gateway pattern works with Microservices architecture