Fund any address with testnet money from a testnet faucet
agent402.tools/api/testnet-fund
Fund any address with testnet money from a testnet faucet - USDC (1) or ETH (0.0001) on Base Sepolia, USDC (1) or SOL on Solana devnet - everything an agent needs to rehearse the complete x402 payment loop safely before moving real money. A tenth of a cent buys a full testnet dollar. Limits: 2 drips per address per day; the faucet enforces its own rolling caps on top.
POST
https://agent402.tools/api/testnet-fundUptime100% 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
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://agent402.tools/api/testnet-fund", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"address":"0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0","token":"usdc"}),
});
console.log(await res.json());Example input
{
"address": "0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0",
"token": "usdc"
}