Check execution risk before placing a crypto trade
Check execution risk before placing a crypto trade. Submit a visible order book, trade side and notional; receive PASS, CAUTION or AVOID with estimated slippage, spread, fill ratio, visible liquidity and depth utilization. Built for autonomous trading agents that need a fast pre-trade liquidity and execution-risk check. Read-only: never places orders, accesses exchange accounts or gives investment advice.
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
POST https://api.tradebot.devs.surf/v1/pre-trade-execution-gate
| Category | Code and developer |
|---|---|
| Provider host | api.tradebot.devs.surf |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 1 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
We never call tools that send, buy, move money or file anything, not even without paying.
Example input (from the provider)
{
"body": {
"asset": "BTC",
"book": {
"asks": [
[
63000.5,
0.1
],
[
63001,
0.1
],
[
63001.5,
0.1
],
[
63002,
0.1
],
[
63002.5,
0.1
],
[
63003,
0.1
],
[
63003.5,
0.1
],
[
63004,
0.1
],
[
63004.5,
0.1
],
[
63005,
0.1
],
[
63005.5,
0.1
],
[
63006,
0.1
],
[
63006.5,
0.1
],
[
63007,
0.1
],
[
63007.5,
0.1
],
[
63008,
0.1
],
[
63008.5,
0.1
],
[
63009,
0.1
],
[
63009.5,
0.1
],
[
63010,
0.1
],
[
63010.5,
0.1
],
[
63011,
0.1
],
[
63011.5,
0.1
],
[
63012,
0.1
],
[
63012.5,
0.1
]
],
"bids": [
[
63000,
0.1
],
[
62999.5,
0.1
],
[
62999,
0.1
],
[
62998.5,
0.1
],
[
62998,
0.1
],
[
62997.5,
0.1
],
[
62997,
0.1
],
[
62996.5,
0.1
],
[
62996,
0.1
],
[
62995.5,
0.1
],
[
62995,
0.1
],
[
62994.5,
0.1
],
[
62994,
0.1
],
[
62993.5,
0.1
],
[
62993,
0.1
],
[
62992.5,
0.1
],
[
62992,
0.1
],
[
62991.5,
0.1
],
[
62991,
0.1
],
[
62990.5,
0.1
],
[
62990,
0.1
],
[
62989.5,
0.1
],
[
62989,
0.1
],
[
62988.5,
0.1
],
[
62988,
0.1
]
],
"symbol": "BTCUSDT"
},
"caller_data": true,
"notional_usd": 1000,
"provenance": {
"caller_authorized_use": true,
"latest_data_at": "2026-10-20T09:39:04.093704Z",
"source_label": "caller-market-data-feed"
},
"side": "buy"
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"additionalProperties": false,
"allOf": [
{
"if": {
"properties": {
"asset": {
"const": "BTC"
}
},
"required": [
"asset"
]
},
"then": {
"properties": {
"book": {
"properties": {
"symbol": {
"const": "BTCUSDT"
}
}
}
}
}
},
{
"if": {
"properties": {
"asset": {
"const": "ETH"
}
},
"required": [
"asset"
]
},
"then": {
"properties": {
"book": {
"properties": {
"symbol": {
"const": "ETHUSDT"
}
}
}
}
}
},
{
"if": {
"properties": {
"asset": {
"const": "BNB"
}
},
"required": [
"asset"
]
},
"then": {
"properties": {
"book": {
"properties": {
"symbol": {
"const": "BNBUSDT"
}
}
}
}
}
},
{
"if": {
"properties": {
"asset": {
"const": "SOL"
}
},
"required": [
"asset"
]
},
"then": {
"properties": {
"book": {
"properties": {
"symbol": {
"const": "SOLUSDT"
}
}
}
}
}
},
{
"if": {
"properties": {
"asset": {
"const": "XRP"
}
},
"required": [
"asset"
]
},
"then": {
"properties": {
"book": {
"properties": {
"symbol": {
"const": "XRPUSDT"
}
}
}
}
}
},
{
"if": {
"properties": {
"asset": {
"const": "DOGE"
}
},
"required": [
"asset"
]
},
"then": {
"properties": {
"book": {
"properties": {
"symbol": {
"const": "DOGEUSDT"
}
}
}
}
}
},
{
"if": {
"properties": {
"asset": {
"const": "ADA"
}
},
"required": [
"asset"
]
},
"then": {
"properties": {
"book": {
"properties": {
"symbol": {
"const": "ADAUSDT"
}
}
}
}
}
},
{
"if": {
"properties": {
"asset": {
"const": "LINK"
}
},
"required": [
"asset"
]
},
"then": {
"properties": {
"book": {
"properties": {
"symbol": {
"const": "LINKUSDT"
}
}
}
}
}
}
],
"properties": {
"asset": {
"enum": [
"BTC",
"ETH",
"BNB",
"SOL",
"XRP",
"DOGE",
"ADA",
"LINK"
],
"title": "Asset",
"type": "string"
},
"book": {
"additionalProperties": false,
"properties": {
"asks": {
"items": {
"items": {
"type": "number"
},
"minItems": 2,
"prefixItems": [
{
"exclusiveMinimum": 0,
"type": "number"
},
{
"exclusiveMinimum": 0,
"type": "number"
}
],
"type": "array"
},
"minItems": 25,
"title": "Asks",
"type": "array"
},