Discover x402 services
x402.discoverFind paid HTTP APIs in the x402 Bazaar facilitator catalog, filter by query and USDC price ceiling, and return resource URLs for probing and payment.
Instructions
Discover 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.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "x402.discover"
}
}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 |