This demo shows how to use the Humanity Protocol SDK
Personalized Newsletter
This demo uses email and social accounts to personalize your feed. But that's just the start.
Humanity has 30+ presets covering identity, age, KYC, and financial data. Instant access to 25+ loyalty programs from airlines, hotels, and casinos. No BD calls required.
Connect with Humanity Protocol to see your personalized feed
What This Demo Shows
Explore the SDK features in action with the built-in developer panel
Live API Logs
See every SDK call in real-time with request and response details.
Identity Signals
Toggle signals on/off to see how the feed changes based on your credentials.
Code Examples
View the TypeScript code powering each feature. Copy and adapt.
Simple Integration
The Humanity Protocol SDK makes it easy to verify identity signals and build personalized experiences.
- OAuth 2.0 with PKCE for secure auth
- Batch preset verification in one API call
- Query Engine for complex credential checks
// Check social connections
const socials = await sdk.verifyPresets({
accessToken,
presets: [
'google_connected',
'linkedin_connected',
'discord_connected',
],
});
// Get connected accounts
const connected = socials.results
.filter(r => r.value === true)
.map(r => r.presetName);
// → ['google_connected', 'linkedin_connected']