Developer Quickstart

Integrate in
5 minutes.

Add proof-of-humanity to any app. No biometrics. No KYC. Three lines of code.

Quickstart — 4 steps

01

Install the SDK

bash
npm install @humanlayerlabs/sdk

Also available for React and wagmi.

02

Verify a wallet

typescript
import { HumanLayer } from '@humanlayerlabs/sdk';

const isHuman = await HumanLayer.isHuman(wallet);
// Returns: true | false

No API key required for the free tier.

03

Gate access by score

typescript
const access = await HumanLayer.gateAccess(wallet, {
  minScore: 60  // Builder tier and above
});

if (access.allowed) {
  // Real human — grant access
  console.log(access.identity.score);    // 82
  console.log(access.identity.tierName); // "Builder"
} else {
  // Bot or unverified — deny access
}

Score ranges from 0–144 across five tiers.

04

You're live.

typescript
// That's it. Your app now only lets real humans through.
// No biometrics. No KYC. No personal data stored.

Deploy and share your integration.

Integration options

Pick your integration.

wagmi Connector

Drop-in connector for any wagmi app. Silently checks Human Score on every wallet connection.

bash
npm install @humanlayerlabs/wagmi-connector
typescript
import { humanlayerConnector } from '@humanlayerlabs/wagmi-connector';

export const config = createConfig({
  connectors: [
    humanlayerConnector({ minScore: 60 })
  ],
});
Free to start
/v1/verify · /v1/badge · /rank
Free endpoints
Open CORS · Any stack
No API key needed
Build without friction
No rate limits on free tier