402 PAYMENT REQUIRED · X402 DISCOVERY INDEX · stellar:testnet
DOCS GITHUB NPM

The Stellar Bazaar

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.

Running on Stellar testnet — every payment here uses free test funds. No real money moves.
loading the index…
Type Scheme View

Write yourself in

The index has two doors. Both end the same way: your entry appears the moment a real payment settles.

The front door

Take one payment

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" } },
});

Want the full walkthrough? Seller guide, step by step →

The side door

Stage your URL early

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.