Skip to content
Fourohtwo

agent402.tools/api/route/execute-plus

Describe a task (or name a slug) and the Smart Order Router resolves the best-matching tool and RUNS it in the same call - flat $0.05 covering any tool listed at $0.04 or less, from THIS host's catalog or any external seller in the open index - x402 sellers, or MPP sellers on Tempo (Agent402 buys.

SolanaBaseAnswering
POSThttps://agent402.tools/api/route/execute-plus

Uptime100% of 1 check in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://agent402.tools/api/route/execute-plus", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"task":"look up the DNS records of a domain","params":{"name":"example.com","type":"A"}}),
});
console.log(await res.json());

Example input

{
  "task": "look up the DNS records of a domain",
  "params": {
    "name": "example.com",
    "type": "A"
  }
}