# Aave v3 Cross-Chain APY Comparator

> Aave v3 Cross-Chain APY Comparator is a paid API for AI agents from api.vextorium.com, paid per call via x402, $0.006/call, status unknown (last checked 2026-10-01).

Compares Aave v3 deposit and borrow APYs for a given token across all supported chains (Base, Ethereum, Arbitrum, Optimism, Polygon), returning the best chain and APY breakdown.

## Facts

- Endpoint: POST https://api.vextorium.com/aave-comparar-pago?utm_source=zero.xyz
- Price: $0.006/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/aave-v3-cross-chain-apy-comparator-3b1a2240
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_1H-ODdti26uG7uFX-INW8

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 aave-v3-cross-chain-apy-comparator-3b1a2240 -d '<json body>'
```

Example prompt: Which chain gives the best deposit APY for USDC on Aave v3 right now? Show me the rates across all supported chains.

## When to prefer this

Use this endpoint when you need a real-time, cross-chain comparison of Aave v3 lending or borrowing rates for a specific token. It aggregates live on-chain data from five chains in a single call, making it ideal for yield optimization, cost-of-capital analysis, or routing decisions without needing to query each chain separately.

## Known failure modes

- Unsupported or misspelled token symbol returns empty or null markets
- Token not listed on a specific chain returns null APY for that chain
- On-chain RPC errors may cause stale or missing data for one or more chains
- Missing required 'token' field returns a validation error
- Invalid 'tipo' enum value causes request rejection

## How this service works

Compare Aave v3 across all supported chains (Base, Ethereum, Arbitrum, Optimism, Polygon) for one token: where you earn the most supplying it, or pay the least borrowing it. Returns the best chain and the deposit/borrow APY on every chain. Live on-chain data.

## Output

Returns the best chain for the requested comparison type, the token symbol, the protocol name, the best APY percentage, a per-chain breakdown of deposit and borrow APYs, and any relevant notes. Data is sourced live from on-chain Aave v3 markets.

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "required": [
      "token"
     ],
     "properties": {
      "tipo": {
       "enum": [
        "deposito",
        "prestamo"
       ],
       "type": "string",
       "description": "deposito (earn by lending) or prestamo (cost of borrowing)"
      },
      "token": {
       "type": "string",
       "description": "Token symbol, e.g. USDC, WETH, USDT, DAI"
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": [
      "object",
      "null"
     ],
     "properties": {
      "nota": {
       "type": [
        "string",
        "null"
       ]
      },
      "token": {
       "type": [
        "string",
        "null"
       ]
      },
      "mercados": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": [
         "null",
         "object"
        ],
        "properties": {
         "red": {
          "type": [
           "null",
           "string"
          ]
         },
         "apy_deposito_pct": {
          "type": [
           "null",
           "number"
          ]
         },
         "apy_prestamo_pct": {
          "type": [
           "null",
           "number"
          ]
         }
        }
       }
      },
      "mejor_red": {
       "type": [
        "string",
        "null"
       ]
      },
      "protocolo": {
       "type": [
        "string",
        "null"
       ]
      },
      "comparando": {
       "type": [
        "string",
        "null"
       ]
      },
      "mejor_apy_pct": {
       "type": [
        "number",
        "null"
       ]
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/aave-v3-cross-chain-apy-comparator-3b1a2240/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.vextorium.com](https://www.zero.xyz/host/api.vextorium.com/llms.txt)
