Which x402 API should I call
x402_recommendUse when your agent has a task it cannot do itself and must pick which paid x402 endpoint to call. Returns up to 5 ranked candidates with URL, price, network, method and the seller's own example body - plus the evidence: we challenged it ourselves and it answered 402, and its real payer and repeat counts. Never recommends our own endpoints: the index excludes them by construction. If nothing qualifies you get the near misses and why, never filler. Deterministic, no model. $0.01 per call, paid over x402 (USDC).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max | No | How many candidates to return, 1 to 5. Default 3. | |
| need | Yes | The task, in plain words. Scored against the name, tags, description and URL of every verified endpoint in the index. | |
| maxPrice | No | Optional ceiling in USD per call, for example 0.01. Candidates above it are dropped. |