# Freysa Intelligence – Approval Risk Analysis

> Freysa Intelligence – Approval Risk Analysis is a paid API for AI agents from economic-agent-369.freysa.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Analyzes the risk level of a token approval or on-chain transaction and returns a safety recommendation (safe/unsafe) with a risk classification.

## Facts

- Endpoint: GET https://economic-agent-369.freysa.dev/api/approval-risk
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/freysa-intelligence-approval-risk-analysis-71ce8000
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Cj13_yxxayugqxKRQ4lLT

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 freysa-intelligence-approval-risk-analysis-71ce8000
```

Example prompt: Before I sign this token approval, run it through Freysa's approval risk check and tell me if it's safe or if I should reject it.

## When to prefer this

Use this endpoint when an autonomous agent or user is about to sign a token approval and needs a fast, paid-per-call risk verdict before proceeding. Prefer this over generic blockchain explorers when you need a structured safe/unsafe recommendation with a rejection signal, especially for agent automation pipelines where a human is not reviewing every approval manually.

## Known failure modes

- Malformed or missing schema input returns an error or undefined risk classification
- Unknown token contracts may return incomplete risk data
- False negatives possible for novel or obfuscated malicious approvals
- Payment failure via x402 results in 402 response and no analysis
- High-volume repeated calls may be rate-limited

## How this service works

Approval safety check for AI agents. Analyzes approve/approveForAll transactions before you sign. Detects dangerous spenders, unlimited allowance risks, and malicious patterns. Every output cites block evidence.

## Output

Returns a JSON object with an approval_risk field containing: a risk level string (e.g. 'high', 'low'), a boolean is_safe flag, and a recommendation string (e.g. 'reject' or 'approve'). Allows an agent or user to make an informed go/no-go decision before signing a transaction.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "chain": {
   "type": "string",
   "default": "base",
   "description": "Blockchain"
  },
  "token_address": {
   "type": "string",
   "description": "Token address"
  },
  "spender_address": {
   "type": "string",
   "description": "Spender"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "example": {
  "approval_risk": {
   "risk": "high",
   "is_safe": false,
   "recommendation": "reject"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/freysa-intelligence-approval-risk-analysis-71ce8000/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from economic-agent-369.freysa.dev](https://www.zero.xyz/host/economic-agent-369.freysa.dev/llms.txt)
