{
  "x402Version": 2,
  "id": 1096,
  "slug": "1096",
  "resource": "https://aiagentoracle.ai/api/v1/execution/quote",
  "description": "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.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x2feCabDFC849C76fdC28CA13Aa0Ab392753EF35C",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "100000",
      "maxTimeoutSeconds": 60
    }
  ],
  "outputSchema": {
    "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"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "aiagentoracle.ai",
  "lastUpdated": "2026-09-06T04:30:13.679Z",
  "quality": {
    "calls30d": 3,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-09-06T04:30:13.447Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "aiagentoracle.ai",
    "manifest_name": "aiagentoracle.ai",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}