Getting Started
Step 1: Create an Account
Sign up for a free account to get started. No credit card required.
Sign Up →Step 2: Generate an API Key
After logging in, navigate to your dashboard and generate your first API key.
- Go to Dashboard
- Click "Generate Key"
- Copy your API key (you'll only see it once!)
Step 3: Test the API
Use our playground to test the API endpoints before integrating into your application.
Open Playground →Step 4: Integrate
Integrate the API into your application using the documentation.
View Docs →Example Code
// Create a challenge
const challengeResponse = await fetch('https://keyclaim.org/api/challenge/create', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({
key: 'kc_your_api_key',
ttl: 30
})
});
const { challenge } = await challengeResponse.json();
// Validate the response
const validateResponse = await fetch('https://keyclaim.org/api/challenge/validate', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({
key: 'kc_your_api_key',
challenge: challenge,
response: 'your_response_value'
})
});
const { valid, signature } = await validateResponse.json();