# Vextorium Pre-Trade Check

> Vextorium Pre-Trade Check is a paid API for AI agents from api.vextorium.com, paid per call via x402, $0.006/call, status unknown (last checked 2026-10-11).

Evaluates a token trade before execution, returning a risk score, decision, price impact estimate, recommended slippage, and main liquidity pool details for buy or sell orders on EVM chains and Solana.

## Facts

- Endpoint: POST https://api.vextorium.com/v1/pre-trade-check?utm_source=zero.xyz
- Price: $0.006/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/vextorium-pre-trade-check-9ac660f4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_IBBRj8ews1e9eTpy5ChoD

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 vextorium-pre-trade-check-9ac660f4 -d '<json body>'
```

Example prompt: Before I buy $5000 worth of BRETT (0x532f27101965dd16442E59d40670FaF5eBB142E4) on Base, can you run a pre-trade check to tell me the risk score, estimated price impact, and what slippage I should set?

## When to prefer this

Use this endpoint when an AI agent or DeFi bot needs to assess trade safety and price impact before executing a swap on-chain. It is ideal for pre-trade validation workflows where you want a risk score, recommended slippage, and liquidity check in a single call across Base, Ethereum, Arbitrum, Optimism, Polygon, and Solana. Prefer this over generic token info APIs when you specifically need trade-execution-oriented outputs (impact %, slippage recommendation, go/no-go decision).

## Known failure modes

- Token address not found or not traded on specified network — returns null pool or error
- Unsupported network provided — validation error on enum field
- Missing required 'token' field — 400 bad request
- Very low liquidity token where impact model cannot be computed — may return null impact fields
- Network congestion causing stale pool data — impact estimates may be inaccurate
- x402 payment failure — request rejected before processing

## How this service works

Before buying or selling a token: risk verdict (contract powers, honeypot pattern, age), main pool liquidity, estimated price impact for your USD amount, recommended slippage and a decision (ok, caution, avoid). Base, Ethereum, Arbitrum, Optimism, Polygon or Solana.

## Output

Returns a structured JSON object containing: a trade decision (e.g. 'ok' or a warning), risk level (low/medium/high), numeric risk score (0-100), array of risk signals, list of reasons or alerts, the main liquidity pool info (DEX name, pair address, price in USD, liquidity in USD, DexScreener link), estimated price impact percentage using a constant-product model, and recommended slippage percentage. Also echoes back the token, symbol, network, side, and amount_usd from the request.

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "required": [
      "token"
     ],
     "properties": {
      "side": {
       "enum": [
        "buy",
        "sell"
       ],
       "type": "string"
      },
      "token": {
       "type": "string"
      },
      "network": {
       "enum": [
        "base",
        "ethereum",
        "arbitrum",
        "optimism",
        "polygon",
        "solana"
       ],
       "type": "string"
      },
      "amount_usd": {
       "type": "number"
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": [
      "object",
      "null"
     ],
     "properties": {
      "note": {
       "type": [
        "string",
        "null"
       ]
      },
      "risk": {
       "type": [
        "object",
        "null"
       ],
       "properties": {
        "level": {
         "type": [
          "string",
          "null"
         ]
        },
        "score": {
         "type": [
          "number",
          "null"
         ]
        },
        "signals": {
         "type": [
          "array",
          "null"
         ],
         "items": {}
        }
       }
      },
      "side": {
       "type": [
        "string",
        "null"
       ]
      },
      "token": {
       "type": [
        "string",
        "null"
       ]
      },
      "symbol": {
       "type": [
        "string",
        "null"
       ]
      },
      "network": {
       "type": [
        "string",
        "null"
       ]
      },
      "reasons": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": [
         "null",
         "string"
        ]
       }
      },
      "decision": {
       "type": [
        "string",
        "null"
       ]
      },
      "main_pool": {
       "type": [
        "object",
        "null"
       ],
       "properties": {
  
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "note": "Impact estimated with a constant-product model on the main pool; aggregators that split the order can improve it. Not investment advice.",
  "risk": {
   "level": "low",
   "score": 100,
   "signals": []
  },
  "side": "buy",
  "token": "0x532f27101965dd16442E59d40670FaF5eBB142E4",
  "symbol": "BRETT",
  "network": "base",
  "reasons": [
   "no relevant alerts"
  ],
  "decision": "ok",
  "main_pool": {
   "dex": "aerodrome",
   "link": "https://dexscreener.com/base/0x4e829f8a5213c42535ab84aa40bd4adcce9cba02",
   "pair": "0x4e829F8A5213c42535AB84AA40BD4aDCCE9cBa02",
   "price_usd": 0.00587,
   "liquidity_usd": 873403
  },
  "amount_usd": 5000,
  "estimated_impact_pct": 1.132,
  "recommended_slippage_pct": 2
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/vextorium-pre-trade-check-9ac660f4/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.vextorium.com](https://www.zero.xyz/host/api.vextorium.com/llms.txt)
