x402 market intelligence (which API to call, who pays whom)
x402_lookupAnswers about the x402 agent-payments market from the whole Bazaar index and Base chain history. action=recommend: which x402 API to call for a need, ranked by fit, price and trust ($0.01). seller_check: is an x402 endpoint / seller trustworthy, its prices and payers ($0.01). payer_profile: a Base wallet's x402 payments, sellers and counterparties up to 3 hops ($0.03). seller_customers: who pays a seller and how much ($0.05). payments_feed: a wallet's payments in time order, with a cursor ($0.005). Bazaar index refreshed every 6 h; chain data real time. Paid with x402 (USDC on Base, Polygon or Solana) per call; failed or empty calls are never charged.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"action": "<action>"
},
"name": "x402_lookup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | seller_check: endpoint URL, host or payTo address. | |
| days | No | payer_profile / seller_customers: lookback days (default 30). | |
| need | No | recommend: the task in plain words, e.g. 'weather forecast for a city'. | |
| depth | No | payer_profile: hops (default 1). | |
| limit | No | recommend / payments_feed: rows to return. | |
| since | No | payments_feed: ISO time cursor from the previous response. | |
| action | Yes | Which question to answer (sets the price, see above). | |
| seller | No | seller_customers: seller host or payTo address. | |
| address | No | payer_profile / payments_feed: Base wallet 0x... | |
| network | No | recommend: e.g. base, solana. | |
| max_price | No | recommend: max USD per call. |