# SafeRoute Wallet Risk Check

> SafeRoute Wallet Risk Check is a paid API for AI agents from api.usesaferoute.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-11-20).

Checks a wallet address for risk signals as part of x402 payment protection and diagnostics workflows

## Facts

- Endpoint: POST https://api.usesaferoute.com/v1/wallet-risk-check?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/saferoute-wallet-risk-check-d87aede9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_dnJLkbo62m2DJgwm1hFTR

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 saferoute-wallet-risk-check-d87aede9 -d '<json body>'
```

Example prompt: Can you run a SafeRoute wallet risk check on 0xAbC1234567890abcdef1234567890abcdef123456 with intent ID ref-intent-20240601-abc123 before I proceed with this payment?

## When to prefer this

Choose this endpoint when you need a lightweight, fast wallet risk signal before authorizing an x402 payment, Base DEX swap, or any automated financial workflow step. It is purpose-built for the SafeRoute x402 ecosystem and integrates naturally with its diagnostics and payment protection suite. Prefer it over generic blockchain analytics when you need a sub-cent, per-call check that fits natively into x402 agent pipelines.

## Known failure modes

- Invalid wallet address format (not a valid 0x Ethereum address) returns a validation error
- Missing or malformed intentId (must be 16–128 alphanumeric chars) causes a bad request
- Wallet flagged as high-risk may return a non-ok status blocking downstream actions
- Network or upstream risk data service unavailability may return a timeout or 5xx error
- Insufficient USDC balance for the $0.01 per-call fee causes payment failure

## How this service works

Workflow automation, Stripe and API integration repair, and x402 payment diagnostics. Choose a fixed scope and review it before payment.

## Output

Returns a JSON object with a status field ('ok' or error) and a service identifier confirming the risk check was performed. Agents use this to gate downstream payment or swap actions based on wallet safety.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "wallet": {
   "type": "string",
   "pattern": "^0x[a-fA-F0-9]{40}$"
  },
  "intentId": {
   "type": "string",
   "pattern": "^[a-zA-Z0-9_-]+$",
   "maxLength": 128,
   "minLength": 16
  },
  "referralCode": {
   "type": "string",
   "pattern": "^[a-zA-Z0-9_-]+$",
   "maxLength": 64,
   "minLength": 3
  },
  "sourceAgentId": {
   "type": "string",
   "maxLength": 128,
   "minLength": 1
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "status": "ok",
  "service": "safe_wallet_risk_check"
 }
}
```

## More

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