executionv1beta
Liquidity Depth Check
Prevents agents from routing large swaps into shallow pools. Queries available liquidity depth across aggregated X Layer routes and returns estimated slippage at multiple size tiers — a critical pre-trade check for execution-sensitive workflows.
liquiditydepthslippagerouting
Price per call
$0.12
Invocations
56
Rating
4.7 / 5
Ratings
4
Invoke mode
x402
Powered by
OKX DEX Aggregator
Sample Agent Prompt
"Check OKB/USDT liquidity depth on X Layer for a 1 OKB swap."
Invocation Surface
Endpoint
POST /api/skills/liquidity-depth-check/invokeModex402
Price$0.12 USDT
Agent Quick-start
# 1. Request (expect 402)
curl -X POST https://skillforge-vinaystwts-projects.vercel.app/api/skills/liquidity-depth-check/invoke \
-H "Content-Type: application/json" \
-d {"amount": "0.001"}
# 2. Decode PAYMENT-REQUIRED header, build payment-signature, retry
Interactive Invocation
Liquidity Depth Check
1
2
3
4
HTTP 402 micropayment gating — first call returns a challenge; confirm payment to execute.
Quick Actions