# Orion Approval Risk Check

> Orion Approval Risk Check is a paid API for AI agents from orionkr.xyz, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-16).

Checks a token approval or swap transaction for dangerous spender, unlimited approval risk, router mismatch, and unsafe execution conditions before signing on Base.

## Facts

- Endpoint: GET https://orionkr.xyz/v1/base/approval-risk
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/orionkr-xyz-9ba3e69b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_du6AuSJMtzovqWY4dUSu_

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 orionkr-xyz-9ba3e69b
```

Example prompt: Before I sign this token approval for the DEX swap on Base, run an approval risk check — I want to know if the spender is dangerous, if the approval amount is unlimited, and whether there's a router mismatch or any unsafe execution conditions.

## When to prefer this

Use this endpoint when an agent is about to sign a token approval or execute a swap on Base and needs a fast, cheap ($0.005) pre-signing safety gate. Prefer this over generic rug-check endpoints when the specific concern is approval-level risk: unlimited approvals, spender identity, router mismatches, and do-not-execute conditions rather than token liquidity or rug-pull analysis.

## Known failure modes

- Invalid or missing approval transaction data returns 400 bad request
- Unrecognized spender address may return empty flags with LOW risk rather than an error
- Network timeout or service unavailability returns 5xx
- Insufficient USDC payment via x402 returns 402 payment required
- Malformed Base address input returns validation error

## How this service works

Ultra-low-cost approval risk check for Base agents before signing token approvals or swaps. Detects dangerous spender approval, unlimited approval risk, approval-to-router mismatch, unsafe execution, transaction safety issues, and do-not-execute conditions.

## Output

Returns a JSON object with a list of risk flags (e.g. dangerous spender, unlimited approval, router mismatch, unsafe execution), a verified boolean, a riskLevel string (LOW/MEDIUM/HIGH), and a numeric riskScore (0-100).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "chain": {
       "type": "string",
       "const": "base"
      },
      "wallet": {
       "type": "string"
      },
      "address": {
       "type": "string",
       "description": "Base wallet, token, or contract address."
      },
      "amountIn": {
       "type": "string"
      },
      "tokenAddress": {
       "type": "string",
       "description": "Optional Base token contract address."
      }
     },
     "additionalProperties": true
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [],
     "properties": {
      "success": {
       "type": "boolean"
      },
      "verdict": {
       "type": "string"
      },
      "risk_score": {
       "type": "number"
      },
      "blocking_flags": {
       "type": "array",
       "items": {
        "type": "string"
       }
      },
      "required_next_call": {
       "type": "string"
      },
      "verdict_ttl_seconds": {
       "type": "number"
      }
     },
     "additionalProperties": true
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/orionkr-xyz-9ba3e69b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from orionkr.xyz](https://www.zero.xyz/host/orionkr.xyz/llms.txt)
