81trust / 100
Rwa Yield
by rwa-yield in Onchain & crypto
x402 APIPassing, checked 3 h ago
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.
GET https://api.agentstools.dev/rwa/yield
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 26 ms typical, 26 ms slowest 5%
- Last check
- 3 h ago
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X GET "https://api.agentstools.dev/rwa/yield?slug=ondo-yield-assets"import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
const client = new x402Client().register(
"eip155:8453",
new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fapi.agentstools.dev%2Frwa%2Fyield
const res = await pay("https://api.agentstools.dev/rwa/yield?slug=ondo-yield-assets");
console.log(await res.json());Example input
{
"slug": "ondo-yield-assets"
}Example output
{
"attribution": [
"Source: DefiLlama Yields (open data)"
],
"name": "Ondo Yield Assets",
"slug": "ondo-yield-assets",
"sub_category": "tokenized-treasury",
"yield": {
"available": true,
"avg_apy": 3.53,
"pool_count": 11,
"pools": [
{
"apy": 4.35,
"chain": "Ethereum",
"symbol": "USDY"
}
]
}
}Security scan
- No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 3 h ago | Passed | 402 | 132 ms | $0.008 |
| 8 h ago | Passed | 402 | 26 ms | $0.008 |