# LOR Base Lending Evaluator

> LOR Base Lending Evaluator is a paid API for AI agents from api.alphabuild.xyz, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Evaluates whether a requested USDC supply amount is realizable across Aave V3 and Morpho Blue lending opportunities on Base, with optional APY and protocol filters.

## Facts

- Endpoint: POST https://api.alphabuild.xyz/lor/v1/evaluate
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/lor-base-lending-evaluator-1aad8966
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_vQUrL6PH-9gAddAdOHQ-m

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 lor-base-lending-evaluator-1aad8966 -d '<json body>'
```

Example prompt: Can you check whether I can supply 5000 USDC on Base — look across both Aave V3 and Morpho Blue and only show me opportunities with at least a 4% base supply APY?

## When to prefer this

Choose this endpoint when you need to programmatically evaluate whether a specific USDC supply amount can be placed into DeFi lending on Base before committing to a transaction — particularly when you want to filter by minimum APY or specific protocol (Aave V3 or Morpho Blue). Prefer this over generic DeFi aggregators when you need a structured, agent-callable feasibility check with deterministic schema output, or when orchestrating automated yield strategies on Base.

## Known failure modes

- No opportunities meet the minimum_base_supply_apy threshold — returns empty or rejected result
- Requested amount exceeds available liquidity in matched protocols — marked as not realizable
- Invalid or unsupported opportunity_id provided without a protocol — validation error
- Amount provided in atomic units instead of whole-token decimals — incorrect evaluation
- protocol filter set to unsupported value — schema validation failure
- Network unavailable or Base RPC issues — timeout or service error

## How this service works

Evaluate whether a requested USDC supply amount is realizable across approved Aave V3 and Morpho Blue lending opportunities on Base, with optional minimum supply APY and protocol filters.

## Output

Returns an assessment of whether the requested USDC supply amount is realizable across approved Aave V3 and/or Morpho Blue lending opportunities on Base (chain ID 8453), including matched opportunities, their base supply APYs, and feasibility status given the requested amount and any APY or protocol filters applied.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "asset": {
   "type": "string",
   "const": "USDC"
  },
  "amount": {
   "type": "string",
   "pattern": "^[0-9]+(?:\\.[0-9]+)?$",
   "description": "Requested USDC amount in whole-token decimal units, not atomic units."
  },
  "protocol": {
   "enum": [
    "aave-v3",
    "morpho-blue"
   ],
   "type": "string",
   "description": "Optional protocol filter."
  },
  "opportunity_id": {
   "type": "string",
   "minLength": 1,
   "description": "Optional approved opportunity identifier; requires protocol."
  },
  "target_environment": {
   "type": "object",
   "required": [
    "kind",
    "chain_id"
   ],
   "properties": {
    "kind": {
     "type": "string",
     "const": "evm_chain"
    },
    "chain_id": {
     "type": "integer",
     "const": 8453
    },
    "network_name": {
     "type": "string",
     "const": "base"
    }
   },
   "additionalProperties": false
  },
  "minimum_base_supply_apy": {
   "type": "string",
   "pattern": "^[0-9]+(?:\\.[0-9]+)?$",
   "description": "Optional minimum acceptable base supply APY as a decimal fraction."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/lor-base-lending-evaluator-1aad8966/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.alphabuild.xyz](https://www.zero.xyz/host/api.alphabuild.xyz/llms.txt)
