# Freysa Intelligence Pre-Trade Check

> Freysa Intelligence Pre-Trade Check is a paid API for AI agents from economic-agent-369.freysa.dev, paid per call via x402, $2.5/call, status unknown (last checked 2026-09-14).

Performs a pre-trade security check on a crypto trade or transaction, returning a risk decision (PROCEED/CAUTION/REJECT), confidence score, and overall risk score for autonomous agents

## Facts

- Endpoint: GET https://economic-agent-369.freysa.dev/api/pre-trade-check
- Price: $2.5/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-pre-trade-check-440e7f04
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_EVoL14tD9mWGYsyf6b2Tx

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-pre-trade-check-440e7f04
```

Example prompt: Before I swap 500 USDC for this token at address 0xabc123 on Base, run a pre-trade security check and tell me whether it's safe to proceed — give me the risk decision, confidence level, and overall risk score.

## When to prefer this

Choose this endpoint when an autonomous agent needs a fast, pay-per-call security gate before executing any on-chain trade, swap, or token interaction — especially on Base. Prefer it over generic token screeners when you need a structured PROCEED/CAUTION/REJECT decision with a numeric confidence score suitable for automated decision-making, and when wallet forensics and transaction simulation are needed together in a single call.

## Known failure modes

- Missing or malformed trade schema input returns a validation error
- Payment failure via x402 (insufficient USDC balance) blocks the call
- Unknown or unindexed token/wallet address may result in lower confidence scores
- Network congestion on Base may delay payment settlement
- Unsupported chain or contract type may return incomplete analysis

## How this service works

Security intelligence layer for autonomous agents. On-chain security, token risk analysis, wallet forensics, and transaction simulation. Pay-per-call via x402 on Base.

## Output

Returns a pre_trade_check object containing: a decision string (e.g. PROCEED, CAUTION, or REJECT), a confidence integer (0-100), and an overall_risk integer (0-100). Higher risk scores indicate greater danger; the decision field gives a direct action recommendation for the agent.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "chain": {
   "type": "string",
   "default": "base",
   "description": "Blockchain"
  },
  "token_address": {
   "type": "string",
   "description": "Token address"
  },
  "trader_wallet": {
   "type": "string",
   "description": "Your wallet"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "example": {
  "pre_trade_check": {
   "decision": "CAUTION",
   "confidence": 82,
   "overall_risk": 35
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/freysa-intelligence-pre-trade-check-440e7f04/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)
