# Wallet Risk Scorer

> Wallet Risk Scorer is a paid API for AI agents from wallet-portfolio-history-mcp.mtree.workers.dev, paid per call via x402, $0.200000/call, status unknown (last checked 2026-09-15).

Scores a Base wallet address 0-100 for activity risk using transaction patterns, counterparty exposure, failed-call signals, and protocol touchpoints, then recommends autopay and signing policies

## Facts

- Endpoint: POST https://wallet-portfolio-history-mcp.mtree.workers.dev/tools/wallet_risk_scorer
- Price: $0.200000/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/wallet-risk-scorer-51d72312
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_8ZwPGxIAdchb8tGqU6PZU

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 wallet-risk-scorer-51d72312 -d '<json body>'
```

Example prompt: Before I set up autopay for wallet 0x4a3b...c7d2 on Base, can you give me its 0-100 activity risk score, flag any counterparty exposure or failed-call signals, and tell me what autopay and signing policy you'd recommend?

## When to prefer this

Use this endpoint when an AI agent needs a single, structured risk verdict on a Base wallet before authorizing a payment, setting up autopay, or granting signing permissions. Prefer this over raw transaction history endpoints when you need an actionable 0-100 score plus a policy recommendation rather than raw data, and over generic blockchain explorers when you need buyer-vocabulary risk framing suitable for autonomous spending decisions.

## Known failure modes

- Invalid or non-Base wallet address returns an error or empty result
- Wallet with no transaction history may produce a low-confidence or default score
- Payment not received or x402 payment failure results in 402 response
- D1 snapshot stale or unavailable may yield outdated risk assessment
- Rate limiting or worker timeout for high-traffic periods

## How this service works

Hosted wallet risk scorer for agents: exact buyer-vocabulary wallet risk score using transaction patterns, counterparty exposure, failed-call signals, protocol touchpoints, balance context, 0-100 activity risk, alerts, and recommended autopay/signing policy from refreshed D1 wallet history. Price 0.20 USDC on Base via x402. Demo: https://wallet-portfolio-history-mcp.mtree.workers.dev/demo/tools/wallet_risk_scorer. Contact: https://wallet-portfolio-history-mcp.mtree.workers.dev/contact.

## Output

Returns a 0-100 integer activity risk score for the queried Base wallet address, along with risk alerts (e.g. flagged counterparties, failed-call signals, suspicious protocol touchpoints), balance context summary, and a concrete recommended autopay and signing policy for autonomous agents to follow.

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "required": [
      "address"
     ],
     "properties": {
      "chain": {
       "enum": [
        "base",
        "ethereum",
        "arbitrum",
        "optimism",
        "polygon"
       ],
       "type": "string"
      },
      "limit": {
       "type": "integer",
       "maximum": 50,
       "minimum": 1
      },
      "address": {
       "type": "string",
       "pattern": "^0x[a-fA-F0-9]{40}$"
      },
      "refresh": {
       "type": "boolean"
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/wallet-risk-scorer-51d72312/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from wallet-portfolio-history-mcp.mtree.workers.dev](https://www.zero.xyz/host/wallet-portfolio-history-mcp.mtree.workers.dev/llms.txt)
