For developers · Public API v1

Check a merchant before your agent pays.

One call tells you whether a website belongs to a company KYM has verified. It's free, with no key, no account and nothing to sign.

The one rule: check the host your agent is actually on, the one in the address bar or the payment request. Never a name, badge or code the page hands you. A copy of a site can copy all of those.

Check a website

Ask about a bare hostname: no scheme, no path.

Request

curl "https://registry.kymregistry.com/v1/verify?domain=shop.example.com"

JavaScript

const host = new URL(checkoutUrl).hostname;
const res = await fetch(`https://registry.kymregistry.com/v1/verify?domain=${host}`);
const { outcome, reason_code, company, listing } = await res.json();

Python

import requests
r = requests.get("https://registry.kymregistry.com/v1/verify",
                 params={"domain": host}, timeout=5)
outcome = r.json()["outcome"]

Answer for a verified merchant (shortened)

{
  "domain": "shop.example.com",
  "outcome": "VERIFIED",
  "reason_code": null,
  "credential_id": "kym-01JBQ8T7XN9P2K4M6R8W0Y3Z5A",
  "company": {
    "legal_name": "Example Trading Pte Ltd",
    "uen": "202512345K",
    "level": "admin-attested"
  },
  "listing": {
    "category": "electronics",
    "description": "Headphones, chargers and cables for phones and laptops.",
    "products": ["Wireless earbuds", "Chargers", "Cables"],
    "regions": ["SG", "MY"],
    "currencies": ["SGD"],
    "shipping_url": "https://shop.example.com/shipping",
    "returns_url": "https://shop.example.com/returns"
  },
  "checked_at": "2026-11-02T02:40:11.482Z"
}

The listing is what the company says it sells, reviewed by KYM: the facts without the marketing. It's read after the check and never changes the outcome.

The three answers

VERIFIEDGo ahead.A registered company proved it controls this exact website, and its credential is live.
UNKNOWNHold for a person.This business isn't in KYM's verified directory, so KYM can't confirm it. That says nothing against the business.
INVALIDRefuse.A credential was found and doesn't hold: a copy, a forgery, or one KYM withdrew.
Outcomereason_codeMeaning
UNKNOWNno_credentialNo KYM credential for this host, or the site couldn't be read.
UNKNOWNstatus_unreachableA check couldn't finish in time. Ask again shortly.
UNKNOWNsuspendedKYM is reviewing this merchant.
INVALIDdomain_mismatchThe credential names a different website. The classic copied site.
INVALIDbad_signatureNot signed by KYM, or edited.
INVALIDexpiredPast its expiry date.
INVALIDrevokedWithdrawn by KYM.

Find verified merchants

Looking for who sells something, rather than checking one site? Read the directory.

# Verified merchants, optionally by category and where they sell
curl "https://registry.kymregistry.com/v1/merchants?status=active&category=electronics&ships_to=SG"

# The category ids
curl "https://registry.kymregistry.com/v1/categories"

# Companies KYM lists but hasn't verified yet (verify answers UNKNOWN for these)
curl "https://registry.kymregistry.com/v1/listed?category=financial"

The directory helps you find merchants. It doesn't prove anything about the site your agent ends up on. Before paying, check that host with /v1/verify.

Check it yourself (optional)

You don't have to ask KYM each time. A verified merchant can publish its credential on its own site, and anyone can check it with KYM's public key:

  1. Read https://<host>/.well-known/kym.json. It holds {"credential": "<compact JWS>"}.
  2. Check the signature against the key named by its kid in registry.kymregistry.com/.well-known/jwks.json. KYM signs with ML-DSA-65 (FIPS 204). Libraries that handle it include Python cryptography 50+, jwcrypto 1.6+ and Node.js 24.6+ (node:crypto). Cache the key set for five minutes.
  3. Check that sub is exactly the host you're on and that the credential hasn't expired.
  4. Call its status_url, only if it's on registry.kymregistry.com. An active answer names the host, which must match. This is the one live call, and it catches a withdrawn credential straight away.

Not every merchant publishes the file. When a host has none, /v1/verify still finds its credential. Use it for full coverage.

Limits and failures

For AI assistants: the KYM MCP server

KYM also answers inside AI assistants through an MCP server, with tools to check a seller, find verified sellers and read a seller's catalog. It's open by invitation while we onboard merchants.
Ask for access

What KYM doesn't do

Building agents, a checkout or a payment flow? Talk to us.

Back to KYM