KrakenD
krakend.ioBuild Difficulty: 4/5
A few focused days to build a solid replacement
The fastest API gateway. True linear scalability.
How to Replace KrakenDOverview
Features
89 features across 17 categories
AI Gateway(8)
Granular token usage monitoring and enforcement to keep your AI expenses transparent and within budget
Ability to connect endpoints to AI providers and models
Enforce compliance, security, and operational guardrails inline with AI traffic
From isolated authorization flows to data masking and exfiltration prevention
Use Google's Gemini AI without writing custom integration code
Distribute AI requests across one or multiple Large Language Model providers or instances
Use OpenAI's API without writing custom integration code
Route to the right LLM, abstract the request and response interface
Caching(2)
Store backend responses in memory to reduce the number of calls a user sends to the origin, reducing the network traffic and alleviating your services' pressure
Set automatically cache headers for CDN or intermediate caching
Configuration(3)
Extends the flexible config adding $ref, nested directories, multiple settings file formats, conflict handling, debugging and more
Declare the configuration using templates and environment-specific values
Write the configuration in JSON, YAML, TOML, HCL and more
Debugging(1)
Dump requests and responses into files
DevOps(1)
Manage your API gateway exactly as you are managing the rest of the services today. Put the configuration in a version control system and delegate the needed parts to each team
Developer Tools(13)
Write your own Go plugins and side-load them with KrakenD to extend the functionality
With the OpenAPI exporter, you can automatically generate rich documentation websites. Have an OpenAPI? Then, create your API gateway using the OpenAPI specs
Generate Graphviz images displaying your configuration logic
Speed up development with a specific container with hot-reload functionality
Automatic validation as you type, showing documentation while hovering an attribute, explanation of errors, and autocompletion of properties
A visual tool to generate KrakenD configurations
Generate OpenAPI documentation from the KrakenD configuration
Import configurations from OpenAPI + Mocking server generation (Swagger v2 & OpenAPI 3)
Start an API gateway from an OpenAPI definition file
A ready-to-use image to build your custom Go plugins and embed them in KrakenD
A plugin generator that builds all the boilerplate necessary to develop your plugins
Generate Postman collections during the CI/CD stage
Validate configuration files (syntax, linting, route declaration testing)
Error Handling(1)
Override the policy of returning backend error details with different strategies (delegated, graceful degradation, forward, interpretation)
Integration(1)
Connect not only to REST APIs, but many other services like RabbitMQ, SNS, SQS, Kafka, GraphQL, gRPC, SOAP, Lambda
Monitoring(1)
Thanks to OpenTelemetry integrations and other exporters, you can push logs, metrics, and traces to your favorite processors or telemetry providers
Performance(2)
A speed-optimized JSON decoder for larger datasets and complex objects
Output compression of responses in gzip format
Request/Response Transformation(16)
Create faster interactions with automatic API Composition and aggregation of multiple data sources into a single response
Automatic output encoding and translation (XML, JSON, RSS, noop)
Create an API consumption layer that provides aggregated views of several services and returns only the needed data
Add validation rules to continue with the request or to return the response
Modify the data you return to the end-user, or the payload you send to your services. Filter fields, enrich responses, convert from SOAP, JSON or XML automatically
Filter, group, capture, rename, inject, and more on responses from services
Manipulate arrays and flatten objects from the response
Advanced helpers that run on Go's native implementation rather than Lua for better performance and extended functionality
Transform requests and responses with Lua scripts
Statically transform requests and responses through a simple DSL definition
Modify the response of your services with regular expressions
Craft the body you send to a backend through templates, and injecting other values from the user request such as the original body, headers, querystrings or URL parameters
Completely manipulate the response of a backend using Go templates before it is returned to the end-user
Select, slice, filter, map, project, flatten, sort, and all sorts of operations through a javascript-like query language
Use the output of a previous call to be chained in the next call
Create nested and dependent API consumption to complete a job
Routing(9)
Receives all the traffic from routes and methods that do not resolve to any of the other existing endpoints in the configuration
Route requests to one or multiple backends based on request headers or custom policy expressions
Allow the end-user to follow redirects set by services instead of the gateway resolving them
Header and query string processing to assemble the final upstream URL
JSON Web Token processing to assemble the final upstream URL
Proxy requests to a single backend without manipulation and preserving the response as is
Define a set of URLs or regular expressions that are handled by an endpoint
Run different configurations of KrakenD endpoints based on the host accessing the server
Create a single endpoint for a group of URLs sharing a common pattern (e.g.: /foo/*)
Security(13)
Check security and best practices recommendations of your configuration before going live
End-User validation and gateway to service validation: JWT, Client credentials, Oauth2, OpenID, API-Keys, Basic Auth, mTLS
OWASP recommendations that add a frame-breaking strategy
Cross-origin resource sharing
Enables the Cross-site scripting (XSS) filter in the user's browser
Binary with a FIPS 140-2 validated encryption module available
Resist impersonation by attackers using mis-issued or otherwise fraudulent certificates
Web security policy mechanism to protect websites against protocol downgrade attacks and cookie hijacking
Prevent the user's browser from interpreting files as something else than declared by the content type
Define a list of hosts that KrakenD should accept requests to
A powerful engine that evaluates requests, responses and tokens during runtime and allows you to perform business validation logic, ABAC, and RBAC
TLS configuration secured by default to TLS 1.3. Multiple certificates are possible
Explicit configuration for cookie, query-string, and headers forwarding
Testing(2)
Integrated tool to write integration tests to launch in your pipeline and check that the functionality works correctly
Add static/stub data as replacement of failing responses or while you are scaffolding your project
Traffic Control(2)
Control your traffic with rules like rate limiting, concurrent calls, shadow proxy, bot detection, circuit breaker, IP filtering, and others
Test new backends in production by sending them copies of the traffic but ignore their responses
Validation(2)
Validate the request body against a JSON schema
Ensure the response passes a JSON schema validation before returning it to the end-user
Cost Calculator
Pricing data not available for KrakenD. Check their website for current pricing.
Build vs Buy
Should you build a KrakenD alternative or buy the subscription? Estimate based on 89 features.
Buy KrakenD
Better ValueBuild Your Own
Buying KrakenD saves ~$110,880 over 3 years vs building.
Estimates based on 89 features and a BuildScore of 4/5. Actual costs vary.
Integrations
18 known integrations