# Loom Soft Pretrade — Binance Pre-Trade Check

> Loom Soft Pretrade — Binance Pre-Trade Check is a paid API for AI agents from api.aiphabrainlab.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-11-23).

Validates a proposed Binance spot or USDM futures order against symbol status, filters, estimated slippage, and funding constraints without placing any order.

## Facts

- Endpoint: POST https://api.aiphabrainlab.com/v1/pretrade-check?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-23
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/loom-soft-pretrade-binance-pre-trade-check-dc7b6988
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_YPO-hMW5tzo6Q8YZpvQv8

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 loom-soft-pretrade-binance-pre-trade-check-dc7b6988 -d '<json body>'
```

Example prompt: Before I place my trade, run a pre-trade check on a spot market BUY of 0.001 BTCUSDT on Binance — make sure the symbol is trading, check the filters, and give me the estimated slippage in basis points.

## When to prefer this

Use this endpoint when you need a lightweight, read-only pre-flight validation of a Binance order before submission — especially when you want to surface symbol status, filter compliance, notional value, and slippage estimates without risking an actual order placement. Prefer this over exchange SDK calls when operating in an agentic pipeline that needs structured pass/fail verdicts. It is not a substitute for live order placement or for exchanges other than Binance.

## Known failure modes

- Symbol not found or not currently trading on Binance — check returns fail status for symbol_status
- Order notional below Binance minimum filter — returns fail on notional/filter check
- Invalid or unsupported exchange value (only 'binance' accepted) — validation error
- Missing required fields (symbol, side, type, market) — API returns 400-level error
- Network or upstream Binance data unavailability — service may return an error or degraded response
- Leverage out of allowed range for the given symbol on USDM — check fails with detail on leverage limits

## How this service works

CEX pre-submit execution gate for trading risk: Binance public rules + slippage + funding → pass/warn/block ($0.10). Never places orders. (Also known as pretrade-check.)

## Output

Returns a JSON object with a top-level 'verdict' (pass or fail), an array of named 'checks' each with an id, status, and detail string, plus 'notional' (USD value of the order), 'refPrice' (current reference market price), and 'estSlippageBps' (estimated market impact in basis points).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "side": {
   "enum": [
    "BUY",
    "SELL"
   ],
   "type": "string"
  },
  "type": {
   "enum": [
    "MARKET",
    "LIMIT"
   ],
   "type": "string"
  },
  "price": {
   "type": "number"
  },
  "market": {
   "enum": [
    "spot",
    "usdm"
   ],
   "type": "string"
  },
  "symbol": {
   "type": "string"
  },
  "exchange": {
   "enum": [
    "binance"
   ],
   "type": "string"
  },
  "leverage": {
   "type": "number"
  },
  "quantity": {
   "type": "number"
  },
  "quoteAmount": {
   "type": "number"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "checks": [
   {
    "id": "symbol_status",
    "detail": "BTCUSDT status TRADING",
    "status": "pass"
   }
  ],
  "verdict": "pass",
  "notional": 100,
  "refPrice": 65000,
  "estSlippageBps": 1.2
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/loom-soft-pretrade-binance-pre-trade-check-dc7b6988/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.aiphabrainlab.com](https://www.zero.xyz/host/api.aiphabrainlab.com/llms.txt)
