# Automaton-Sovereign Token Approval Risk API

> Automaton-Sovereign Token Approval Risk API is a paid API for AI agents from api.automaton-sovereign.workers.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-02).

Assesses the risk level of a token approval transaction to help users and agents identify potentially dangerous or malicious smart contract approvals

## Facts

- Endpoint: GET https://api.automaton-sovereign.workers.dev/v2/token/approval-risk?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/automaton-sovereign-token-approval-risk-api-ce2d5c3c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_XMsN2v98jWZcKOak1WAdA

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 automaton-sovereign-token-approval-risk-api-ce2d5c3c
```

Example prompt: Before I sign this token approval, can you check the approval risk for this transaction and tell me if it looks safe or suspicious?

## When to prefer this

Use this endpoint when an agent or user needs a quick, pay-per-call risk signal on a token approval before signing a blockchain transaction, especially in DeFi workflows where smart contract drain attacks are a concern. Prefer this over general blockchain analytics tools when you need a focused approval-specific risk score via a lightweight GET request with micropayment access.

## Known failure modes

- Missing required query parameters returns an error or empty result
- Invalid token or approval data may return a null or indeterminate risk score
- Service unavailability or Cloudflare Workers timeout returns a 5xx error
- Payment not received (x402) results in a 402 Payment Required response before data is returned

## How this service works

Automaton-Sovereign Value API call

## Output

Returns a risk assessment object for the queried token approval, likely including a risk level or score and supporting data indicating whether the approval appears safe, suspicious, or malicious.

## Request schema (JSON Schema)

```json
{
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object"
    }
   }
  },
  "output": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/automaton-sovereign-token-approval-risk-api-ce2d5c3c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.automaton-sovereign.workers.dev](https://www.zero.xyz/host/api.automaton-sovereign.workers.dev/llms.txt)
