Api Endpoint

LoneStarOracle

DeFi protocol risk score: TVL, hack history, audit status, contract safety, AI verdict, plus current supply/lending yields (APY)

Open interactive test console

Offering

Provider
defi.lonestaroracle.xyz
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Financial Analysis
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://defi.lonestaroracle.xyz/risk
MIME type
application/json
First seen
2026-10-16T01:50:03.601Z
Last seen
Tags
DeFi, Risk, protocol, tvl, audit, X402, financial-data, real-economy, lonestaroracle, Macro, equities, Crypto, compliance, Data

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.1 USDC
Atomic price: 100000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 2
0.1 USDC
Atomic price: 100000 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: USDC · Scheme: exact
Payment option 3
100000 atomic units
Atomic price: 100000 · Network: eip155:5042 · Asset: 0x3600000000000000000000000000000000000000 · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "100000",
    "payTo": "0x52Ab53912D37759B2ad364f22dD06B16714b6C06"
  },
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "100000",
    "payTo": "3nmeVj5m9Uq2hSTfsVsn3tJMHRJQNMKR1AjzyUJbrSgw"
  },
  {
    "scheme": "exact",
    "network": "eip155:5042",
    "asset": "0x3600000000000000000000000000000000000000",
    "amount": "100000",
    "payTo": "0xeF2a4B6756895aAf1374640dcFCD4947959442ab"
  }
]

Observed health

Status
Healthy
Latest latency
41 ms
Average latency
611 ms
HTTP status
402
Last checked
Reachability
100% over 14 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "type": "object",
  "required": [
    "type",
    "method"
  ],
  "properties": {
    "type": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "enum": [
        "GET",
        "HEAD",
        "DELETE"
      ]
    },
    "queryParams": {
      "type": "object",
      "properties": {
        "protocol": {
          "type": "string",
          "description": "Protocol name or slug",
          "title": "Protocol"
        },
        "slug": {
          "type": "string",
          "description": "Alias for protocol",
          "title": "Slug"
        },
        "q": {
          "type": "string",
          "description": "Alias for protocol",
          "title": "Q"
        },
        "address": {
          "type": "string",
          "description": "Optional contract address for GoPlus check",
          "default": "",
          "title": "Address"
        },
        "chain_id": {
          "type": "string",
          "description": "Chain ID for GoPlus (default: 1 = Ethereum)",
          "default": "1",
          "title": "Chain Id"
        }
      }
    }
  }
}

Output 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"
}