Verify the agent, then enforce the signed trace at checkout.
Start with /api/v1/verify for identity, trust_score, and reasons. Add /api/v1/checkout/sessions when you need signed-trace enforcement for scope, spend, audience, and merchant policy. API keys are issued from the dashboard. The dashboard limits key creation to the environments assigned to your account.

From zero to first verification.
Pick a language, paste it into your checkout handler, set KYA_KEY, and call the endpoint before you authorize the payment.
Base URL: https://knowyouragent.xyz/api/v1
Endpoints, grouped by primitive.
The reference lists the available /api/v1 routes used in the workflows above.
One protocol, used from both ends.
What this API does not do.
- It does not process payments. It returns a signal your payment path can act on.
- It does not block transactions on your behalf. The decision stays with your system.
- It records the fields needed to evaluate and review a request. A verification record can include agent identity, merchant context, transaction amount and currency, merchant category, request IP, and the policy result.
Frequently asked, answered.
How does the KnowYourAgent verification API work?
Merchants send a POST request to /api/v1/verify with the agent’s kya_id and an optional transaction_context. The API returns a recommendation (accept / review / decline), a trust_score and trust_level, the posted operator identity, the reasons behind the decision, and a verification_id you can store against the order.
What authentication does the KYA API require?
Business API requests accept an API key as a Bearer token. API-key management routes use your signed-in dashboard session. Trace tokens (X-KYA-Trace-ID) are Ed25519-signed JWTs minted by /api/v1/trace/generate; they carry transaction authorization and do not replace caller authentication.
Is there a Node or Python SDK?
Not yet. The versioned REST API works with standard HTTP clients. The Quickstart tabs above show raw Node, Python, and cURL requests without a KYA SDK dependency.
How do I add KYA verification to my checkout?
Call /api/v1/verify to get a recommendation. If checkout must enforce signed-trace scope, amount, audience, or merchant policy, create a checkout session with /api/v1/checkout/sessions before you authorize payment.
Our engineers will pair with your team on the first verification call, at no charge.
We are onboarding a small group of merchants and operators by hand. That means you get direct access to the people building the protocol, not a support queue.