discover_servicesFree (kit)
Semantic search over the Bazaar index. Returns ranked candidates with payment config attached.
50+ services agents can discover and pay via x402 per call. Search a live catalog, resolve endpoints and payment terms, then invoke third-party services — no hard-coded vendor URLs required.
Search once. Let your agent find, price, and call on demand.
Send a free-text query with optional filters — network, asset, maxUsdPrice, limit. Returns ranked services with payment config from the CDP x402 Bazaar.
Fetch a single entry by resource URL. Returns the confirmed endpoint, docs URL, and OpenAPI spec. Use to verify terms before spending.
Request the HTTPS resource. On 402, the MCP layer handles x402 signing and retry automatically. Returns the response body plus settlement metadata.
discover_servicesFree (kit)
Semantic search over the Bazaar index. Returns ranked candidates with payment config attached.
get_serviceFree (kit)
Exact lookup by resource URL. Confirm endpoint, docs, and payment terms before calling.
paid_fetchVariable (third party)
Probe then pay on x402 resources. HTTPS only. Pays the service operator per their advertised terms.
Use maxUsdPrice and network/asset filters in discover_services to control spend on variable third-party calls.
Discovery tools run in the same MCP session as wallet and transfer tools. Tool descriptions guide discover → resolve → fetch.
Registration declares x402Support. Identity answers who; Discovery answers what paid APIs this agent can use.
Connects agents to the x402 Bazaar: search, resolve, and paid_fetch for fifty-plus payable APIs without hard-coding vendor URLs.
Spend caps apply to kit-priced tools. Steer variable third-party spend with maxUsdPrice and network filters in discover_services.
Discovery surfaces payTo, network, and asset. paid_fetch and x402 v2 complete per-call settlement in stablecoins.
MCP tools: discover_services, get_service, paid_fetch. Optional env: CDP_X402_DISCOVERY_BASE, PAID_FETCH_HOST_ALLOWLIST.
// tools/call · discover_services
{
"query": "weather forecast",
"network": "base",
"maxUsdPrice": "0.01",
"limit": 5
}No. discover_services and get_service use the public Bazaar discovery API through the kit.
Yes. Catalog tools do not require a bound wallet. paid_fetch needs payment capability when the target returns 402.
Use maxUsdPrice and network/asset filters in discover_services. Kit spend policy covers fixed-price kit tools; variable third-party costs are controlled at search time.
Search fifty-plus payable APIs once. x402 per request, stablecoins on chain.