# ScriptMasterLabs DeFi Yield Rates API

> ScriptMasterLabs DeFi Yield Rates API is a paid API for AI agents from acp-x402-discovery.onrender.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Returns current DeFi yield rates across protocols, paid per-call in USDC via x402 on Base

## Facts

- Endpoint: GET https://acp-x402-discovery.onrender.com/x402/defi-yield-rates
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/scriptmasterlabs-defi-yield-rates-api-fabaed24
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_qN0UToBVOswe01rI8s7Ub

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 scriptmasterlabs-defi-yield-rates-api-fabaed24
```

Example prompt: What are the current DeFi yield rates across major protocols — I want to see APY for lending and staking so I can figure out where to put my idle USDC and ETH?

## When to prefer this

Choose this endpoint when you need pay-per-call DeFi yield rate data settled in USDC on Base via x402, particularly in agent workflows that already handle x402 micropayments. It is well-suited for lightweight, on-demand yield lookups without a subscription. Prefer established alternatives (DeFiLlama, Zapper) if you need guaranteed schema stability or free access.

## Known failure modes

- 402 Payment Required if USDC payment via x402 on Base is not attached or fails
- Empty or stub response if no yield data is currently available
- Schema returns an empty example object, so response structure is not guaranteed
- Render.com hosting may cause cold-start latency or 503 downtime
- Invalid or malformed properties parameter may return no results

## How this service works

Pay-per-call crypto, RWA, federal, SEC, and compliance APIs. Settled in USDC on Base via x402. Hyphen routes only (e.g. /x402/rwa-aggregates, /x402/gas-tracker).

## Output

Returns a JSON object containing current DeFi yield rates (APY/APR) across decentralized finance protocols and assets, enabling comparison of lending, staking, and liquidity provision returns.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "example": {}
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/scriptmasterlabs-defi-yield-rates-api-fabaed24/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from acp-x402-discovery.onrender.com](https://www.zero.xyz/host/acp-x402-discovery.onrender.com/llms.txt)
