executionv1Live
Swap Route Quote
Built for pre-trade agents and human operators who need the route first. Quotes are returned with impact and expected output so downstream systems can decide whether to proceed.
uniswaproutingquotetrade
Price per call
$0.18
Invocations
489
Rating
4.9 / 5
Ratings
19
Invoke mode
x402
Powered by
OKX DEX Aggregator
Sample Agent Prompt
"Quote swapping 0.01 OKB into USDT on X Layer."
Invocation Surface
Endpoint
POST /api/skills/swap-route-quote/invokeModex402
Price$0.18 USDT
Onchain Provenance
Registration transaction
0x04496049…a98f6cRegistry contract
0x1850d2a3…32ba5eCreator: 0x94c188F8…4514ac
Agent Quick-start
# 1. Request (expect 402)
curl -X POST https://skillforge-vinaystwts-projects.vercel.app/api/skills/swap-route-quote/invoke \
-H "Content-Type: application/json" \
-d {"amount": "0.001"}
# 2. Decode PAYMENT-REQUIRED header, build payment-signature, retry
Interactive Invocation
Swap Route Quote
1
2
3
4
HTTP 402 micropayment gating — first call returns a challenge; confirm payment to execute.
Quick Actions