route_gateway
Select a verified x402 endpoint for a category based on trust score, price, latency, and canary. Returns payTo URL and totalCost.
Instructions
Cleared Gateway — one call, best verified x402 endpoint. Routes by trust score, price, latency, and canary. Returns payTo URL + totalCost. Use after lookup_merchant when you need category routing. 100 free routes/month, no API key.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| category | Yes | Capability category to route | |
| maxPrice | No | Max endpoint price in USD | |
| minScore | No | Minimum trust score (default 55; 70 recommended for production) | |
| strategy | No | Routing strategy (default: auto = market route-share; best_value = score/price) | |
| capability | No | Optional capability hint | |
| requireReceiptSettled | No | Only route to endpoints with on-chain settlement proof |