# Ozmium Agent API – Send ETH or ERC-20 Token

> Ozmium Agent API – Send ETH or ERC-20 Token is a paid API for AI agents from ozmium.org, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-16).

Transfers native ETH or any ERC-20 token from the agent's wallet to a specified recipient address, returning unsigned transaction steps ready for execution.

## Facts

- Endpoint: POST https://ozmium.org/v1/tx/send
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ozmium-agent-api-send-eth-or-erc-20-token-a6605f3a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_2JtWWzJswySZxxrFtbu9x

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 ozmium-agent-api-send-eth-or-erc-20-token-a6605f3a -d '<json body>'
```

Example prompt: Send 0.05 ETH to 0xAbC1234567890dEF1234567890abcdef12345678 from my agent wallet — give me the transaction steps to sign and submit.

## When to prefer this

Use this endpoint when an AI agent needs to send native ETH or any ERC-20 token from its own self-custodied wallet to an arbitrary recipient on Base mainnet. Prefer this over swap endpoints when no asset conversion is needed — just a direct transfer. It provides full parity with Ozmium's app Send flow and handles both ETH and token transfers through a unified interface.

## Known failure modes

- Invalid recipient address format — returns error or malformed calldata
- Amount exceeds wallet balance — transaction will revert on-chain
- Unknown or unsupported token contract address
- Missing required 'to' or 'amount' fields — request rejected
- Amount not in atomic units (e.g. human-readable decimals passed instead of wei) — incorrect transfer amount on-chain
- Payment for API call ($0.02 USDC x402) fails — request blocked

## How this service works

Transfer a token (ERC-20) or native ETH to any recipient from the agent's own wallet- full parity with the app's Send. POST /v1/tx/send { to, amount (atomic: wei for ETH, token decimals otherwise), token? (omit / native sentinel = ETH) }. Returns { to, data, value } steps.

## Output

Returns an array of transaction steps, each containing 'to' (target contract or recipient address), 'data' (calldata for the transaction), and 'value' (native ETH value in wei). For ERC-20 transfers there may be an approve step before the transfer step. These steps are ready to be signed and broadcast.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "to": {
   "type": "string"
  },
  "amount": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/ozmium-agent-api-send-eth-or-erc-20-token-a6605f3a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from ozmium.org](https://www.zero.xyz/host/ozmium.org/llms.txt)
