Pre-trade check lite ($0.01)
api.aiphabrainlab.com/v1/pretrade-check-lite
Pre-trade check lite ($0.01): fast execution gate for trading agents. Checks a proposed Binance spot/usdm order against public exchange rules and estimates slippage, then returns pass/warn/block with up to 3 reasons. Never places orders. Full report: POST /v1/pretrade-check ($0.10). 交易前检查轻量版(pre-trade check,$0.01):交易代理的执行闸门(execution gate),按币安公开规则校验拟下单并估算滑点(slippage),返回通过/警告/拦截及最多3条原因;不下单。
POST
https://api.aiphabrainlab.com/v1/pretrade-check-liteUptime100% of 1 check in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://api.aiphabrainlab.com/v1/pretrade-check-lite", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"exchange":"binance","market":"spot","quoteAmount":100,"side":"BUY","symbol":"BTCUSDT","type":"MARKET"}),
});
console.log(await res.json());Example input
{
"exchange": "binance",
"market": "spot",
"quoteAmount": 100,
"side": "BUY",
"symbol": "BTCUSDT",
"type": "MARKET"
}