Skip to Content
KryptWarden Developers
REST APIs

Demo sellers

Five paid x402 endpoints for testing agents.

Base URL: https://demo-apis.kryptwarden.xyz

Each endpoint under /paid returns 402 Payment Required until it's paid, then a small JSON response. They're priced to exercise every policy path with the default agent settings (1.00 auto-approve, 5.00 daily budget).

Method & pathSellerPriceWith default policy
GET /paid/search?q=…search.demo0.05 USDCAuto-approved
POST /paid/summarize { "topic": "…" }llm.demo0.20 USDCAuto-approved
GET /paid/dataset/marketdata.demo3.00 USDCHold, needs approval
GET /paid/dataset/secondarydata.demo2.00 USDCHold, or over budget after the market dataset
GET /paid/scrapescrape.xyz0.10 USDCRefused: seller not allowed

Seller addresses are on Network & addresses. Payments settle through pay.kryptwarden.xyz.

Try the 402

curl -i "https://demo-apis.kryptwarden.xyz/paid/search?q=soroban"

You'll get 402 and a PAYMENT-REQUIRED header (base64 JSON) with the price, payTo, asset and network. Paying it by hand is fiddly; use the SDK:

const res = await kw.fetch("https://demo-apis.kryptwarden.xyz/paid/search?q=soroban");
console.log(await res.json());
{
  "seller": "search.demo",
  "sellerAddress": "GCHRL24OMYFAXGPGLJCIU74ZFKMIPG2P7I3OIEVM436KTQBQHX3CJ4Q2",
  "query": "soroban",
  "results": [
    { "title": "Stellar x402 Protocol Specification", "snippet": "…" },
    { "title": "Soroban Custom Accounts (__check_auth)", "snippet": "…" }
  ],
  "timestamp": "2026-12-01T12:00:00.000Z"
}

The responses are canned demo data. Only the payment is real (on Testnet).

GET /health

Returns the service status and the seller addresses it's configured with.

On this page