---
aimd: "1.0"
mako: "1.0"
type: "article"
entity: "Developers — verify the registry"
updated: "2026-09-16"
tokens: 70
language: "en"
canonical: "https://revoked.aifeed.md/developers"
summary: "Ten lines of Node that verify a registry document."
alternates:
  - url: "https://revoked.aifeed.md/developers/"
    lang: "en"
  - url: "https://revoked.aifeed.md/id/developers/"
    lang: "id"
media:
  cover:
    url: "https://aifeed.md/og-image.png"
    alt: "Developers — verify the registry"
---

[Home](/) / Developers

# Verify the registry

```
const { verifyRevocationDocument } = require('./lib/revocation');
const document = await fetch('https://revoked.aifeed.md/revocation/suspended.json').then(r => r.text());
const result = verifyRevocationDocument(document, {
domain: 'revoked.aifeed.md',
governanceKeys: ['ed25519:...', 'ed25519:...']
});
console.log(result.result, result.status); // valid suspended
```

The verifier checks the threshold, fingerprints, expiry, and domain binding before reporting a status.
