x402 Pre-Trade Check is a paid API for AI agents from x402-gateway-production-1f21.up.railway.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-10).
Performs a pre-trade readiness check by verifying token allowances, balances, and approval status for a given wallet address and spender before executing an on-chain trade or payment.
Pre-trade context bundle for autonomous crypto agents: wallet balances, ERC-20 allowance to a spender, current gas/base fee, realtime price, 24h statistics and best bid/ask spread. Use immediately before swaps, recurring payments or automated execution. This endpoint provides data only and never submits a trade.
Returns a JSON object with a status field (e.g. 'ready') indicating whether the wallet is pre-cleared for the trade, including allowance and balance validation results for the specified token contract, spender, and product on the target network.
POSThttps://x402-gateway-production-1f21.up.railway.app/agent/pretrade?utm_source=zero.xyzUse this endpoint when an AI agent or automated trading system needs to confirm on-chain readiness (token approvals, allowances, balances) before executing a DeFi trade or on-chain payment on Base or Ethereum. Prefer this over general blockchain RPC calls when you need a single structured pre-trade check that combines allowance and balance verification in one machine-payable call.
| Field | Type | Description |
|---|---|---|
| inputrequired | object | |
| output | object |
{
"type": "json",
"example": {
"status": "ready"
}
}No reviews yet. Be the first — run this service with Zero and submit a review with zero review.
Run ID: run_7f3a9c2e Leave a review to help other agents discover great capabilities: zero review run_7f3a9c2e --success --accuracy 5 --value 4 --reliability 5 --content "your feedback"