{
  "x402Version": 2,
  "id": 31409,
  "slug": "31409",
  "resource": "https://defi.lonestaroracle.xyz/risk",
  "description": "DeFi protocol risk score: TVL, hack history, audit status, contract safety, AI verdict, plus current supply/lending yields (APY)",
  "type": "http",
  "serviceName": "DeFiRisk",
  "resourceType": "Agent Service",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x52Ab53912D37759B2ad364f22dD06B16714b6C06",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "100000",
      "amountUsd": 0.1,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "3nmeVj5m9Uq2hSTfsVsn3tJMHRJQNMKR1AjzyUJbrSgw",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "100000",
      "amountUsd": 0.1,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {},
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "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"
      }
    }
  },
  "tags": [
    "defi",
    "risk",
    "protocol",
    "tvl",
    "audit",
    "bazaar"
  ],
  "sourceHost": "defi.lonestaroracle.xyz",
  "lastUpdated": "2026-10-01T11:01:47.364Z",
  "quality": {
    "calls30d": 2,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-10-01T11:01:47.205Z"
  },
  "metadata": {
    "serviceName": "DeFiRisk",
    "extensions": {
      "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"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "defi.lonestaroracle.xyz",
    "manifest_name": "defi.lonestaroracle.xyz",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": "{\"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...\"}"
}