Which paid x402 endpoint should I call for this task? ($0.02)
route_taskUse BEFORE paying an unknown x402 endpoint for a job ("token safety check", "web search", "weather forecast", "send USDC", "scrape a page"). Returns the x402 listings that real buyers actually pay for that job, ranked by relevance x distinct payers in the last 30 days x recency x price, with the top 3 probed live right now for a valid 402 (dead, mispriced or free-but-listed endpoints are flagged), plus mostProven / bestValue / cheapestProven picks. task = a few words; optional max_price_usd, network (any|base|solana), probe, limit. No match = error, not charged. PAID: $0.02 per call, no account. Pay with x402 over MCP (USDC on Base), or with a Route Pass (header Authorization: Bearer ap1...). An unpaid call returns the payment terms and charges nothing; bad input is rejected before any payment; failed work is never charged. Same data as GET /v1/route.
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": "route_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | No | What you need done, in a few words (<= 160 chars). Default "token safety check" | |
| limit | No | Candidates to return, 1-20 (default 8) | |
| probe | No | Live-probe the top 3 candidates (default true) | |
| network | No | any (default) | base | solana | |
| max_price_usd | No | Optional price ceiling per call in USD, e.g. 0.01 |