Unkey
Identity and access · Free + paid
An API key and rate-limiting platform: creation, verification, revocation, and analytics help protect your product's API.

What you can use for free
The open source component used locally or self-hosted for the stated workflow, within its license terms.
Paid features and costs
Your own server, external APIs, and compute; managed cloud hosting, support, and additional commercial features if selected.
Access and limitations
Code licensing and hosting costs are separate matters. Check the conditions for the specific version and edition.
Use cases
- Add API key issuance and revocation
- Issue a key, make a request, revoke the key, and repeat the request
Example workflow
A possible workflow; this is not a report of hands-on testing.
Add API key issuance and revocation
Before you start
- A test API, scope rules, and request budget.
- A test project and completion criteria for the task: Add API key issuance and revocation.
Steps
- Set up Unkey to test: A test API, scope rules, and request budget.
- Issue a key, make a request, revoke the key, and repeat the request.
- Integrate the checked version into your project; document its configuration, limitations, and recovery method.
Check your result
- Revoked keys do not work; secrets and scopes are not exposed to clients or logs.
- Check the result against a reference example; separately confirm the terms of any assets and external services used.
Choosing Unkey
Add API key issuance and revocation
Choose this when
- Add API key issuance and revocation
- Issue a key, make a request, revoke the key, and repeat the request
Requirements
- keys.verifyKey v2 requires a root key with api.<API_ID>.verify_key permission or an applicable wildcard; it is passed as a Bearer credential.
Things to consider
- Costs and limits of free use: Your own server, external APIs, and computing resources; managed cloud hosting, support, and additional commercial features if selected.
- Terms of use: AGPL-3.0; individual components have different licenses.
- The v2 verification request no longer accepts apiId: root key permissions determine API access. v1 response handling must be adapted to response.data.
Frequently asked questions
What can you use for free in Unkey?
The openly available portion, used locally or self-hosted for the stated use case within its license terms.
What additional costs might arise with Unkey?
Your own server, external APIs, and computing resources; managed cloud hosting, support, and additional commercial features if selected.
What terms of use matter for Unkey?
AGPL-3.0; individual components have different licenses.
How do you get started with Unkey?
Set up Unkey to test: A test API, scope rules, and request budget. Issue a key, make a request, revoke the key, and repeat the request. Integrate the checked version into your project; document its configuration, limitations, and recovery method.
What changes when moving Unkey key verification from v1 to v2?
The migration guide moves responses into a meta/data envelope, remaining-request parameters into credits, and limits into a ratelimits array. Permissions are checked with a string expression rather than the previous object.
License
AGPL-3.0; individual components have different licenses.
AGPL 3.0 — copyleft with a network-service condition
Use, modification, and commercial use cases are permitted. GPL obligations apply to distribution. If you modify an AGPL-covered program and let users interact with it over a network, you must offer them the corresponding source code for that version. This applies to the covered program, not automatically to all your data or independent applications.
License termsEach asset has its own rights
A catalog or gallery does not grant one license for all its content. Check code, fonts, images, models, and templates under the specific resource's license. Studying an idea and creating your own implementation is a different use case from copying source code or assets.
Technologies and topics
- Unkey
- Identity and access