Herald

Testnet only for now · Concordium

Charge the agents a person answers for.

Herald checks that a real person, over 18, birthday never shown, stands behind each AI agent that knocks on your API. Then the agent pays 7 CCD for a pass. Everyone else keeps your free tier, and you never learn who the person is.

18paid admissions at the door so far, on testnet

Pass
7 CCD
Lasts
15 min
Checks
11
HeraldReceipt 50c4506e

03 Dec 2026 07:18 UTC

  1. 01Badge presentyes
  2. 02Trusted registryyes
  3. 03Registered and activeyes
  4. 04Card untouchedyes
  5. 05Badge well-formedyes
  6. 06Linked keyyes
  7. 07A person stands behind ityes
  8. 08Payment requiredyes
  9. 09Payer is the badge holderyes
  10. 10Settled on chainyes
  11. 11Admittedyes
Paid7 CCD

Fee 0 CCD for the agent

Settled on chain5603932d…b6374afinalized · 5.53 CCD fee paid by Herald's sponsor
Receipt 50c4506e, 03 Dec 2026 07:18 UTC: all eleven checks passed, 7 CCD paid, admitted.

An agent knocks on your API. Today it is an API key and an IP address. If it scrapes you, spams you or runs up your bill, there is nobody to go back to.

02 How it works

Eleven checks. About ten seconds.

