# Wallet Autopay Risk Report

> Wallet Autopay Risk Report 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-14).

Generates a 0-100 autopay risk score for a wallet address, including transaction-pattern burst risk, counterparty exposure, failed-call signals, spend-limit guidance, and recommended autopay policy.

## Facts

- Endpoint: POST https://wallet-portfolio-history-mcp.mtree.workers.dev/tools/wallet_autopay_risk
- Price: $0.200000/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/wallet-autopay-risk-report-9a1338c3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_xFO6cn8MDd6akEbW3UDBq

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-autopay-risk-report-9a1338c3 -d '<json body>'
```

Example prompt: Before I enable autopay for wallet 0x4F3a8c2D1b7E9A0e5c6D2f3B1A9e8C7d4F2a3B1c on Base, can you run the autopay risk report and tell me its 0-100 risk score, any burst or counterparty exposure flags, and what spend limits or autopay policy you'd recommend?

## When to prefer this

Choose this endpoint when you need a comprehensive autopay-specific risk report that combines burst-pattern analysis, counterparty risk, failed-call signals, and actionable spend-limit policy in a single call — especially for agent-commerce workflows where autonomous spending authorization decisions are needed. Prefer over generic wallet risk endpoints when autopay policy guidance and spend-cap recommendations are the primary output desired.

## Known failure modes

- Invalid or non-Base EVM address returns a validation error
- Wallet with no transaction history may return a minimal or low-confidence score
- Network or D1 snapshot unavailability may cause a timeout or 503 error
- Payment failure via x402 (insufficient USDC balance) results in a 402 Payment Required error
- Malformed request body returns a 400 Bad Request

## How this service works

Hosted wallet autopay risk report for agent-commerce spend controls: 0-100 wallet risk score, transaction-pattern burst risk, counterparty exposure, failed-call signals, protocol touchpoints, spend-limit guidance, and recommended autopay 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_autopay_risk. Contact: https://wallet-portfolio-history-mcp.mtree.workers.dev/contact.

## Output

Returns a structured risk report including: a 0-100 numeric autopay risk score, transaction-pattern burst risk indicators, ranked counterparty exposure, failed-call signal counts, protocol touchpoints, recommended per-call and per-counterparty spend limits, and a curated autopay policy recommendation — all derived from refreshed D1 wallet history on Base.

## 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-autopay-risk-report-9a1338c3/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)
