# Lending Rates Lookup — x402helper.xyz

> Lending Rates Lookup — x402helper.xyz is a paid API for AI agents from x402helper.xyz, paid per call via x402, $0.013/call, status unknown (last checked 2026-10-31).

Returns ranked supply and borrow rates for DeFi lending assets on Base, gated by x402 USDC micropayment.

## Facts

- Endpoint: GET https://x402helper.xyz/89e509/lending/rates?utm_source=zero.xyz
- Price: $0.013/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/lending-rates-lookup-x402helper-xyz-b7147712
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_v4inpY5r_saSHHVaDqw41

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 lending-rates-lookup-x402helper-xyz-b7147712
```

Example prompt: What are the current supply and borrow rates for USDC on Base — show me both sides ranked?

## When to prefer this

Use this endpoint when an AI agent needs real-time DeFi lending rate data specifically on Base chain, especially when comparing supply vs borrow rates across assets like USDC, ETH, or WETH. It is well-suited for autonomous agents that can handle x402 micropayments natively and need lightweight, per-call rate lookups without a subscription.

## Known failure modes

- Payment not included or invalid x402 USDC payment — returns 402 Payment Required
- Unknown or unsupported asset symbol provided — may return empty result or error
- Invalid 'side' enum value — request rejected by schema validation
- Chain not supported (only Base is accepted) — error or ignored
- Service temporarily unavailable — generic 5xx error

## How this service works

X402 micropayments server — AI agents pay USDC for OFAC screening, rates, and billing verification.

## Output

A JSON object with a 'result' field containing ranked supply and/or borrow rate data for the requested asset(s) on Base chain, including rate values per protocol or pool, along with a 'success' boolean.

## 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"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "side": {
       "enum": [
        "supply",
        "borrow",
        "both"
       ],
       "type": "string",
       "default": null,
       "description": "Which ranking to compute (default both)"
      },
      "asset": {
       "type": "string",
       "default": null,
       "description": "Token symbol to fuse rates for, e.g. USDC / ETH / WETH; omit for all assets"
      },
      "chain": {
       "enum": [
        "Base"
       ],
       "type": "string",
       "default": null,
       "description": "Chain (default Base)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {},
  "success": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/lending-rates-lookup-x402helper-xyz-b7147712/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402helper.xyz](https://www.zero.xyz/host/x402helper.xyz/llms.txt)
