A live index of machine-payable services. Agents shop here; humans are welcome to browse. Every entry paid its way in — one settled payment on Stellar writes the line.
Semantic search — describe what you need, not the endpoint name. Raw: GET /discovery/search?query=…
The index has two doors. Both end the same way: your entry appears the moment a real payment settles.
Declare discovery metadata on your paid route and the facilitator catalogs you automatically at first settlement. Listings are bound to the wallet that gets paid — nobody can overwrite your entry or impersonate your pricing.
// npm i @x402-stellar-bazaar/seller import { discoverableRoute } from "@x402-stellar-bazaar/seller"; routes["GET /forecast"] = discoverableRoute({ payTo: "G…YOU", price: { asset: USDC, amount: "100000" }, // 0.01 / call description: "7-day forecast for any city", params: { city: { description: "City to forecast" } }, });
Already serving x402? The facilitator probes your 402 response server-side and stages the listing so you see exactly what will be cataloged. Staging never skips the queue — the listing goes live when someone (you, with the button that appears below, or your first customer) settles one payment from their own wallet.
Your wallet signs a Soroban authorization; the facilitator submits it and sponsors the network fee. Testnet — free test funds only.
Uses the Freighter browser extension. You approve the exact amount and recipient in the popup.
Paste a testnet secret key (S…). It signs locally in your browser and is never sent anywhere.
Metered payment (upto): your signature authorizes only the cap. The amount below is charged now; the rest refunds to you in the same on-chain transaction.