Tool detail
AgentPay Pre-Trade Risk Check
Runs a pre-trade sanity check for a crypto position, combining orderbook slippage, funding carry, open-interest crowding and optional contract security into one verdict.
Categories: Trading signals, Market prices
Use when
- check if a crypto trade size is safe before executing
- get a pre-trade risk verdict for a token and position size
- screen a token contract before opening a leveraged position
Not for
- not trade execution - verdict only, no order is placed
- not a price feed or chart
Inputs
POST JSON body: { parameters: { symbol: string (required); side: long|short, size_usd: number, token_address: string (optional) } }.
Admitted input schema
{
"type": "object",
"properties": {
"parameters": {
"type": "object",
"properties": {
"side": {
"type": "string",
"minLength": 0,
"maxLength": 4096,
"enum": [
"long",
"short"
],
"description": "Trade direction (funding carry is side-aware; default long)"
},
"size_usd": {
"type": "number",
"minimum": -9007199254740991,
"maximum": 9007199254740991,
"description": "Intended position size in USD (drives the slippage check; default 10000)"
},
"symbol": {
"type": "string",
"minLength": 0,
"maxLength": 4096,
"description": "Asset to check, e.g. 'ETH', 'BTC', 'SOL'"
},
"token_address": {
"type": "string",
"minLength": 0,
"maxLength": 4096,
"description": "Optional ERC-20 address — adds a GoPlus security scan"
}
},
"required": [
"symbol"
],
"additionalProperties": false
}
},
"required": [],
"additionalProperties": false
}Endpoint
- Method
POST- URL
https://agentpay.tools/tools/pre_trade_check/call
Payment
- Protocol
- x402
- Listed price
- 0.01 USDC per call on Base
- Payment method
- exact
- Network
- eip155:8453
- Asset
- 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913
Listed terms are catalog metadata. The caller supplies inputs and calls the tool outside Onelayer. If payment is required, the caller uses a compatible wallet to pay.
Source
- Directory
- Coinbase x402 Bazaar
- Record
- POST https://agentpay.tools/tools/pre_trade_check/call
- Retrieved
- 2026-09-30T20:37:07.382Z
- Catalog file SHA-256
6837ccddf886f0007cf3727ea9d27faaa5047b51b4f425345c554ce1c271a524- Catalog built
- 2026-09-30T22:31:58.034Z