DeFi protocol risk score: TVL, hack history, audit status, contract safety, AI verdict, pl
DeFi protocol risk score: TVL, hack history, audit status, contract safety, AI verdict, plus current supply/lending yields (APY)
100000 (raw units)
price
2
calls / 30d
1
unique payers
2026-09-16
updated
Provider
defi.lonestaroracle.xyz · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x52Ab53912D37759B2ad364f22dD06B16714b6C06",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "100000",
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
"payTo": "3nmeVj5m9Uq2hSTfsVsn3tJMHRJQNMKR1AjzyUJbrSgw",
"asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"amount": "100000",
"maxTimeoutSeconds": 300
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"method": "GET",
"queryParams": {
"address": "",
"chain_id": "1",
"protocol": "aave",
"q": "nvidia",
"slug": "aave"
},
"type": "http"
},
"output": {
"example": "{\"protocol\":\"Aave\",\"tvl\":\"$13.1B\",\"risk_score\":8.5,\"verdict\":\"LOW RISK\",\"flags\":[],\"hacks\":[],\"ai_assessment\":\"Aave is one of the most battle-tested lending protocols...\"}",
"format": "json",
"type": "object"
}
},
"schema": {
"category": "blockchain",
"description": "Protocol-level DeFi risk scoring: TVL, hack history from DeFiLlama, audit status, GoPlus contract safety, risk score 0-10 with AI assessment, plus current supply/lending APY (DeFiLlama yields) for lending/yield protocols. For agents and developers evaluating DeFi protocols before capital allocation.",
"name": "DeFiRisk — DeFi Protocol Risk Scoring",
"properties": {
"input": {
"properties": {
"method": {
"enum": [
"GET",
"HEAD",
"DELETE"
],
"type": "string"
},
"queryParams": {
"properties": {
"address": {
"default": "",
"description": "Optional contract address for GoPlus check",
"title": "Address",
"type": "string"
},
"chain_id": {
"default": "1",
"description": "Chain ID for GoPlus (default: 1 = Ethereum)",
"title": "Chain Id",
"type": "string"
},
"protocol": {
"description": "Protocol name or slug",
"title": "Protocol",
"type": "string"
},
"q": {
"description": "Alias for protocol",
"title": "Q",
"type": "string"
},
"slug": {
"description": "Alias for protocol",
"title": "Slug",
"type": "string"
}
},
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"tags": [
"defi",
"risk",
"protocol",
"tvl",
"audit",
"security",
"defillama"
],
"type": "object",
"version": "1.0.0"
}
},
"bc_kg64bd18": {}
}Use it
curl
curl "https://defi.lonestaroracle.xyz/risk" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://defi.lonestaroracle.xyz/risk");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://defi.lonestaroracle.xyz/risk")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/5352.json, and this resource appears in /discovery/resources and /discovery/search.