$0.1
per call · USD Coin on Base
AgentOracle: use when choosing where to execute a Base swap. Compares live Uniswap V3 and KyberSwap routes by expected output, slippage, price impact, estimated gas, and gas-adjusted net execution price. Indicative results expire after 30 seconds.
Endpoint
POST https://aiagentoracle.ai/api/v1/execution/quote3
Calls / 30d
1
Unique payers / 30d
Sep 6
Last called
exact
Payment scheme
Call this service
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";
const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);
const res = await fetchWithPay("https://aiagentoracle.ai/api/v1/execution/quote", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
"amount": 0.1,
"fromToken": "WETH",
"network": "base",
"slippageBps": 100,
"toToken": "USDC"
}),
});
const data = await res.json();curl -X POST \
"https://aiagentoracle.ai/api/v1/execution/quote" \
-H "Content-Type: application/json" \
-d '{"amount":0.1,"fromToken":"WETH","network":"base","slippageBps":100,"toToken":"USDC"}' \
-H "X-PAYMENT: <signed x402 payment>"Example response
{
"bestRoute": {
"confidence": "HIGH",
"executable": false,
"expectedOutput": 341.82,
"expectedOutputAtomic": "341820000",
"expiresAt": "2026-01-01T00:00:30Z",
"feeBps": 5,
"gasUnits": "112000",
"gasUsd": 0.02,
"grossExecutionPrice": 3418.2,
"minimumOutput": 338.4018,
"minimumOutputAtomic": "338401800",
"netExecutionPrice": 3418,
"priceImpactPercent": 0.08,
"quoteType": "INDICATIVE",
"rank": 1,
"route": "WETH → USDC @ 0.05%",
"slippageBps": 100,
"source": "Uniswap V3 QuoterV2 on Base",
"venue": "Uniswap V3"
},
"confidence": "HIGH",
"disclaimer": "Indicative, read-only on-chain Quoter results; not executable calldata.",
"expiresAt": "2026-01-01T00:00:30Z",
"fromToken": "WETH",
"inputAmount": 0.1,
"inputAmountAtomic": "100000000000000000",
"methodology": "Ranks live Uniswap V3 and KyberSwap routes after estimated gas.",
"network": "eip155:8453",
"quotedAt": "2026-01-01T00:00:00Z",
"routes": [],
"toToken": "USDC",
"unavailableRoutes": []
}Payment details
0x2fecabdfc849c76fdc28ca13aa0ab392753ef35cUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913Is this your API?
Pin it to the top of Market Data and the homepage with a featured placement.
More from Aiagentoracle & similar services
Aiagentoracle · Status
aiagentoracle.ai
AgentOracle: live service-health snapshot — tracked-token count, last ingestion timestamp, ingestion error counter, process uptime, and API version. Use as a cheap heartbeat before issuing larger queries.
Aiagentoracle · Tokens
aiagentoracle.ai
AgentOracle: list real-time on-chain crypto tokens sorted by market cap, with chain / min-liquidity / min-24h-volume / min-market-cap filters and limit+offset pagination. Each row includes price, 24h volume, market cap, liquidity, 24h price change, and confidence score.
Aiagentoracle · Tokens Movers
aiagentoracle.ai
AgentOracle: top 10 gainers and top 10 losers by 24h price change percentage across all tracked on-chain tokens. Returns two parallel arrays plus an `asOf` timestamp.