# Nomos Wallet Identity & Risk API

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

Identifies a blockchain wallet address and returns its risk score, risk level, activity profile, and identity metadata for agent pre-flight decision-making.

## Facts

- Endpoint: POST https://base-agent-preflight.bytoken2023.workers.dev/x402/v1/wallet/identify
- Price: $0.01/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-identity-risk-api-e245267c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_OcpfLOrTDkbYtZAmB7E3R

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-identity-risk-api-e245267c -d '<json body>'
```

Example prompt: Before I send USDC to 0x4e9ce36e442e55ecd9025b9a6e0d88485d628a67 on Ethereum, run a Nomos wallet identity check to see its risk score and any risk flags.

## When to prefer this

Use this endpoint when an autonomous agent needs a fast, pay-per-call risk and identity assessment of a blockchain wallet address before executing a transaction or interaction. It covers Ethereum, TRON, and Bitcoin — prefer it over generic blockchain explorers when you need a structured risk score, flags, and identity profile in a single call designed for agent pre-flight workflows.

## Known failure modes

- Invalid or malformed wallet address returns a validation error
- Unsupported chain value (outside ethereum/tron/bitcoin enum) causes a 400 error
- Address too short or too long (outside 26-120 character bounds) triggers schema rejection
- Payment failure or insufficient USDC balance causes a 402 response before execution
- Unknown or unindexed address may return empty identity/activity fields with a low but valid risk score
- Network timeout from upstream data sources may cause latency spikes or 503 errors

## 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

A JSON object containing the network identifier (e.g. eip155:8453), product name, risk assessment (risk_score, risk_level, flags array), identity metadata, activity profile, and provenance data for the queried wallet address.

## 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"
      },
      "address": {
       "type": "string",
       "maxLength": 120,
       "minLength": 26
      },
      "idempotency_key": {
       "type": "string",
       "maxLength": 128
      }
     }
    }
   },
   "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-identify",
  "assessment": {
   "flags": [],
   "risk_level": "low",
   "risk_score": 0
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/nomos-wallet-identity-risk-api-e245267c/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)
