---
name: signal.pathin.me
description: signal.pathin.me provides a single read-only decision-support signal for USDC lending on the Base network. It fetches live APYs from Aave V3, Compound III, and Moonwell, then computes whether switching protocols is worth the cost given user-supplied constraints. It returns a structured recommendation (hold, review_exit, or switch_candidate) with break-even analysis.
host: signal.pathin.me
---

# signal.pathin.me

This host is a narrow, single-purpose signal provider targeting agents or users managing idle USDC in Base lending protocols. It does not execute transactions, bridge assets, or operate cross-chain. Its value is in automating the APY comparison and break-even math that would otherwise require manual lookups across three protocols, surfacing a concrete recommendation rather than raw data.

## When to use this host

Use this host when an agent needs to evaluate whether to move a USDC lending position between Aave V3, Compound III, or Moonwell on Base, factoring in switching costs and a minimum yield improvement threshold. Do not use it for cross-chain lending decisions (e.g., comparing Base vs. Arbitrum rates), token swaps, portfolio rebalancing across asset types, or any workflow that requires submitting or constructing a transaction. For transaction execution, a separate on-chain execution host or wallet integration would be needed. For broader DeFi yield aggregation across chains or assets beyond USDC, a more general yield aggregator API would be more appropriate.

## Capabilities

### Lending Protocol Signal

Compares live USDC supply APYs across Aave V3, Compound III, and Moonwell on Base and returns a hold or switch recommendation with break-even analysis based on capital size, switching cost, minimum spread, and maximum break-even window.

- **`fetch-base-usdc-lending-switch`** — Compares live Aave V3, Compound III, and Moonwell supply APYs for native USDC on Base and returns a hold, review_exit, or switch_candidate recommendation with break-even analysis.

## Skill reference

### `fetch-base-usdc-lending-switch`

**Base USDC Lending Switch Signal** — Compares live Aave V3, Compound III, and Moonwell supply APYs for native USDC on Base and returns a hold, review_exit, or switch_candidate recommendation with break-even analysis.

*Use when:* Use when an agent needs to decide whether to move idle USDC or an existing lending position on Base to a higher-yielding protocol, given a capital amount, current protocol, estimated switching cost, minimum spread requirement, and maximum break-even window.

*Not for:* Do not use for cross-chain lending comparisons, token swaps, or any action that constructs or submits a transaction; this endpoint is read-only decision support only.

**Inputs:**

- `capital_usdc` (number) — USDC principal used to size incremental annual yield. Range: 10 to 1,000,000. Default: 100.
- `current_protocol` (string) — Current location of the USDC principal. One of: wallet, aave, compound, moonwell. Default: wallet.
- `estimated_switch_cost_usdc` (number) — Caller's total estimated approval, withdrawal, supply, and other execution cost in USDC. Range: 0 to 1000. Default: 0.01.
- `minimum_spread_percent` (number) — Minimum APY percentage-point advantage required to compensate for protocol-switch risk. Range: 0 to 20. Default: 1.5.
- `maximum_break_even_days` (integer) — Longest acceptable time in days for incremental yield to recover estimated switching cost. Range: 1 to 3650. Default: 90.

**Returns:** Returns a report with recommendation (hold/review_exit/switch_candidate), current and best-eligible protocol APYs, incremental annual yield, break-even days, and a full markets array for Aave V3, Compound III, and Moonwell, plus x402 payment metadata.

**Example:** `GET https://signal.pathin.me/api/v2/base-usdc-lending-switch?capital_usdc=100&current_protocol=aave&estimated_switch_cost_usdc=0.01&minimum_spread_percent=1.5&maximum_break_even_days=90`

---
