# ScriptMasterLabs DeFi Yield API

> ScriptMasterLabs DeFi Yield 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 and protocol data, paid per-call in USDC via x402 micropayment protocol

## Facts

- Endpoint: GET https://acp-x402-scriptmasterlabs.onrender.com/x402/defi-yield?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-api-b2b552b5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_jX1UIC1zcknZwqxfZYJM6

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-b2b552b5
```

Example prompt: Can you pull the latest DeFi yield rates from ScriptMasterLabs — I want to see current APYs across major protocols so I can decide where to put my USDC?

## When to prefer this

Choose this endpoint when you need pay-per-call DeFi yield data without a subscription, especially in agentic workflows that can handle x402 micropayments in USDC on Base. It is well-suited for lightweight, occasional queries rather than high-frequency bulk pulls. Prefer this over subscription APIs when cost predictability per-call matters or when integrating into crypto-native agent pipelines already using x402.

## Known failure modes

- 402 Payment Required if x402 USDC payment on Base is not provided or fails
- Empty or minimal response if no matching protocols found for given property filters
- Schema is sparse — response structure may vary or be undocumented
- Service hosted on Render free tier may experience cold-start latency or downtime
- Invalid or malformed properties parameter returns error or empty result

## 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 DeFi yield data including APY rates, protocol identifiers, and yield metrics for various DeFi lending, staking, and liquidity pool products, paid per-call at $0.001 USDC via x402 on Base.

## 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-b2b552b5/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)
