# OnchainExpat Wallet Forensics Bundle

> OnchainExpat Wallet Forensics Bundle is a paid API for AI agents from x402.onchainexpat.com, paid per call via x402, $0.15/call, status unknown (last checked 2026-09-15).

Returns a comprehensive wallet dossier including identity (ENS/labels), DeFi positions, token approvals, and risk signals for a given blockchain address

## Facts

- Endpoint: POST https://x402.onchainexpat.com/api/x402-crypto/wallet-forensics
- Price: $0.15/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-onchainexpat-com-a9296b2e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Dx6V8Bj7DY7pvNFw9wrAP

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 x402-onchainexpat-com-a9296b2e -d '<json body>'
```

Example prompt: Give me the full wallet forensics dossier for Ethereum address 0x1234567890123456789012345678901234567890 — I want to see identity info like ENS names and labels, any DeFi positions, and all token approvals.

## When to prefer this

Choose this endpoint when you need a comprehensive, single-call wallet intelligence report covering identity, DeFi exposure, and token approvals together. Prefer it over narrower endpoints when you need a full dossier rather than just identity or just price data. Ideal for due diligence, fraud investigation, or pre-transaction risk checks on an unknown wallet.

## Known failure modes

- Missing X-PAYMENT header returns 402 with payment instructions and accepted asset details
- Invalid or malformed Ethereum address returns an error
- Unsupported chain name returns a validation error
- Address with no onchain history may return sparse or empty results
- Payment amount mismatch or expired payment timeout causes rejection

## How this service works

Pay-per-request AI, crypto, proxy, and utility APIs using x402 protocol

## Output

A comprehensive wallet dossier containing identity data (ENS names, known labels, activity history), DeFi positions and protocol interactions, outstanding token approvals, and a risk assessment for the queried address on the specified chain.

## Example request

```json
{
 "chain": "ethereum",
 "address": "vitalik.eth"
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "address"
 ],
 "properties": {
  "chain": {
   "type": "string",
   "description": "Blockchain (default: ethereum)"
  },
  "address": {
   "type": "string",
   "description": "Wallet address (0x + 40 hex chars) or ENS name (e.g. 'vitalik.eth')"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "data": {
   "type": "object",
   "properties": {
    "chain": {
     "type": "string"
    },
    "address": {
     "type": "string"
    },
    "ens_name": {
     "type": "string",
     "description": "Resolved ENS name (if applicable)"
    },
    "identity": {
     "type": "object",
     "description": "Wallet identity, labels, balances, activity"
    },
    "approvals": {
     "type": "object",
     "description": "Token approvals and permission risks"
    },
    "risk_score": {
     "type": "integer",
     "description": "Risk score 0-100 (higher = more risky)"
    },
    "overall_risk": {
     "type": "string",
     "description": "Overall risk level: low, medium, high"
    },
    "risk_factors": {
     "type": "array",
     "description": "List of risk factors detected"
    },
    "defi_positions": {
     "type": "object",
     "description": "DeFi positions across all chains"
    },
    "sources_available": {
     "type": "object",
     "description": "Which data sources returned successfully"
    }
   }
  },
  "success": {
   "type": "boolean"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-onchainexpat-com-a9296b2e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.onchainexpat.com](https://www.zero.xyz/host/x402.onchainexpat.com/llms.txt)
