AgentOracle: use when choosing where to execute a Base swap
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.
100000 (raw units)
price
3
calls / 30d
1
unique payers
2026-09-06
updated
Provider
aiagentoracle.ai · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x2feCabDFC849C76fdC28CA13Aa0Ab392753EF35C",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "100000",
"maxTimeoutSeconds": 60
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"body": {
"amount": 0.1,
"fromToken": "WETH",
"network": "base",
"slippageBps": 100,
"toToken": "USDC"
},
"bodyType": "json",
"method": "POST",
"type": "http"
},
"output": {
"example": {
"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": []
},
"type": "json"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"additionalProperties": false,
"properties": {
"amount": {
"exclusiveMinimum": 0,
"type": "number"
},
"fromToken": {
"enum": [
"WETH",
"USDC",
"USDT",
"DAI"
],
"type": "string"
},
"network": {
"enum": [
"base",
"eip155:8453"
],
"type": "string"
},
"slippageBps": {
"default": 100,
"maximum": 5000,
"minimum": 1,
"type": "integer"
},
"toToken": {
"enum": [
"WETH",
"USDC",
"USDT",
"DAI"
],
"type": "string"
}
},
"required": [
"network",
"fromToken",
"toToken",
"amount"
],
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"properties": {
"bestRoute": {
"type": [
"object",
"null"
]
},
"confidence": {
"enum": [
"HIGH",
"MEDIUM",
"LOW"
],
"type": "string"
},
"disclaimer": {
"type": "string"
},
"expiresAt": {
"format": "date-time",
"type": "string"
},
"fromToken": {
"type": "string"
},
"inputAmount": {
"type": "number"
},
"inputAmountAtomic": {
"type": "string"
},
"methodology": {
"type": "string"
},
"network": {
"enum": [
"eip155:8453"
],
"type": "string"
},
"quotedAt": {
"format": "date-time",
"type": "string"
},
"routes": {
"items": {
"properties": {
"confidence": {
"enum": [
"HIGH",
"MEDIUM",
"LOW"
],
"type": "string"
},
"executable": {
"type": "boolean"
},
"expectedOutput": {
"type": "number"
},
"expectedOutputAtomic": {
"type": "string"
},
"expiresAt": {
"format": "date-time",
"type": "string"
},
"feeBps": {
"type": [
"number",
"null"
]
},
"gasUnits": {
"type": "string"
},
"gasUsd": {
"type": [
"number",
"null"
]
},
"grossExecutionPrice": {
"type": "number"
},
"minimumOutput": {
"type": "number"
},
"minimumOutputAtomic": {
"type": "string"
},
"netExecutionPrice": {
"type": [
"number",
"null"
]
},
"priceImpactPercent": {
"type": [
"number",
"null"
]
},
"quoteType": {
"enum": [
"EXECUTABLE",
"INDICATIVE"
],
"type": "string"
},
"rank": {
"type": "integer"
},
"route": {
"type": "string"
},
"slippageBps": {
"type": "integer"
},
"source": {
"type": "string"
},
"venue": {
"type": "string"
}
},
"required": [
"rank",
"venue",
"route",
"feeBps",
"quoteType",
"executable",
"expectedOutput",
"expectedOutputAtomic",
"minimumOutput",
"minimumOutputAtomic",
"gasUnits",
"gasUsd",
"slippageBps",
"priceImpactPercent",
"grossExecutionPrice",
"netExecutionPrice",
"confidence",
"expiresAt",
"source"
],
"type": "object"
},
"type": "array"
},
"toToken": {
"type": "string"
},
"unavailableRoutes": {
"items": {
"type": "object"
},
"type": "array"
}
},
"required": [
"network",
"fromToken",
"toToken",
"inputAmount",
"inputAmountAtomic",
"bestRoute",
"routes",
"unavailableRoutes",
"confidence",
"quotedAt",
"expiresAt",
"methodology",
"disclaimer"
],
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
}
}Use it
curl
curl "https://aiagentoracle.ai/api/v1/execution/quote" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://aiagentoracle.ai/api/v1/execution/quote");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://aiagentoracle.ai/api/v1/execution/quote")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/1096.json, and this resource appears in /discovery/resources and /discovery/search.