82trust / 100
Route Execute
by Route and execute in Onchain & crypto
x402 APIPassing, checked 1 h ago
Describe a task in plain language (or name a tool slug) and the Smart Order Router resolves the best-matching tool across this catalog and the open x402/MPP seller index, then runs it in the same call and returns the result with a receipt. Flat price covers any tool listed at $0.005 or less. Use it when an agent wants one paid request that both finds and executes the right capability.
POST https://agent402.tools/api/route/execute
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 188 ms typical, 188 ms slowest 5%
- Last check
- 1 h ago
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X POST "https://agent402.tools/api/route/execute" \
-H "content-type: application/json" \
-d '{"params":{"algo":"sha256","text":"agent402"},"slug":"hash"}'import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
const client = new x402Client().register(
"eip155:8453",
new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fagent402.tools%2Fapi%2Froute%2Fexecute
const res = await pay("https://agent402.tools/api/route/execute", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"params":{"algo":"sha256","text":"agent402"},"slug":"hash"}),
});
console.log(await res.json());Example input
{
"params": {
"algo": "sha256",
"text": "agent402"
},
"slug": "hash"
}Example output
{
"receipt": {
"callRef": "sha256:… (recomputable: sha256 of {\"nonce\":<payment authorization nonce>,\"slug\":…,\"ts\":…} - null on nonce-less calls)",
"paidUsd": 0.01,
"resolvedBy": "slug",
"route": "POST /api/hash",
"routingFeeUsd": 0.009,
"seller": "internal",
"slug": "hash",
"ts": "2026-07-10T00:00:00.000Z",
"underlyingPriceUsd": 0.001
},
"result": {
"algo": "sha256",
"base64": "…",
"hex": "…"
}
}Security scan
- No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 1 h ago | Passed | 402 | 375 ms | $0.01 |
| 7 h ago | Passed | 402 | 188 ms | $0.01 |