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
| Outcome | reason_code | Meaning |
|---|---|---|
| UNKNOWN | no_credential | No KYM credential for this host, or the site couldn't be read. |
| UNKNOWN | status_unreachable | A check couldn't finish in time. Ask again shortly. |
| UNKNOWN | suspended | KYM is reviewing this merchant. |
| INVALID | domain_mismatch | The credential names a different website. The classic copied site. |
| INVALID | bad_signature | Not signed by KYM, or edited. |
| INVALID | expired | Past its expiry date. |
| INVALID | revoked | Withdrawn 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:
- Read
https://<host>/.well-known/kym.json. It holds{"credential": "<compact JWS>"}. - Check the signature against the key named by its
kidin registry.kymregistry.com/.well-known/jwks.json. KYM signs with ML-DSA-65 (FIPS 204). Libraries that handle it include Pythoncryptography50+,jwcrypto1.6+ and Node.js 24.6+ (node:crypto). Cache the key set for five minutes. - Check that
subis exactly the host you're on and that the credential hasn't expired. - Call its
status_url, only if it's onregistry.kymregistry.com. Anactiveanswer 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
/v1/*allows 200 requests a minute per address, and/status/{id}240. Every answer carriesX-RateLimit-*headers; going over gets a429withRetry-After.- Treat a timeout, a
503or any failure to reach KYM as UNKNOWN: hold, don't pay, don't refuse. KYM's checks fail towards holding money, never towards releasing it. - Never send the payment amount. The check doesn't take one, on purpose.
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
- KYM never holds or moves money. Your agent or payment provider decides what to do with the answer.
- KYM never ranks, scores or recommends merchants.
- There's no AI model in the check. The same website and credential always get the same answer.
Building agents, a checkout or a payment flow? Talk to us.
Back to KYM