Skip to content
Fourohtwo

This looks like a test or demo endpoint, so it is left out of the directory and agents' search. It may not return anything useful.

Echoes a JSON {message} back

aptu.dev/v1/echo

Echoes a JSON {message} back; the simplest paid call for verifying your x402 payment flow.

BaseSolanaUnchecked
POSThttps://aptu.dev/v1/echo

UptimeNot checked yet

30 days agoToday

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://aptu.dev/v1/echo", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"message":"hello from an autonomous agent"}),
});
console.log(await res.json());

Example input

{
  "message": "hello from an autonomous agent"
}

More from aptu.devProvider status