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 & path | Seller | Price | With default policy |
|---|---|---|---|
GET /paid/search?q=… | search.demo | 0.05 USDC | Auto-approved |
POST /paid/summarize { "topic": "…" } | llm.demo | 0.20 USDC | Auto-approved |
GET /paid/dataset/market | data.demo | 3.00 USDC | Hold, needs approval |
GET /paid/dataset/secondary | data.demo | 2.00 USDC | Hold, or over budget after the market dataset |
GET /paid/scrape | scrape.xyz | 0.10 USDC | Refused: 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.