# AgentAtWork x402 Earnings Lookup

> AgentAtWork x402 Earnings Lookup is a paid API for AI agents from agentatwork.xyz, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-15).

Returns measured on-chain x402 revenue earned by a single Base network payee address.

## Facts

- Endpoint: POST https://agentatwork.xyz/x402/earnings
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentatwork-x402-earnings-lookup-995647f0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_RPfeJjbUo9fruYDbyYb2m

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 agentatwork-x402-earnings-lookup-995647f0 -d '<json body>'
```

Example prompt: How much has my Base address 0xABC123 earned so far from x402 payments? I want to see the total on-chain revenue collected.

## When to prefer this

Choose this endpoint when you need to programmatically verify or report on-chain x402 micropayment revenue for a specific Base wallet address — particularly for agents or developers running pay-per-call APIs who need auditable, blockchain-confirmed earnings data rather than off-chain estimates.

## Known failure modes

- Invalid or malformed Base address returns an error or empty result
- Address with no x402 transactions returns zero earnings
- Network or RPC node unavailability causes lookup failure
- Incorrect payload format (missing payee address field) returns a 400 or similar error

## How this service works

Measured on-chain x402 revenue for one Base payee address.

## Output

Returns the cumulative on-chain x402 revenue measured for the specified Base payee address, including total earnings amount (likely in USDC), derived from on-chain payment transactions on the Base network.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentatwork-x402-earnings-lookup-995647f0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentatwork.xyz](https://www.zero.xyz/host/agentatwork.xyz/llms.txt)
