Discover x402 services
x402.discoverDiscover paid HTTP APIs in the x402 Bazaar via the facilitator catalog. Call this first to find a resource URL, then x402.probe and x402.pay_and_fetch.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of catalog entries to return. Default 20. Range 1–100. | |
| query | No | Optional Bazaar search substring. Example: 'weather' or 'image'. Omit to list recent paid HTTP services. | |
| agent_id | No | Optional agent identity for quota accounting. Example: 'agent-42'. Omit to use the anonymous free-tier id. | |
| max_price_usdc | No | Optional USDC price ceiling. Example: 0.05. Omit to include any listed price. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |