Embed

Show your verification anywhere.

Paste one line of HTML on your site. Visitors see a live verified badge linking to your Passport page. Tier and revocation status update automatically.

Live preview

Replace the ID below with your own to see your real badge.

1. Inline (recommended)

Drop in the exact spot you want the badge to appear.

<script
  src="https://aiidentity.org/badge.js"
  data-identity="aii_YOUR_IDENTITY_ID"
  async
></script>
Select to copy

The badge renders directly after the script tag. Copy the snippet and replace aii_YOUR_IDENTITY_ID with the ID from your dashboard.

2. Custom slot

If you want full control over where the badge appears.

<!-- in <head> once -->
<script src="https://aiidentity.org/badge.js" async></script>

<!-- anywhere in the page, as many times as you like -->
<span class="ai-identity-badge" data-identity="aii_YOUR_IDENTITY_ID"></span>
Select to copy

The script scans the page for any element with class ai-identity-badge and a data-identity attribute, then renders the badge there.

3. Floating corner badge

A pinned corner badge (like Trustpilot or Cloudflare).

<!-- in <head> -->
<meta name="ai-identity" content="aii_YOUR_IDENTITY_ID">
<script src="https://aiidentity.org/badge.js" async></script>
Select to copy

With just a meta tag and the script, the badge auto-pins to the bottom-right of every page.

4. Server-side / framework-native

Render the badge yourself from the JSON API — or use the official SDK.

Building in Node, an edge function, or a React Server Component? The official @aiidentity/sdk gives you typed access to the same data with one line: const data = await whois("aii_YOUR_IDENTITY_ID"). Or hit the JSON endpoint directly:

GET https://aiidentity.org/api/badge/aii_YOUR_IDENTITY_ID
→ {
  "ok": true,
  "identity": { "id", "display_name", "tier", "status", ... },
  "attribution": { "kind", "display_name", "verified_at", "expires_at" } | null,
  "passport_url": "https://aiidentity.org/p/..."
}
Select to copy

CORS open, cached 60s on the edge. Use this from React Server Components, Next.js, Astro, etc.

Why a backlink helps you and us.

The badge links to your /p/<id> Passport page. Anyone clicking sees a public, cryptographically-verifiable record — even if they’ve never heard of AI Identity. Trust comes from the click-through, not the badge image. We can’t stop someone faking a static image; we can stop the link being faked.

Need help installing? Contact the team · Or read the full API spec .