# ScriptMasterLabs DeFi Yield Rates API

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

Returns current DeFi yield rates across protocols, settled via x402 micropayment in USDC on Base

## Facts

- Endpoint: GET https://acp-x402-scriptmasterlabs.onrender.com/x402/defi-yield-rates?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/scriptmasterlabs-defi-yield-rates-api-8d427a14
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_mEAymhCzHUloMNvmTC-hC

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-8d427a14
```

Example prompt: What are the current DeFi yield rates across major protocols right now? I want to see APY data so I can compare lending and liquidity opportunities.

## When to prefer this

Choose this endpoint when you need pay-per-call DeFi yield rate data settled via x402 USDC micropayments on Base, particularly when integrating into autonomous agent workflows that require real-time APY comparisons across DeFi protocols without a subscription commitment.

## Known failure modes

- Payment not settled — x402 micropayment of $0.001 USDC not confirmed, returns 402 Payment Required
- Invalid or missing properties parameter — returns error or empty result
- Service temporarily unavailable on Render.com free-tier hosting — returns 503
- Data freshness issues — yield rates may be stale if upstream data sources are delayed
- Empty response if no yield data matches the query filter

## 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 current yield rate data for DeFi protocols, likely including APY/APR figures, protocol names, and asset-specific yield metrics. Response format is minimal per the schema but expected to contain yield rate snapshots.

## 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-8d427a14/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from acp-x402-scriptmasterlabs.onrender.com](https://www.zero.xyz/host/acp-x402-scriptmasterlabs.onrender.com/llms.txt)
