# Saylor Innovations DeFi Swap Quote Comparator

> Saylor Innovations DeFi Swap Quote Comparator is a paid API for AI agents from saylorinnovations.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-11-28).

Compares Paraswap and KyberSwap DEX aggregator quotes for an EVM token swap across 7 chains, returning output amount, USD value, gas cost, best aggregator, and advantage in basis points

## Facts

- Endpoint: GET https://saylorinnovations.com/api/defi/swap-quote?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-28
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/saylor-innovations-defi-swap-quote-comparator-8fe7e5e5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_IRGAlKwuo9JSLVfb3Z23V

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability saylor-innovations-defi-swap-quote-comparator-8fe7e5e5
```

Example prompt: Compare Paraswap and KyberSwap swap quotes for selling 1.5 ETH to USDC on Arbitrum — show me the output amount, USD value, gas cost, and which aggregator wins and by how many basis points.

## When to prefer this

Choose this endpoint when you need a side-by-side comparison of Paraswap and KyberSwap quotes for a specific EVM token swap, especially when optimizing for best output amount or lowest gas cost across the 7 supported chains. It is ideal for pre-trade analysis, routing decisions, or surfacing the basis-point advantage of one aggregator over another without executing a transaction.

## Known failure modes

- Unsupported token symbol returns empty or error quote
- Chain not in supported list (ethereum, base, arbitrum, optimism, polygon, bsc, avalanche) causes error
- Aggregator API timeout results in null quote for that provider
- Very large or very small amounts may return no liquidity / null route
- Missing required query params (from, to, amount) returns 400-style error
- Token address typo yields no route found

## How this service works

Compare Paraswap and KyberSwap quotes for an EVM token swap on 7 chains - output amount, USD value, gas, best aggregator and advantage in basis points

## Output

Returns a JSON object with the blockchain name, best aggregator identifier, best output amount, an array of quotes (one per aggregator) each containing output token amount, USD value, gas cost in USD, DEX route used, and price impact note, plus an effective price and note field with context for interpreting results.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "queryParams"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "from",
      "to",
      "amount"
     ],
     "properties": {
      "to": {
       "type": "string",
       "description": "Token symbol or address to buy"
      },
      "from": {
       "type": "string",
       "description": "Token symbol or address to sell"
      },
      "chain": {
       "type": "string",
       "description": "ethereum (default), base, arbitrum, optimism, polygon, bsc, avalanche"
      },
      "amount": {
       "type": "string",
       "description": "Amount of the from token in whole units, e.g. 1.5"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "json"
    },
    "example": {
     "type": "object",
     "required": [
      "chain",
      "best",
      "quotes"
     ],
     "properties": {
      "to": {
       "type": "object",
       "properties": {
        "symbol": {
         "type": [
          "string"
         ]
        },
        "address": {
         "type": [
          "string"
         ]
        }
       },
       "description": "End of the range",
       "additionalProperties": true
      },
      "best": {
       "type": "string",
       "description": "Aggregator that returns the most output tokens"
      },
      "from": {
       "type": "object",
       "properties": {
        "amount": {
         "type": [
          "integer"
         ]
        },
        "symbol": {
         "type": [
          "string"
         ]
        },
        "address": {
         "type": [
          "string"
         ]
        }
       },
       "description": "Start of the range",
       "additionalProperties": true
      },
      "note": {
       "type": "string",
       "description": "Caveat or context for reading the result"
      },
      "chain": {
       "type": "string",
       "description": "Blockchain the data is for"
      },
      "quotes": {
       "type": "array",
       "items": {
        "type": "object",
       
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/saylor-innovations-defi-swap-quote-comparator-8fe7e5e5/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from saylorinnovations.com](https://www.zero.xyz/host/saylorinnovations.com/llms.txt)
