Skip to content
FossShelf
Home / Categories / For API Developers

Unkey

Unified API keys, gateways, and observability for developers.

Replaces Kong Konnect, Aws Api Gateway, Zuplo

5.48K starsFSL-1.1-ALv2last commit 6 Nov 2026
Screenshot of Unkey

Who it's for

Backend teams building external APIs with API key auth

Teams shipping APIs to external developers get key issuance, usage tracking per key, rate limiting, and access revocation from one service rather than building it themselves. The gateway layer handles auth checks before traffic reaches application code.

Your API uses OAuth or JWT-based auth exclusively. Unkey's key management is designed for API key flows; it does not replace an OAuth2 authorization server.

API-first startups consolidating multi-vendor stacks

Startups running separate hosting, gateway, and observability vendors can consolidate onto Unkey and reduce the number of dashboards, billing accounts, and integration points. The Git-based deploy flow fits teams already using GitHub or GitLab.

Your stack is fully standardized on AWS services. Unkey is a different deployment model; migrating from a fully AWS-native setup adds migration cost that may outweigh consolidation gains.

Developer tool companies managing per-customer usage

Companies whose product exposes an API to paying customers can use Unkey's per-key rate limiting, usage analytics, and upcoming developer portal to manage customer-tier access controls without building key infrastructure from scratch.

You need a feature-complete developer portal today. The self-serve portal is listed as coming soon and is not yet available.

Security-conscious teams needing instant key revocation

Teams that issue API keys to third parties and need hard security guarantees can rely on Unkey's globally consistent key verification and instant revocation. A compromised key stops working across all regions immediately, without waiting for cache expiration.

Your security model relies on short-lived JWT tokens with automated rotation. Unkey's revocation model is built for longer-lived API keys, not sub-minute token lifecycles.

The problem

Building and operating APIs at scale requires assembling multiple services from different vendors: a hosting provider, an API gateway, a key management service, a rate limiter, and an observability stack. Each adds its own dashboard, billing, configuration format, and failure mode. Teams spend significant time integrating these tools instead of building their product. The specific pain compounds at the boundary points. API keys issued in one system need to match rate limits enforced in another, while observability data lives in a third. When something breaks, debugging requires correlating logs across unrelated dashboards. As traffic grows, each vendor charges separately, and cost prediction becomes difficult across the fragmented stack.

How it works

API Key Lifecycle Management

Issue, verify, revoke, and set permissions on API keys through a global verification layer. Keys support per-key rate limits, RBAC roles, and fine-grained access scopes. Revocation takes effect immediately across all regions without waiting for cache expiration.

Git-Based API Deployment

Connect a Git repository and Unkey deploys automatically on every push. Each commit gets a preview environment for testing before promotion to production. Rollbacks switch back to the previous production instance in seconds; the prior version stays running for 30 minutes after a deploy.

Global Edge Gateway

Route requests through globally distributed gateways that enforce auth, rate limits, and request validation close to end users. The gateway handles OpenAPI schema checks, flagging breaking changes before they reach production. Edge enforcement reduces round-trip latency versus centralizing these checks in application code.

Durable Rate Limiting

Set rate limits per IP, user, or API key and enforce them at the edge. The system maintains globally consistent state across regions, so distributed clients cannot bypass limits by hitting different entry points. Limit violations are logged automatically alongside other request events.

Full-Stack Observability

Every request is logged automatically: verifications, rate limit decisions, audit events, and HTTP request/response pairs, without adding custom instrumentation. Filter by deployment, region, user, or custom tag to trace issues through the dashboard, or query verification data over the HTTP API from external systems.

Features

  • API Key Lifecycle Management
  • Git-Based API Deployment
  • Global Edge Gateway
  • Durable Rate Limiting
  • Full-Stack Observability

Recommended for this setup

Strengths

  • Single Control Plane for the Full API Lifecycle: Most teams need a separate hosting provider, gateway, key management service, and observability tool. Unkey covers all four in one product, so there is no integration work between them, no cross-system debugging, and one bill instead of several.
  • Preview Environments on Every Commit: Every commit gets an isolated preview environment automatically. Unlike AWS API Gateway or Kong Konnect, which require separate staging infrastructure, Unkey's branch-based previews are built into the deployment flow with no extra configuration.
  • Immutable Audit Logs: Every action across the workspace is recorded in an immutable audit log. Combined with per-request HTTP logs and rate limit decision records, this gives teams a full forensic trail without adding a separate logging pipeline.
  • Instant API Key Revocation: API keys can be revoked instantly across all regions. If a key is compromised, access stops immediately rather than waiting for a TTL to expire, which is the common failure mode in token-based systems.

Trade-offs

  • FSL License Prohibits Competing Managed Services: The Functional Source License 1.1 (FSL-1.1-ALv2) permits self-hosting and internal commercial use, but prohibits making the software available as a competing managed service or SaaS product. Teams building developer platform tooling on top of Unkey need to review whether their use case crosses this line. The code relicenses to Apache 2.0 two years after each version's release.
  • External Contributions Not Accepted: As of late 2026, Unkey is not accepting external pull requests while the core team focuses on platform direction. The repository remains public and forkable, but community-driven feature development is not an option. Bug reports and feature requests are still accepted via GitHub Issues.
  • Young Codebase with Ongoing Stability Work: Unkey was created in June 2023. With 195 open issues and a team-focused contribution model, it has fewer community-vetted deployments than older API gateway projects. Production adoption carries the normal early-product risk of undocumented edge cases and breaking changes between versions.

Tech stack

Languages
Go, TypeScript, Shell, CSS, Starlark, JavaScript, MDX, C, Go Template, Dockerfile, Makefile
Frameworks
Next.js, React
Databases
MySQL
Tooling
—

FAQ

Can I self-host Unkey?

Yes. Unkey is source-available under the Functional Source License 1.1 (FSL-1.1-ALv2), which explicitly permits self-hosting for any Permitted Purpose including internal commercial use. You cannot use it to run a competing managed service, but running it on your own infrastructure for your own APIs is within the license terms. The code relicenses to Apache 2.0 two years after each version's release.

What is the difference between Unkey and AWS API Gateway?

AWS API Gateway handles routing and basic authorization but does not include API key lifecycle management, developer-facing usage analytics, or application deployment. Unkey combines gateway functions with deploy pipelines, per-key analytics, and instant key revocation in one control plane. AWS API Gateway remains a stronger choice when you are already invested in AWS infrastructure and need native Lambda triggers, IAM policy-based authorization, or CloudWatch integration.

Does Unkey accept community contributions?

Not currently. As of late 2026, Unkey has paused external pull requests while the core team focuses on platform stability and direction. The repository remains public and forkable under the FSL-1.1-ALv2 license. Bug reports and feature requests are accepted via GitHub Issues.

What languages and frameworks does Unkey support for deployments?

The deployment platform supports Docker containers running any language or runtime. Unkey's own codebase is written in Go, but your API can use any stack that packages as a Docker image. The HTTP-based gateway and key verification API are callable from any language with an HTTP client.

Is Unkey open source?

Unkey is source-available, not OSI-certified open source. The code is public and forkable, but the Functional Source License 1.1 (FSL-1.1-ALv2) restricts use: you may run it internally, modify it, and redistribute it, but you cannot offer it as a competing managed service or SaaS. Each version relicenses to Apache 2.0 two years after its release date.

Similar tools

More in API Developers