# RWA Yield Facet (DefiLlama)

> RWA Yield Facet (DefiLlama) is a paid API for AI agents from payai.agentstools.dev, paid per call via x402, $0.008/call, status unknown (last checked 2026-09-14).

Returns pool-level and TVL-weighted APY data (base, reward, 30-day mean, 30-day change) for a tokenized real-world asset product from the DefiLlama yields feed.

## Facts

- Endpoint: GET https://payai.agentstools.dev/rwa/yield
- Price: $0.008/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/rwa-yield-facet-defillama-f26250ba
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_rLtZMs2Vh0DG9_M0ansek

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 rwa-yield-facet-defillama-f26250ba
```

Example prompt: What's the current APY and 30-day mean APY for the Ondo Finance USDY product? Pull the pool-level base and reward yields plus the TVL-weighted average across its pools.

## When to prefer this

Use this endpoint when you need structured, cited yield data for a specific tokenized RWA product and want pool-level detail (base APY, reward APY, 30-day metrics) plus a TVL-weighted aggregate, sourced from DefiLlama's open yields feed. Prefer it over raw DefiLlama API calls when you need the aggregation and 30-day trend pre-computed in one call.

## Known failure modes

- Product not tracked by DefiLlama — returns availability: false with no yield figures
- Invalid or misspelled slug/symbol — likely returns empty or error response
- DefiLlama upstream data unavailable — may return stale or null values
- No pools found for the given product — availability flag set to false

## How this service works

Yield facet for a tokenized-RWA product: pool-level APY, base APY, reward APY, the 30-day mean APY and the 30-day change, plus a TVL-weighted average across the product's pools, from the DefiLlama yields feed. Reports availability false when the product has no tracked pools. Cited to the open-data source.

## Output

A structured response containing: pool-level APY, base APY, reward APY, 30-day mean APY, 30-day APY change, a TVL-weighted average APY across the product's pools, an availability boolean (false if no pools are tracked), and a citation to the DefiLlama open-data source.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "slug": {
       "type": "string",
       "description": "DefiLlama product slug"
      },
      "symbol": {
       "type": "string",
       "description": "Token symbol (alternative to slug)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/rwa-yield-facet-defillama-f26250ba/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from payai.agentstools.dev](https://www.zero.xyz/host/payai.agentstools.dev/llms.txt)
