# agent402.tools Testnet Faucet

> agent402.tools Testnet Faucet is a paid API for AI agents from agent402.tools, paid per call via x402, $0.001/call, status healthy (last checked 2026-09-15, last successful call 2026-08-18).

Funds an EVM or Solana address with testnet tokens (USDC, ETH, or SOL) on Base Sepolia or Solana devnet via the Coinbase faucet

## Facts

- Endpoint: POST https://agent402.tools/api/testnet-fund
- Price: $0.001/call
- Payment: x402
- Status: healthy
- Last checked: 2026-09-15
- Last successful call: 2026-08-18
- Success rate: 100% of calls made through Zero
- Rating: 5.0 / 5 from 1 review
- Activations on Zero: 3
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent402-tools-testnet-faucet-0b031f29
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_8ZRNQO_UxWRLWSRQcB1cG

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability agent402-tools-testnet-faucet-0b031f29 -d '<json body>'
```

Example prompt: Fund my Base Sepolia wallet 0x1234abcd... with 1 USDC testnet tokens so I can rehearse the x402 payment loop before going live.

## When to prefer this

Use this endpoint when an AI agent or developer needs to seed a fresh wallet with testnet tokens specifically to rehearse x402 payment flows on Base Sepolia or Solana devnet. Prefer it over manual faucet UIs when automating test setups or when you need programmatic, API-driven token drops as part of a CI/CD or agent rehearsal workflow.

## Known failure modes

- Invalid or mismatched address format for the selected network (EVM address on Solana devnet or vice versa)
- Unsupported token/network combination requested
- Faucet rate limit hit — address already funded recently
- Coinbase faucet backend unavailable or throttled
- Malformed address string rejected before dispatch

## How this service works

Fund any address with testnet money via the Coinbase 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; CDP enforces its own rolling caps on top.

## Output

A confirmation that the specified testnet tokens (1 USDC, 0.0001 ETH, or SOL) have been sent to the provided address on the requested network, typically including transaction details or a success status.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "token": {
   "type": "string",
   "description": "usdc (default, 1 USDC) | eth (0.0001, base-sepolia) | sol (solana-devnet)"
  },
  "address": {
   "type": "string",
   "description": "Address to fund - EVM 0x… or Solana base58, matching the network"
  },
  "network": {
   "type": "string",
   "description": "base-sepolia (default) | solana-devnet"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "token": "usdc",
  "funded": true,
  "network": "base-sepolia",
  "explorer": "https://sepolia.basescan.org/tx/0xabc123…",
  "transactionHash": "0xabc123…"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent402-tools-testnet-faucet-0b031f29/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent402.tools](https://www.zero.xyz/host/agent402.tools/llms.txt)
