# SafeRoute Token Risk Check

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

Checks the risk profile of a specific Base-chain token (USDC, WETH, EURC, cbETH, cbBTC, VIRTUAL, or AERO) before a swap or payment operation.

## Facts

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

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-token-risk-check-a3437c46 -d '<json body>'
```

Example prompt: Before we proceed with the swap, run a SafeRoute token risk check on WETH using intent ID 'swap-intent-abc123defgh456' to make sure it's safe.

## When to prefer this

Use this endpoint when an AI agent or workflow needs to pre-screen a specific Base-chain token for risk before executing a swap, payment, or DeFi operation. It is particularly useful when operating within a SafeRoute workflow where other endpoints (swap quotes, eligibility checks) are also being called and a consistent risk-gate is needed before committing funds.

## Known failure modes

- Invalid or unsupported token symbol returns validation error
- intentId not meeting pattern or length requirements causes 400 error
- sourceAgentId missing or malformed may result in rejection
- Network or upstream service unavailability returns 5xx error
- Payment not received or x402 payment failure blocks the call

## 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 similar) and a service identifier ('safe_token_risk_check'), indicating whether the specified token passed the risk screening. The response confirms the check completed and signals whether the token is cleared for use in downstream swap or payment operations.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "token": {
   "enum": [
    "USDC",
    "WETH",
    "EURC",
    "CBETH",
    "CBBTC",
    "VIRTUAL",
    "AERO"
   ],
   "type": "string"
  },
  "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_token_risk_check"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/saferoute-token-risk-check-a3437c46/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)
