# ScriptMasterLabs DeFi Yield API

> ScriptMasterLabs DeFi Yield 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 DeFi yield data (rates, protocols, pools) settled via x402 micropayment in USDC on Base

## Facts

- Endpoint: GET https://acp-x402-discovery.onrender.com/x402/defi-yield
- 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-api-5615a1d5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_vcRFOLNXp3DMKgfWbRUgV

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-api-5615a1d5
```

Example prompt: What are the current DeFi yield rates across major protocols — I want to see APY for lending and liquidity pools right now?

## When to prefer this

Choose this endpoint when you need pay-per-call DeFi yield data without a subscription, paid in USDC on Base via x402 micropayment. Best for agents that need occasional yield lookups without committing to a recurring API plan. Avoid if you need deeply documented schemas, guaranteed uptime, or high-volume queries.

## Known failure modes

- 402 Payment Required if USDC micropayment on Base is not included or fails
- Empty or stub response due to undocumented schema (example:{})
- Service unavailability from Render.com free-tier hosting (cold starts, downtime)
- Malformed input due to unclear schema (nested 'properties' property in input schema)
- Rate limiting or quota exhaustion

## 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 DeFi yield data including protocol names, pool identifiers, APY/APR rates, and related metrics for yield-bearing opportunities across decentralized finance protocols, delivered as a JSON response after micropayment via x402.

## 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-api-5615a1d5/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)
