Requests exploration of Bazaar support for Stellar within the x402-stellar project. Bazaar is an AI-agent discovery layer for x402-compatible API endpoints, enabling autonomous discovery and payment for APIs.
[Bazaar](https://docs.cdp.coinbase.com/x402/bazaar) is the AI-agent discovery layer built on top of the x402 protocol — a machine-readable catalog that indexes x402-compatible API endpoints (URLs, prices, accepted payment methods, and input/output schemas) so AI agents can autonomously discover, pay for, and consume APIs without manual setup or API keys. Bazaar is shipped as `@x402/extensions` and provides: - `withBazaar` — wraps an x402-protected route with structured metadata describing inputs, outputs, and schema so AI agents can discover and invoke it - `bazaarResourceServerExtension` — registers the resource server with the Bazaar discovery network - `declareDiscoveryExtension` / `extractDiscoveryInfo` — HTTP and MCP extension points for agent-facing discovery - Discovery endpoints: `https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources` (prod) and `https://x402.org/facilitator/discovery/resources` (testnet) ### Current State `@x402/extensions/bazaar` is pulled int