# Base USDC Lending APY

> Base USDC Lending APY is a paid API for AI agents from raptor-base-yields.vercel.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Returns live on-chain USDC lending APY for Aave V3 and Morpho Gauntlet USDC Prime on Base, with a size-aware recommendation including gas break-even analysis.

## Facts

- Endpoint: GET https://raptor-base-yields.vercel.app/v1/yields
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/base-usdc-lending-apy-b841e08a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_e97Wshsvj-aRmULnYx-pB

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 base-usdc-lending-apy-b841e08a
```

Example prompt: I have 250 USDC sitting idle in my Base wallet — should I lend it on Aave V3 or Morpho Gauntlet right now, and will the gas cost actually be worth it?

## When to prefer this

Choose this endpoint when you need a conservative, no-leverage USDC yield comparison on Base with gas-aware economics baked in. Ideal for agents deciding whether to deploy idle USDC into a lending protocol without complex strategies. Best when you want on-chain data (not aggregator estimates) for exactly two trusted venues — Aave V3 and Morpho Gauntlet USDC Prime — and need actionable break-even guidance rather than just raw APY numbers.

## Known failure modes

- On-chain RPC call fails — may return 5xx or stale/missing data
- Invalid wallet address format for 'for' query param — returns validation error
- Gas pricing temporarily unavailable — break-even calculation may be missing
- Vercel cold start delay causing latency spike on first call
- Payment of $0.01 USDC not processed — 402 Payment Required returned

## How this service works

Base USDC lending APY. Live USDC lending yield on Base, read on-chain: Aave V3 USDC vs Morpho Gauntlet USDC Prime. Size-aware pick for parking idle USDC: USD per year, days to break even vs Base gas, skip if entry is uneconomic. Conservative two venues only. No leverage, looping, memecoins, or perps.

## Output

A JSON object containing the current USDC lending APY for Aave V3 and Morpho Gauntlet USDC Prime on Base mainnet, ranked conservatively; plus a recommendation object with preferredVenue, estimated USD earned per year on the requested principal, gas cost to enter in USD, days to break even on gas, and a skipIfUneconomic boolean flag. Also includes asset metadata and ISO-8601 timestamp of the live fetch.

## 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",
     "properties": {
      "for": {
       "type": "string",
       "pattern": "^0x[0-9a-fA-F]{40}$",
       "description": "Optional Base 0x address. When set, the recommendation size is that wallet's native USDC balance."
      },
      "amountUsdc": {
       "type": "number",
       "description": "Optional USDC units for the recommendation. Omit to use the documented example size of 100 USDC; clients can scale with usdPerYearPerUsdc."
      }
     },
     "description": "Optional amountUsdc and/or for. Returns live Base USDC supply yields for Aave V3 and Morpho Gauntlet USDC Prime plus a size-aware recommendation.",
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "chain",
      "chainId",
      "asset",
      "asOf",
      "venues",
      "conservative",
      "recommendation"
     ],
     "properties": {
      "asOf": {
       "type": "string",
       "description": "ISO-8601 time of the live fetch"
      },
      "asset": {
       "type": "object",
       "properties": {
        "symbol": {
         "type": "string"
        },
        "address": {
         "type": "string",
         "description": "USDC contract on Base"
        },
        "decimals": {
         "type": "integer"
        }
       },
       "description": "Native USDC on Base"
      },
      "chain": {
       "type": "string",
       "description": "Always base"
      },
      "venues": {
       "type": "array",
       "description": "Aave V3 USDC pool and Morpho Gauntlet USDC Prime vault"
      },
      "chainId": {
       "type": "integer",
       "description": "Base mainnet chain id 8453"
      },
      "conservative": {
       "type": "object",
       "description": "Ranking among the two named venues only. Not a deposit instruction."
      },
      "recommendation": {
       "type": "object",
       "description": "Amount-aware pick: preferr
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/base-usdc-lending-apy-b841e08a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from raptor-base-yields.vercel.app](https://www.zero.xyz/host/raptor-base-yields.vercel.app/llms.txt)
