# Strale Web3 Pre-Trade Analysis

> Strale Web3 Pre-Trade Analysis is a paid API for AI agents from api.strale.io, paid per call via x402, $0.1296/call, status unknown (last checked 2026-09-15).

Runs a multi-factor pre-trade safety check on a DeFi token or protocol, combining TVL verification, token security scanning, and on-chain data before a trade is executed.

## Facts

- Endpoint: POST https://api.strale.io/x402/v2/solutions/web3-pre-trade
- Price: $0.1296/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/strale-web3-pre-trade-analysis-8be232bf
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_mWiKyzG4y-lOiLpOgzRcS

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 strale-web3-pre-trade-analysis-8be232bf -d '<json body>'
```

Example prompt: Before I swap into this token, can you run a pre-trade safety check on the Uniswap protocol and the USDC contract address 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 on Ethereum mainnet (chain ID 1)?

## When to prefer this

Use this endpoint when an AI agent or user needs a comprehensive, auditable pre-trade risk assessment for a DeFi token or protocol — combining TVL, token metadata, and smart contract security in a single call with a cryptographic audit trail. Prefer this over querying DeFi Llama, CoinGecko, or contract scanners individually when you need a unified risk signal with provenance guarantees before executing or recommending a trade.

## Known failure modes

- Unknown protocol slug returns no TVL data — DeFi Llama slug must match exactly
- Invalid CoinGecko token ID returns 404 token-not-found error
- Unverified or non-standard contract address returns incomplete security scan
- Chain ID not supported returns unsupported chain error
- Malformed contract address returns validation error before external calls are made

## How this service works

The trust layer for AI agents — 250+ independently tested data capabilities across 27 countries. Execute capabilities via REST, MCP, A2A, or x402 micropayments. Every call returns an audit record with cryptographic chain hashing.

## Output

Returns a structured audit record covering TVL data from DeFi Llama, token metadata and price data from CoinGecko, contract security flags (e.g. honeypot detection, ownership risks, liquidity lock status), an overall risk assessment, and a cryptographically chained audit hash for provenance verification.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/strale-web3-pre-trade-analysis-8be232bf/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.strale.io](https://www.zero.xyz/host/api.strale.io/llms.txt)
