API Keys for Your App
with a Single Line of Code

Create, manage, and secure your API keys with enterprise-grade security. Perfect for teams of all sizes.

Core Features

Safe, convenient, flexible, and self-powered API key management

Safe

We don't store your API keys. One-click revoke at any time

Flexibile

Custom permissions for each API key & metadata

Convenient

A separate API key for client-side validation

Self-powered

KeyStash is powered by KeyStash

Everything You Need for API Key Management

Built with security and ease of use in mind

Soon!

Credits System

Monetize your API keys with a simple credits system

Soon!

Usage Analytics

Track and monitor API key usage with detailed analytics.

Simple SDK Integration

Add API key management to your app in minutes


import { createApiKeySdk } from 'keystash-sdk';

const sdk = createApiKeySdk({ });

// Connect with your Validate API key
await sdk.account.connect('13a314e8-9df2-4e98-922c-95abf8519a58')

// Create a new API key
const key = await sdk.spaces.keys.create(spaceId, {
	name: 'Production Key',
	permissions: [
		{ type: 'posts:read' },
		{ type: 'user:read', meta: { userId: 6541 } }
	],
	// Optional metadata
	meta: { userId: 6541 }
});

// Validate an API key
const isValid = await sdk.spaces.keys.validate(spaceId, 'b7690623-895c-4244-a316-c4c7a129f05c');

Simple Pricing

Start free, upgrade as you grow

Free

$0 /month

Perfect for testing

Get Started
  • 1 Space
  • 5 API keys
  • Basic analytics

Pro

$29 /month

For app developers

Start Free Trial
  • 10 Spaces
  • ∞ API keys
  • Advanced analytics
  • Custom permissions
  • Priority support

Enterprise

Contact us

For large organizations

Contact Sales
  • ∞ Spaces
  • ∞ API keys
  • Advanced analytics
  • Custom permissions
  • Priority support
  • Separate instance