Glossary: Integration
What Is an API Gateway?
An API gateway is a server that sits in front of one or more backend services and acts as the single entry point for API calls. It authenticates callers, applies rate limits, routes requests to the right service and records traffic, so each backend does not have to repeat those controls.

How an API gateway works
A client sends a request to the gateway, not to the service. The gateway checks credentials such as OAuth 2.0 tokens or API keys, applies policies for quotas and request size, and forwards the call to the matching backend.
It can also translate protocols, transform payloads, cache responses and emit metrics and logs. Policy lives in configuration that teams version and review like code.
Why it matters
Without a gateway, every service implements its own security and throttling, and the rules drift apart. A gateway gives security and platform teams one place to enforce standards, retire old API versions and see who calls what.
It also protects backends from traffic spikes and abusive clients, and it supports the OWASP API Security Top 10 controls around authentication and resource consumption.
How it differs from a load balancer and a service mesh
A load balancer spreads traffic across instances and knows little about API semantics. A service mesh governs service-to-service traffic inside a cluster. An API gateway governs traffic entering from outside, including partners and mobile apps, and often feeds a developer portal with API products.
FAQ
Frequently asked questions
Do I need an API gateway for a small number of APIs?
Not always. With one or two internal APIs, framework-level authentication and a reverse proxy may be enough. A gateway pays off once several teams publish APIs, external partners consume them or you need consistent security, quotas and analytics across services.
Is an API gateway the same as API management?
No. The gateway is the runtime component that handles traffic. API management is the wider practice and tooling around it, including a developer portal, API lifecycle and versioning, subscription and key management, and analytics. Many products bundle both.
Keep exploring