# Nomos Wallet Risk Lite

> Nomos Wallet Risk Lite is a paid API for AI agents from base-agent-preflight.bytoken2023.workers.dev, paid per call via x402, $0.04/call, status unknown (last checked 2026-09-14).

Screens a blockchain wallet address for risk signals and returns a risk score, risk level, and flags for autonomous agent preflight checks.

## Facts

- Endpoint: POST https://base-agent-preflight.bytoken2023.workers.dev/x402/v1/wallet/risk-lite
- Price: $0.04/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/nomos-wallet-risk-lite-be411e85
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_5vLBZyvKV5O2frroQqa59

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 nomos-wallet-risk-lite-be411e85 -d '<json body>'
```

Example prompt: Before I send 500 USDC to 0xAbC123...def on Ethereum, run a risk check on that wallet address and tell me the risk score and any flags so I can decide whether to proceed.

## When to prefer this

Use this endpoint when an autonomous agent needs a lightweight, fast, pay-per-request wallet risk signal before executing a transaction or interacting with an unknown counterparty — especially on Ethereum, Tron, or Bitcoin. Prefer this over full KYC/AML pipelines when you need a programmatic go/no-go decision signal at low cost ($0.04/call) without storing user data. It is ideal for agent-native workflows where each call is independently paid via x402/USDC micropayments.

## Known failure modes

- Invalid or malformed wallet address returns a 4xx validation error
- Unsupported chain value (not ethereum/tron/bitcoin) causes schema rejection
- Address too short or too long (outside 26-120 chars) fails input validation
- Missing required 'chain' or 'address' query params returns error
- Payment not included or insufficient USDC causes 402 Payment Required
- Wallet has no on-chain history — may return zero risk score with empty flags rather than an error
- Idempotency key collision may return cached prior result

## How this service works

Machine-payable service intelligence for discovering, verifying, and monitoring identity, risk, authorization, execution-preflight, and evidence APIs before autonomous agents spend.

## Output

Returns a JSON object with the network identifier (e.g. eip155:8453), product name, and an assessment object containing: risk_score (numeric), risk_level (e.g. 'low', 'medium', 'high'), and flags array (empty or listing specific risk signals). May also include identity, activity, and provenance sub-objects with additional enrichment data about the wallet.

## 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": [
      "POST"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "chain",
      "address"
     ],
     "properties": {
      "chain": {
       "enum": [
        "ethereum",
        "tron",
        "bitcoin"
       ],
       "type": "string",
       "description": "Chain to evaluate."
      },
      "action": {
       "type": "string",
       "pattern": "^[A-Za-z0-9._:-]{2,120}$",
       "description": "Planned agent action."
      },
      "address": {
       "type": "string",
       "maxLength": 120,
       "minLength": 26,
       "description": "Wallet address to screen."
      },
      "value_usd": {
       "type": "string",
       "pattern": "^[0-9]+(?:\\.[0-9]{1,6})?$",
       "description": "Optional approximate value at risk."
      },
      "idempotency_key": {
       "type": "string",
       "maxLength": 128,
       "description": "Optional caller-supplied idempotency key."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "network": {
       "type": "string"
      },
      "product": {
       "type": "string"
      },
      "activity": {
       "type": "object"
      },
      "identity": {
       "type": "object"
      },
      "assessment": {
       "type": "object"
      },
      "provenance": {
       "type": "object"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "network": "eip155:8453",
  "product": "nomos-wallet-risk-lite",
  "assessment": {
   "flags": [],
   "risk_level": "low",
   "risk_score": 0
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/nomos-wallet-risk-lite-be411e85/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from base-agent-preflight.bytoken2023.workers.dev](https://www.zero.xyz/host/base-agent-preflight.bytoken2023.workers.dev/llms.txt)
