# ChainWard Wallet Risk Check API

> ChainWard Wallet Risk Check API is a paid API for AI agents from api.chainward.ai, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-14).

Returns a pay/hold verdict with risk flags and OFAC sanctions screen for a Base or BNB Chain wallet address before payment

## Facts

- Endpoint: GET https://api.chainward.ai/api/risk/wallet?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/chainward-wallet-risk-check-api-f976ef59
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_vaz4X2-EWVuUdn93jdyY9

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 chainward-wallet-risk-check-api-f976ef59
```

Example prompt: Before I send USDC to 0x4baadba26c3c0bdef9e8faf173925d463aa53bb2 on Base, can you run a ChainWard risk check on it and tell me if it's safe to pay — including any sanctions flags or hold recommendations?

## When to prefer this

Use this endpoint when an AI agent or automated system needs a fast, per-call pre-payment risk check on a specific Base or BNB Chain wallet address. It is ideal for agentic payment flows that need lightweight OFAC sanctions screening and on-chain history signals before disbursing USDC. Prefer it over manual blockchain explorers when you need a structured pay/hold verdict with a stated reason rather than raw transaction data. It is best suited for single-address spot checks; for bulk audits or full dataset access, sibling endpoints on api.chainward.ai may be more appropriate.

## Known failure modes

- Address parameter missing or malformed (not a valid 0x hex address) — returns error, no charge
- Chain not supported — only 'base' and 'bsc' are valid values
- Address data unavailable on-chain — verdict returned as 'unknown' or 'Couldn't check', no charge applied
- Payment failure via x402 — check not executed
- Rate limiting or API unavailability — request fails with error response

## How this service works

Before your agent pays a Base or BNB Chain address: a verdict (pay / hold / unknown, shown as Pay, Hold, Inactive, No track record or Couldn't check) with the one reason ($0.05). For a seller: real or self-funded demand ($0.10). For a BNB Chain agent: hired by others or by its own circle ($0.10). Before every payment: an OFAC sanctions screen ($0.01). Evidence and limits under every verdict. Paid in USDC on Base over x402; a check that fails is never charged.

## Output

A JSON object containing a verdict label (e.g. 'no_flags', 'hold', 'inactive'), a human-readable reason for the verdict, whether the address is OFAC-sanctioned, wallet age in days, sent transaction count, USDC and native token balances, first-seen and last-active timestamps, first funder details (including whether they are an exchange/hub and whether they are sanctioned), risk flags array, and a limits/caveats string explaining what the check does and does not prove.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "address"
     ],
     "properties": {
      "chain": {
       "enum": [
        "base",
        "bsc"
       ],
       "type": "string",
       "default": "base",
       "description": "Chain the address is on. Payment is USDC on Base either way."
      },
      "address": {
       "type": "string",
       "pattern": "^0x[a-fA-F0-9]{40}$",
       "description": "Address to check"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {
   "type": "wallet",
   "chain": "base",
   "flags": [],
   "limits": "On-chain facts only. A shared funder is not proof of one owner, and exchanges and other hubs hide who funded a wallet. no_flags means none of these checks matched; it is not a clearance.",
   "address": "0x4baadba26c3c0bdef9e8faf173925d463aa53bb2",
   "verdict": {
    "label": "no_flags",
    "reason": "None of the checks matched: sanctions, age, history and first funder."
   },
   "age_days": 616,
   "balances": {
    "usdc": 5451.386272,
    "native": 0.01916580034492214
   },
   "sent_txs": 87,
   "first_seen": "2025-02-04T12:26:09.000Z",
   "sanctioned": false,
   "as_of_block": 52553137,
   "last_active": "2026-01-30T15:58:27.000Z",
   "first_funder": {
    "tx": "0xaf801c6252bb681fc6654b763a1d530cc3828c918dd34774e64a8a33d53e20f3",
    "address": "0x0dff09a6733a12366236e62111a4ce93c475db78",
    "sanctioned": false,
    "funded_wallets": null,
    "exchange_or_hub": true
   }
  },
  "success": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/chainward-wallet-risk-check-api-f976ef59/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.chainward.ai](https://www.zero.xyz/host/api.chainward.ai/llms.txt)
