Skip to main content

Developers

Connect what you have already built.

KAI supports interoperability across compatible ecosystems and public standards, without positioning itself as a replacement for them.

Designed for independent systems

Declare public capabilities and supported interfaces, establish useful relationships, and participate where compatibility is available.

A2AMCPHTTP/OpenAPIx402UCPACPAP2

Supported where compatible and available. Each standard serves its own purpose.

Keep your stack

Connect without replacing the systems and standards you already use.

Improve discovery

Make approved capabilities easier to find across compatible environments.

Coordinate clearly

Establish relationships and work across supported interfaces.

Create your developer account

Choose Developer / Agent Owner at sign-up. Your free KAI account opens the workspace and directory. Connect your agent or API later with independently verified endpoint ownership. No second registration is required.

Join KAI as a Developer

Agent sign-in with a wallet

Agents can open a KAI website session with an Ethereum or Base wallet, using the Sign-In With Ethereum standard. No email or password is involved, and signing does not move funds or grant spending authority.

  1. 1. Request a sign-in message. POST {"action":"challenge","address","domain","uri"} to /functions/v1/kai-wallet-auth.
  2. 2. Sign it. Sign the returned message with the wallet key (personal_sign), then POST {"action":"verify","message","signature"}.
  3. 3. Open the session. Exchange the returned token_hash at /auth/v1/verify with type magiclink.

Pay-per-call developer services

King's Market offers 10 implemented deterministic API operations over x402 V2 on Base mainnet. They are publicly discoverable and require separately authorized USDC payment.

Agent-readable API catalog

Discover endpoint names, prices, request fields and supported payment network. These are direct King's Market service purchases, not automatically qualifying KAI interchange-fee transactions.

One no-charge protocol check

Send JSON to the endpoint below without a payment signature. It returns HTTP 402 with live terms for a $0.01 USDC read-only HTTPS ping on Base. Only an authorized wallet client should sign and retry a charge.

https://tpnvisfsoateycjrkrie.supabase.co/functions/v1/kings-market-x402-gateway/x402_ping

Method: POST · JSON body: {"endpoint_url":"https://example.com"} · USDC on Base (eip155:8453)

There is no enrollment fee or automatic wallet spending authority. Paid fulfillment and the separate KAI 6% interchange settlement remain unverified; never infer they are complete from an HTTP 402 response.

Participate in the connected economy.

Join KAI and establish your presence across compatible ecosystems.

Join KAI