Developer Tools · Integration Platforms
Krakend
A stateless Go gateway for aggregating and securing backend APIs
Krakend Community Edition is a stateless, declarative API gateway written in Go for teams exposing microservices through aggregated, transformed, and secured endpoints. It is Apache-2.0 licensed and free to run; KrakenD Enterprise adds commercial support and additional capabilities, but its price is quoted rather than published. There is no hosted SaaS version described in product pages.
Key facts
- License
- Apache-2.0
- Main language
- Go, Shell, Makefile, Dockerfile
- Maintainer
- KrakenD, independently operated within Shop Circle
- First released
- 2016
- Latest release
- v3.0.2, October 21, 2026
- GitHub stars
- 2,695, October 2026
- Hosted option
- None published; Enterprise is self-managed and priced by quote
What Krakend is
Krakend is a stateless, declarative API gateway that sits between clients and backend services, combining responses, applying policy, and presenting stable endpoints. The project began in 2016, when Albert Lombarte, Daniel López, and Daniel Ortiz created the underlying gateway work; the team page identifies Lombarte as CEO, López as CTO, and Ortiz as CIO [1]. Public KrakenD work appeared in November 2016, while the Community Edition repository was created on December 3, 2017 [2][3]. The repository lists 2,695 stars, 502 forks, 38 open issues, and named contributors led by kpacha with 702 contributions [3]. KrakenD joined Shop Circle in August 2025, while the announcement says the team continues operating independently [4].
How it works
The practical appeal is endpoint composition without writing a separate aggregation service. A configuration describes a public endpoint, its backend calls, response fields, authentication rules, timeouts, and policy. Krakend can call services concurrently, merge or filter responses, transform XML and JSON, cache backend responses, and expose a health endpoint. Rate limiting covers router and proxy layers, with bursting, load balancing, and circuit-breaker patterns described in the Community Edition README [3]. OAuth, JWT, CORS, HSTS, HTTP/2, TLS, and several security controls are included. A typical workflow is configuration-first: define routes in JSON, validate the configuration, run the gateway, then observe exported metrics, traces, and logs through the monitoring system already used by the team.
Architecture and recent releases
The Community Edition is written primarily in Go, with Dockerfile, Makefile, and shell code also present in the repository [3]. It is stateless, requires no centralized persistence for gateway nodes, and can run on Docker, Kubernetes, or ordinary self-managed hosts. Integrations named by the project include Prometheus, Grafana, Datadog, Zipkin, Jaeger, NATS, RabbitMQ, GraphQL, WebSockets, and gRPC-related capabilities across editions and examples. The v3.0.0 release on September 30, 2026 removed plugin support from Community Edition, removed the deprecated InfluxDB component, removed OpenCensus integration, and updated the configuration schema [2]. Version 3.0.2 followed on October 21, 2026, updating the RabbitMQ client and publishing Linux packages and archives [5].
License and pricing
Community Edition uses Apache-2.0, allowing commercial use, modification, redistribution, and private deployment under that license [3]. Its stateless gateway binary is the free open-source distribution. Enterprise is a separate commercial offering with features such as FIPS compliance, multiple identity providers, advanced transformations, additional connectivity, plugin support, professional services, and direct assistance from KrakenD engineers [6]. The Enterprise page says pricing is not linked to API count or throughput, but it does not publish a numeric price. The public product pages describe self-managed deployment and commercial support rather than a hosted SaaS service. Teams should therefore budget infrastructure and operations separately from any Enterprise contract, whose amount must be obtained from KrakenD.
Limitations and how it compares
The main limitation is configuration and edition choice: Community Edition is powerful for routing and composition, but the v3 line drops plugin support, while Enterprise retains plugins and adds commercial capabilities [3][6]. Kong Gateway offers a broader plugin-centered API management model, while Tyk and Apache APISIX provide other open-source gateway approaches with different control planes and extension models. Lura is the closest foundational alternative for engineers building a gateway from Go libraries, though it is a framework rather than a packaged gateway [7]. Pick Krakend Community Edition when stateless operation, declarative aggregation, and predictable self-hosting matter more than a built-in management portal; choose Enterprise when its support, security, or extension services are required.
Main features
- Endpoint aggregation. Combines concurrent calls to multiple backend services into one client-facing endpoint with configurable response composition.
- Declarative configuration. Defines routes, backends, policies, transformations, and operational settings in configuration suitable for GitOps workflows.
- Traffic protection. Provides rate limiting, throttling, bursting, load balancing, and circuit-breaker controls across gateway and backend traffic.
- Authentication controls. Supports OAuth, JWT, CORS, TLS, HTTP/2, HSTS, and related controls for protecting exposed API endpoints.
- Response transformation. Filters, reshapes, aggregates, and converts response content, including transparent XML and JSON format transformation.
- Observability integrations. Exports telemetry and connects with Prometheus, Grafana, Datadog, Zipkin, and Jaeger monitoring workflows.
- Stateless scaling. Runs independent gateway nodes without centralized persistence, allowing horizontal scaling through the surrounding deployment platform.
Self-hosting Krakend
Krakend Community Edition can run from the official Docker image, packaged Linux binaries, Debian packages, RPM packages, Alpine archives, or a source build using the repository Makefile. The project also documents Docker-based builds when Go is not installed, and its examples include Docker Compose environments. The gateway is stateless and does not require PostgreSQL, Redis, or object storage for its core operation. Deploy configuration files with the binary or container, expose the listener, and check the documented health endpoint. The project publishes signed release assets and recommends upgrading the 3.x line for security fixes. Community Edition 2.13 security fixes are not backported from 3.x, so teams retaining 2.x must maintain their own fork and build process.
Strengths
- Stateless nodes can scale without centralized gateway persistence.
- Apache-2.0 licensing permits commercial deployment and redistribution.
- Declarative aggregation reduces custom backend-for-frontend code.
- Release assets include packages, archives, signatures, and checksums.
Drawbacks
- Community Edition v3 removes plugin support.
- Enterprise pricing is not publicly listed.
- Configuration-heavy workflows may require strong deployment discipline.
What teams replace with it
Teams usually evaluate Krakend when they want to move off Amazon API Gateway, Kong Enterprise, Apigee.
For side-by-side commercial comparisons, browse our alternatives hub.
Open-source alternatives to Krakend
- Apache APISIX
- Tyk
- Lura
- Traefik
- Envoy
Frequently asked questions
Is Krakend free to use?
Krakend Community Edition is available under Apache-2.0 and can be downloaded as packaged binaries or run with Docker. The license permits commercial use, modification, and redistribution, subject to its license terms. Enterprise is a separate commercial edition with added capabilities and support. Running Community Edition still carries infrastructure, monitoring, security, and operational costs.
Can companies use Krakend commercially?
Yes. Community Edition uses Apache-2.0, a permissive license that allows commercial use, private modification, and redistribution with required notices and license conditions. Enterprise support and Enterprise-only functionality are governed separately by a commercial agreement. Teams should review the applicable license and contract before distributing modified binaries or purchasing commercial services.
How do you self-host Krakend?
Run the official Docker image, install a published Debian or RPM package, unpack an architecture-specific archive, or build from source with the Makefile. Configure routes and backends in the gateway configuration, expose the service port, and monitor the health endpoint. Core operation does not require PostgreSQL, Redis, or object storage because the gateway is stateless.
How does Krakend compare with Kong?
Krakend emphasizes a stateless, declarative gateway with aggregation, response shaping, and independent nodes. Kong is commonly selected for its plugin-centered management model and broader API management tooling. Krakend Community Edition v3 no longer supports plugins, while Enterprise retains plugin support. The better choice depends on whether configuration-driven composition or an extension-heavy control plane is the primary requirement.
Does Krakend keep API data private?
A self-hosted deployment keeps gateway traffic within infrastructure controlled by the operator. The Enterprise page specifically presents this model for privacy-sensitive sectors and describes security, identity-provider, and compliance capabilities. Privacy still depends on upstream services, logs, telemetry destinations, credentials, and network controls. Operators must configure retention, access, encryption, and monitoring according to their own requirements.
Similar projects to compare
- Apache APISIXApache-2.0Apache APISIX is an Apache License 2.0 API gateway for teams routing requests between clients and services. It uses NGINX, ngx_lua, LuaJIT, plugins, and several deployment modes. The gateway is free to deploy under its license, and the Apache project does not publish a first party hosted plan.
- TykMPL-2.0 for open source components, commercial license for eeTyk is an open source API and AI gateway for teams managing REST, GraphQL, TCP, gRPC, SOAP, and MCP traffic. Gateway code outside the ee directory uses MPL 2.0, while ee uses a commercial license. Tyk offers hosted Tyk Cloud, including a fully featured 48-hour trial without installation or a credit card.
- AutomatischAGPL-3.0 Community Edition; Enterprise License for .ee. filesAutomatisch is a visual business-automation platform for connecting services and running repeatable workflows without coding. The Community Edition uses AGPL-3.0, while files marked with .ee. use a commercial Enterprise License. Users can self-host it with Docker, and the project has also offered a hosted cloud option, though current public pricing is not established here.
- Hook0SSPL-1.0 (source-available); client SDKs MITHook0 is a webhook server and Webhooks-as-a-Service platform for SaaS teams that need subscriptions, signed delivery, retries, logs, and replay. The server is published under SSPL-1.0, a source-available license, while client SDKs use MIT. It offers free self-hosting and a managed European cloud, with paid cloud plans starting at €59 per month excluding VAT.