Build your API, not Auth

Unkey is an open source API authentication and authorization platform for scaling user facing APIs. Create, verify and manage low latency API keys in seconds.

Youtube
0
Workspaces
0
APIs
0
Keys
0
Verifications

Code

Any language, any framework, always secure

Unkey ensures security across any language or framework. Effortlessly manage API Keys with an intuitive console, providing timely data and streamlined settings for a seamless coding experience.

1import asyncio
2import os
3import unkey
4
5async def main() -> None:
6 client = unkey.Client(api_key=os.environ["API_KEY"])
7 await client.start()
8
9 result = await client.keys.verify_key("prefix_abc123")
10
11 if result.is_ok:
12 print(data.valid)
13 else:
14 print(result.unwrap_err())
15

oss/acc

Empowering the community

Unkey allows open-source contributions through Github, enabing collaboration and knowledge sharing with all the developers in the world.

Platform

Efficient integration and process, always

Elevate operations effortlessly with our platform - seamless processes, reliable analytics, and billing ensure unparalleled efficiency and accuracy for all your integrated tasks and workflows

cURL
1curl --request GET \
2 --url https://api.unkey.dev/v1/keys.getKey \
3 --header 'Authorization: <authorization>'
4 {
5 "apiId": "api_1234",
6 "createdAt": 123,
7 "deletedAt": 123,
8 "expires": 123,
9 "id": "key_1234",
10 "meta": {
11 "roles": [
12 "admin",
13 "user"
14 ],
15 "stripeCustomerId": "cus_1234"
16 }
17 }
18

Realtime Analytics

Empower decision-making with real-time analytics for swift, informed actions based on the latest data trends.

Global low latency

Deliver a global, seamless user experience with our low-latency infrastructure for swift access to your services.

Andreasretrieved API usage data

8 ms

Usage based billing

Commercialise your API, establish transparent billing effortlessly on the Unkey platform for efficient and streamlined financial processes.

Protection

Unleashing Operational security

Unkey enables operational security with innovative open-source contributions, secure API validation, and automated access control for global developers.

One-way hashed Keys

Enhance authentication security with one-way hashed keys, ensuring irreversible encryption for sensitive information protection.

Audit Logs

Maintain detailed audit logs for comprehensive and transparent monitoring, ensuring security and compliance.

IP Whitelisting

Ensure secure access control by allowing only designated IP addresses to interact with your system, adding an extra layer of protection.

1

2

3

4

5

6

{ "rateLimit": { "limit": 10, "interval": 1000 } }
Creating keys...

sk_TEwCE9AY9BFTq1XJdIO

Rate Limits

Implement granular control over access with per-key rate limiting, preventing abuse and optimizing the performance of your services.

More

Leveled-up API Auth

Elevate your API authentication with our leveled-up system. Experience heightened security, efficiency, and control for seamless integration and data protection.

Multi-Cloud

Seamlessly scale and distribute your services with multi-cloud support, allowing you to use unkey with any cloud provider effortlessly.

Data Retention

Align data storage with compliance goals, customize retention for regulatory requirements, and effortlessly maintain data integrity.

API-first / UI-first

Enjoy flexibility and control with both API and user-friendly UI access, ensuring a smooth experience for developers and non-technical users alike.

Role-Based Access Control

Fine-tune access privileges with role-based control per key, enabling precise management and ensuring security at every level.

Detect and Protect

Take immediate control over your system's security with the ability to instantly revoke access keys, providing swift response to potential threats.

SDKs

Accelerate development with Software Development Kits (SDKs), providing tools for seamless integration processes.

Vercel Integration

Effortlessly deploy applications with Vercel integration, streamlining the development-to-deployment pipeline for optimal efficiency.

Automatic Key Expiration

Simplify key management with automatic key expiration, reducing the risk of unauthorized access over time.

Usage Limits per Key

Collaborate effectively within your organization by organizing teams, streamlining communication for group-based projects.

Protect your API. Start today.

2500 verifications FREE per month.

No CC required.