---
title: "Everything to check before buying a token, in one call: deepest pool and its USD depth, a buy quote with price impact, what selling straight back returns, whether a transfer out of the pool works, and what the owner can still do (pause, blacklist, mint). Verdict avoid / caution / no_red_flags_found with every reason and what is not covered. Base, Arbitrum, BNB Chain."
method: POST
path: "/v1/tools/pre-trade-check"
---

# Everything to check before buying a token, in one call: deepest pool and its USD depth, a buy quote with price impact, what selling straight back returns, whether a transfer out of the pool works, and what the owner can still do (pause, blacklist, mint). Verdict avoid / caution / no_red_flags_found with every reason and what is not covered. Base, Arbitrum, BNB Chain.

`POST /v1/tools/pre-trade-check`

## Request

- Base URL: `https://agents.dexl.io`
- URL: `https://agents.dexl.io/v1/tools/pre-trade-check`
- Auth: API key in header `X-Payment`

Paid per call via x402. Send without payment to get the exact price in the 402.

## Request body

- object
  - `chain` 'base' | 'arbitrum' | 'bsc': Which chain.
  - `token` string, required: ERC-20 address you are about to buy (0x...).
  - `amount_native` string: How much native token (ETH/BNB) you plan to spend, e.g. "0.1".

## Response `200`

The tool output

## Other responses

- `400`: The input did not match the schema
- `402`: Payment required

---

[API](https://skmtc.dev/dexl/apis/dexl-agents.md) · [All operations](https://skmtc.dev/dexl/apis/dexl-agents/llms.txt) · [OpenAPI document](https://skmtc.dev/dexl/apis/dexl-agents/revisions/e3692765c3f7?raw)
