# x402engine Wallet PnL Lookup

> x402engine Wallet PnL Lookup is a paid API for AI agents from x402engine.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-29).

Retrieves profit-and-loss (PnL) data for a given wallet address on a specified blockchain chain

## Facts

- Endpoint: POST https://x402engine.app/api/wallet/pnl?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402engine-wallet-pnl-lookup-53c362fb
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_kZczymFAMxU1lm-n4hy6k

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 x402engine-wallet-pnl-lookup-53c362fb -d '<json body>'
```

Example prompt: What's the PnL for wallet 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 on Ethereum? I want to see how profitable it's been.

## When to prefer this

Use this endpoint when you need on-chain PnL data for a specific wallet address across major EVM chains. Ideal for portfolio analytics, whale research, or verifying trading performance without building your own blockchain indexer. At $0.01 per call, it is cost-effective for one-off lookups paid via USDC micropayments on Base, MegaETH, or Solana.

## Known failure modes

- Invalid or malformed wallet address returns an error
- Unsupported chain name causes a validation failure
- Address with no transaction history may return empty or zero PnL
- Network timeouts for chains with slow indexing
- Rate limits or payment failures when USDC balance is insufficient

## How this service works

125 production APIs behind HTTP 402 micropayments. 87 LLMs, Kling V3 and Hailuo video generation, image generation, code execution, travel search, web scraping, TTS, and transaction simulation. Pay with USDC on Base, USDm on MegaETH, or USDC on Solana.

## Output

Returns profit-and-loss metrics for the specified wallet address on the given blockchain, including realized and/or unrealized gains, losses, and overall performance data.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "bodyType",
    "body",
    "method"
   ],
   "properties": {
    "body": {
     "type": "object",
     "required": [
      "chain",
      "address"
     ],
     "properties": {
      "chain": {
       "type": "string",
       "example": "ethereum",
       "description": "Chain name (ethereum, polygon, base, arbitrum, etc.)"
      },
      "address": {
       "type": "string",
       "example": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
       "description": "Wallet address"
      }
     },
     "additionalProperties": false
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402engine-wallet-pnl-lookup-53c362fb/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402engine.app](https://www.zero.xyz/host/x402engine.app/llms.txt)