Every line below is from a real paid run on testnet. The free check stops at step 7. The paid door runs all eleven.

  1. 01Badge presentX-Agent-Badge header
  2. 02Trusted registryAgent Registry <12802,0>
  3. 03Registered and activeactive, token 1524
  4. 04Card untouchedsha256 cbec01d1… = on chain
  5. 05Badge well-formed0 warnings
  6. 06Linked keyno linked key (optional)
  7. 07A person stands behind itConcordium ID, zero-knowledge
  8. 08Payment required402, 7 CCD asked
  9. 09Payer is the badge holdersigned by the badge's agentWallet
  10. 10Settled on chaintx 5603932d…b6374a finalized
  11. 11Admittedpass: 15 minutes or 50 requests
  1. 01

    Badge

    The agent shows its Verified by Concordium badge. Herald looks it up in the CIS-8004 Agent Registry, checks it isn't revoked, hashes the agent's card itself and compares it with the hash pinned on chain. Then it checks the owner's Concordium ID proof.

    $ curl https://useherald.vercel.app/api/check/JyP9YVUwEXJHHMVD1FZNJ
    registry   <12802,0>            pass
    active     token 1524           pass
    card       sha256 cbec01d1…     matches the on-chain hash
    linked key none (optional)      pass
    person     Concordium ID proof  pass
  2. 02

    Pay

    If the badge holds up, Herald answers 402 and asks for 7 CCD. The agent signs a sponsored transfer, so it pays zero fees. Herald only settles if the payment is signed by the wallet the agent's owner registered. What it buys is a pass, and a pass works like a ticket: bought by that registered wallet, good for 15 minutes or 50 requests, and, like a ticket, usable by whoever holds it. If the badge is revoked, the pass stops working.

    HTTP/2 402 Payment Required
    payment-required: x402 v2, scheme exact
      amount    7000000 microCCD (7 CCD)
      payTo     4dGmvZdx…dtK17sgy6
      feePayer  3Psi9vUQ…XUcUdN5X  (Herald's sponsor)
  3. 03

    Enter

    The payment finalizes on chain in about ten seconds and the agent gets in. Every decision, yes or no, leaves a receipt with no personal data in it.

    settle   f37c09e9…5f96b3d7f9   finalized
    fee      5.079346 CCD (€0.0127, 635 energy), paid by Herald's sponsor
             0 CCD paid by the agent
    200 OK   pass: 15 minutes, up to 50 requests

03 The door tonight

Four visitors. One pays.

31 agents admitted, 116 refused, all on Concordium testnet.

REPLAY

Visitor

Badged. Registered, a real person behind it, the only one that pays.

Admitted

  1. badge found in Agent Registryyes
  2. badge not revokedyes
  3. Concordium ID proof validyes
  4. paid from the badge's own walletyes
  5. x402 pass paid, fee sponsoredtxyes
Paid 7 CCD · fee Herald sponsored 5.53 CCD · net to publisher 7 CCD, net cost to Herald 5.53 CCDLast real run on testnet, 03 Dec 2026 07:18 UTC
The last badged run, step by step03 Dec 2026 07:18 UTC
  1. 01Badge presentpass
  2. 02Trusted registrypass
  3. 03Registered and activepass
  4. 04Card untouchedpass
Show all 11 steps
  1. 05Badge well-formedpass
  2. 06Linked keypass
  3. 07A person stands behind itpass
  4. 08Payment requiredpass
  5. 09Payer is the badge holderpass
  6. 10Settled on chainpass
  7. 11Admittedpass

Where the 7 CCD went

FromThe agent's walletthe one its owner registered
ToThe publisher4dGmvZdx…dtK17sgy6
Fee fromHerald's sponsor3Psi9vUQ…XUcUdN5X
ToThe networkso the agent pays 0 CCD in fees€0.0127, 635 energy, measured

0CCD kept by Herald

See it on CCDExplorer ↗
Admitted
31
Refused
116
A badge is public. Paying is the proof.

Anyone can copy a badge. A payment can't be copied: it is signed by a key, and Herald settles it only if that key is the wallet the badge's owner registered on chain. A stranger with a copied badge passes the free check and is stopped at the till, before any money moves.

04 What Herald never sees

A person answers for the agent. Herald never learns who.

The owner proves one thing: that a real person, over 18, birthday never shown, stands behind the agent. It's a zero-knowledge Concordium ID proof, so Herald never sees anything personal. That's it.

Concordium IDwhat reaches Herald
Name
never sent to Herald
Documents
never sent to Herald
Birthday
never sent to Herald
Country
never sent to Herald
The proof
yes
a real person, over 18, birthday never shown

06 Try it

Check a badge

Paste any badge from the Concordium testnet registry. You get the verdict and the reason behind it, steps 1 to 7. Nothing is paid.

07 For your API

Put Herald in front of your API.

Two ways in: a free check you call from any stack, or the full door with payment. Or paste the curl below: it knocks on the live door with a badge and no payment, and Herald answers with a real x402 402. Nothing is signed or paid.

The free check shows a badge is valid and that a real person, over 18, birthday never shown, stands behind it. It does not show the caller owns the badge, because a badge is public and can be copied. Only the paid door proves ownership, since the payment has to be signed by the badge's own wallet.

Knock (raw 402)
curl -si -H "X-Agent-Badge: JyP9YVUwEXJHHMVD1FZNJ" \
  https://useherald.vercel.app/api/crawl/payer-binding
What comes back (captured 28 Nov 2026, trimmed)
HTTP/2 402
content-type: application/json
cache-control: no-store
x-herald-lane: payment_required
x-herald-mode: enforce
payment-required: eyJ4NDAyVmVyc2lvbiI6MiwicmVzb3VyY2UiOnsidXJsIjoiaHR0cHM6Ly91c2VoZXJhbGQudmVy…

{"verdict":"payment_required","checks":[{"step":1,"id":"badge","status":"pass"},
 {"step":2,"id":"registry","status":"pass","evidence":{"contract":"<12802,0>"}}, … ],
 "x402":{ … the same terms as the header … }}
Decode the PAYMENT-REQUIRED header
curl -s -o /dev/null -D - -H "X-Agent-Badge: JyP9YVUwEXJHHMVD1FZNJ" \
  https://useherald.vercel.app/api/crawl/payer-binding \
  | grep -i '^payment-required' | cut -d' ' -f2 | tr -d '\r' | base64 -d
The payment terms
{
  "x402Version": 2,
  "resource": {
    "url": "https://useherald.vercel.app/api/crawl/payer-binding",
    "description": "The Herald Dispatch: \"A badge is public, so paying is the proof\" (360 words)"
  },
  "accepts": [{
    "scheme": "exact",
    "network": "ccd:4221332d34e1694168c2a0c0b3fd0f27",
    "amount": "7000000",
    "asset": "CCD",
    "payTo": "4dGmvZdx8Wyhj9VZ1h7err1ddyDsDoPUPKzbHdFKAdtK17sgy6",
    "maxTimeoutSeconds": 300,
    "extra": { "feePayer": "3Psi9vUQEJPes397w7Hr5ap7Tzy4VoyvXpNPRphQRVXUcUdN5X" }
  }]
}
The free check
// A free check: is this badge valid? It does not show the caller owns it.
const badge = req.headers["x-agent-badge"];
const r = await fetch(`https://useherald.vercel.app/api/check/${badge}`);
const verdict = await r.json();

if (verdict.verdict !== "pass") {
  return res.status(403).json({ reasons: verdict.reasons });
}
// pass: the badge is valid and a real person, over 18, birthday never shown, stands behind it.
// A badge is public, so anyone can copy it. This check can't tell the owner from a copycat.
// Only the paid door proves ownership: the payment is signed by the badge's own wallet.
// So log it, or give the free tier. Don't hand out paid content on this alone.
next();
The full door
// Or let Herald hold the door and take the payment.
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { ExactConcordiumScheme } from "@x402/concordium/exact/client";

const pay = wrapFetchWithPayment(fetch, new x402Client()
  .register("ccd:4221332d34e1694168c2a0c0b3fd0f27", new ExactConcordiumScheme(wallet)));

const res = await pay("https://useherald.vercel.app/api/door/headline",
  { headers: { "X-Agent-Badge": myBadge } });   // 403, or 402 → pay → 200

What you get

Every agent that pays you has a real person, over 18, birthday never shown, behind it.

See an agent get in Agents pay from their own wallets. Agents with no badge keep the free tier. Herald earns nothing today.

18paid admissions at the door so far, on testnet