Recommend paid APIs for a task
recommendFind the paid x402 API to call for a plain-language task, ranked with endpoint URLs, prices, payment networks, request templates, and risk evidence. Use it when you do not know which API to call.
Instructions
Find which paid x402 API to call for a task described in plain words, ranked with evidence. Each pick has the endpoint URL, provider price and payment network, a ready request template, liveness, delivery evidence and risk flags. Use it when you do not yet know which API to call; use inspect instead when you already have one exact endpoint URL, and receipt to confirm settlement after paying. Write need as the task itself ("current weather in Paris"), not a product name; narrow with max_price_usd or chain, and use view=compact to save tokens. Free demo: need exactly "weather", "crypto prices" or "web search" (any case); every other need, including longer weather phrasings, costs 0.01 USDC. Pays only if the wallet owner set AGENTS_TRUST_ENABLE_PAYMENTS=true and AGENTS_TRUST_WALLET_PRIVATE_KEY (Base USDC): one paid call per process, at most AGENTS_TRUST_MAX_CALL_USDC (default 0.01), never retried. Otherwise it errors without paying; errors and empty results are free. Returns JSON {data, payment_attempt_id, request_id}; payment_attempt_id is set only after a paid answer, for use with receipt. data.picks may be shorter than limit, or empty, when evidence is insufficient.
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": {
"need": "<need>"
},
"name": "recommend"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| live | No | Only 1 is accepted, which is also the default: prefer endpoints with recent liveness evidence. | |
| need | Yes | The work you need done, in plain words, e.g. "weather forecast for Berlin" or "translate text to German". 2–300 characters with at least two letters or digits. | |
| view | No | Response detail: compact (smallest, pick essentials and request template), evidence (adds ranking, liveness, delivery and payment evidence per pick) or legacy (default, original field layout). | |
| chain | No | Only return providers that accept payment on this network, as a CAIP-2 id, e.g. eip155:8453 for Base. | |
| limit | No | Maximum number of picks, 1–5. Default 3. | |
| max_price_usd | No | Highest provider price per call in USD you accept. Separate from the 0.01 USDC recommendation fee; the provider's own quote at call time is authoritative. |