AgentPay Pre-Trade Risk Check
Pre-trade risk check for AI agents trading crypto: live orderbook slippage at YOUR size, side-aware funding carry, open-interest crowding, and optional contract security — composed into a single ok/caution/avoid verdict with per-factor reasons and raw data embedded. Answers 'is this trade sane?' before trading, not after. Replaces four API integrations plus the judgment layer.
Offering
- Provider
- agentpay.tools
- Method
- POST
- Offering type
- Api Endpoint
- Transport type
- http
- Category
- Blockchain And Crypto
- Delivery
- Not provided
- Pricing model
- Not provided
- x402 version
- 2
Endpoint context
- URL
https://agentpay.tools/tools/pre_trade_check/call- MIME type
- application/json
- First seen
- 2026-10-16T01:50:06.715Z
- Last seen
- Tags
- Trading, trade, Risk, slippage, pre-trade-check
Payment pricing
x402 payment terms are the authoritative price for calling this endpoint.
- Payment option 1
- 0.01 USDC
Atomic price: 10000 · Network: eip155:8453 · Asset: USDC · Scheme: exact - Payment option 2
- 13 atomic units
Atomic price: 13 · Network: stacks:1 · Asset: SM3VDXK3WZZSA84XXFKAFAF15NNZX32CTSG82JFQ4.sbtc-token · Scheme: exact - Payment option 3
- 30948 atomic units
Atomic price: 30948 · Network: stacks:1 · Asset: STX · Scheme: exact - Payment option 4
- 100000 atomic units
Atomic price: 100000 · Network: stellar:pubnet · Asset: CCW67TSZV3SSS2HXMBQ5JFGCKJNXKZM7UQUWUZPUTHXSTZLEO7SJMI75 · Scheme: exact
Raw x402 terms
[
{
"scheme": "exact",
"network": "eip155:8453",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "10000",
"payTo": "0xE8B25A72dD6aeF69515452a61AD231C7DF2843b7"
},
{
"scheme": "exact",
"network": "stacks:1",
"asset": "SM3VDXK3WZZSA84XXFKAFAF15NNZX32CTSG82JFQ4.sbtc-token",
"amount": "13",
"payTo": "SP23XKWSEQ9D4CVPT0H39N2TYVEE5AJECPKW6CZ3C"
},
{
"scheme": "exact",
"network": "stacks:1",
"asset": "STX",
"amount": "30948",
"payTo": "SP23XKWSEQ9D4CVPT0H39N2TYVEE5AJECPKW6CZ3C"
},
{
"scheme": "exact",
"network": "stellar:pubnet",
"asset": "CCW67TSZV3SSS2HXMBQ5JFGCKJNXKZM7UQUWUZPUTHXSTZLEO7SJMI75",
"amount": "100000",
"payTo": "GB7THTEVT2T7CZQ5TFUOIQSI32XCJ7BHWS35OBTAI2V4FNL7BXZZ2GM2"
}
]Observed health
- Status
- Reachable
- Latest latency
- 720 ms
- Average latency
- 862 ms
- HTTP status
- 405
- Last checked
- Reachability
- 100% over 14 checks
Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.
Input schema
{
"type": "object",
"additionalProperties": false,
"properties": {
"type": {
"const": "http",
"type": "string"
},
"method": {
"enum": [
"POST"
],
"type": "string"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"body": {
"type": "object",
"properties": {
"parameters": {
"type": "object",
"properties": {
"symbol": {
"type": "string",
"description": "Asset to check, e.g. 'ETH', 'BTC', 'SOL'"
},
"size_usd": {
"type": "number",
"description": "Intended position size in USD (drives the slippage check; default 10000)"
},
"side": {
"type": "string",
"enum": [
"long",
"short"
],
"description": "Trade direction (funding carry is side-aware; default long)"
},
"token_address": {
"type": "string",
"description": "Optional ERC-20 address — adds a GoPlus security scan"
}
},
"required": [
"symbol"
]
}
}
}
},
"required": [
"type",
"bodyType",
"body",
"method"
]
}Output schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"properties": {
"parameters": {
"properties": {
"side": {
"description": "Trade direction (funding carry is side-aware; default long)",
"enum": [
"long",
"short"
],
"type": "string"
},
"size_usd": {
"description": "Intended position size in USD (drives the slippage check; default 10000)",
"type": "number"
},
"symbol": {
"description": "Asset to check, e.g. 'ETH', 'BTC', 'SOL'",
"type": "string"
},
"token_address": {
"description": "Optional ERC-20 address — adds a GoPlus security scan",
"type": "string"
}
},
"required": [
"symbol"
],
"type": "object"
}
},
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"bodyType",
"body",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}