# Solana Pretrade Risk Check

> Solana Pretrade Risk Check is a paid API for AI agents from solana-wallet-intel.falcon-sol.workers.dev, paid per call via x402, $0.014/call, status unknown (last checked 2026-11-20).

Screens a Solana token mint for rug/skim risk, xStock status, and optionally checks an x402 payee address before an agent buys

## Facts

- Endpoint: GET https://solana-wallet-intel.falcon-sol.workers.dev/pretrade?utm_source=zero.xyz
- Price: $0.014/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/solana-pretrade-risk-check-093cae24
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_N5VWMrIHq_29Z1uNzzB3r

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 solana-pretrade-risk-check-093cae24
```

Example prompt: Before buying that token, run a pretrade risk check on mint So11111111111111111111111111111111111111112 — flag any skim or rug risk and also verify the payTo address ABC123 is safe on Solana.

## When to prefer this

Use this endpoint when an AI agent is about to purchase a Solana token and needs a combined rug/skim risk screen plus optional x402 payee validation in a single $0.014 call. Prefer it over the cheaper /wallet/preview (free) when you need a full verdict with confidence scores, or over the separate payee_check ($0.0045) when you also need token-level risk factors. Ideal for copy-trading agents, DeFi bots, and any workflow that must gate token purchases on a risk signal before committing funds.

## Known failure modes

- Invalid or malformed mint address returns HTTP 400 and no charge
- Missing mint parameter returns HTTP 402 (unpaid call gating)
- Upstream data source unavailable returns HTTP 502 before settlement, no charge
- Unknown verdict returned when on-chain data is insufficient — must not be treated as ok
- Unsupported network value for payee returns 400

## How this service works

Three x402 checks an agent runs before it spends: (1) payee_check ($0.0045) before paying an unfamiliar x402 payTo, (2) seller_report ($0.01, on falcon-sol-agents.falcon-sol.workers.dev) to probe a seller's endpoints for uptime, valid 402s and price/payTo drift, (3) pretrade ($0.014) before buying a Solana token (rug/skim risk, xStock status, optional payee check). Each returns ok, caution, do_not_pay/avoid or unknown; unknown is never ok. Failures return 502 before settlement, so you are not charged. Pay-per-call Solana wallet profiles, funding-source clusters, and trending tokens. Agents pay USDC over x402 on Solana, and on Base through the Coinbase CDP facilitator when it is configured. Call free GET /wallet/preview or MCP wallet_preview before paying. Unpaid calls to paid routes return HTTP 402 even when the query is missing or invalid. A signed request with a bad query returns HTTP 400 and is not charged. GET /token/trending costs $0.005 and includes holder concentration, mint and freeze authority, LP lock or burn status, and sniper or bundle share of early supply. Risky results are plain-English risk flags. Successful bodies include cached, stale, and cacheAgeMs.

## Output

Returns a JSON object with schema falcon.pretrade.v1 containing a verdict field (ok, caution, do_not_pay/avoid, or unknown), a factors object with per-risk-category status and confidence (e.g. skim, xStock), and a reasons array explaining any flags. Unknown verdict is never considered safe. Failures return HTTP 502 before settlement so the agent is not charged.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "mint"
     ],
     "properties": {
      "mint": {
       "type": "string",
       "description": "Solana token mint in base58. Invalid mints return HTTP 400 and are not charged."
      },
      "payTo": {
       "type": "string",
       "description": "Optional x402 payee to check in the same call."
      },
      "symbol": {
       "type": "string",
       "description": "Optional ticker the token claims (e.g. USDC, AAPLx) for the lookalike check."
      },
      "network": {
       "type": "string",
       "description": "Payee network: solana (default) or base."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "schema": "falcon.pretrade.v1",
  "factors": {
   "skim": {
    "status": "ok",
    "confidence": "medium"
   }
  },
  "reasons": [],
  "verdict": "ok"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/solana-pretrade-risk-check-093cae24/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from solana-wallet-intel.falcon-sol.workers.dev](https://www.zero.xyz/host/solana-wallet-intel.falcon-sol.workers.dev/llms.txt)
