Api Endpoint

LoneStarOracle

Portfolio risk analysis — concentration volatility correlation across holdings

Open interactive test console

Offering

Provider
portfolio.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://portfolio.lonestaroracle.xyz/analyze
MIME type
application/json
First seen
2026-10-16T01:50:04.338Z
Last seen
Tags
Portfolio, Risk, correlation, diversification, var, 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
0.1 USDC
Atomic price: 100000 · Network: eip155:4663 · Asset: USDC · Scheme: exact
Payment option 4
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:4663",
    "asset": "0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168",
    "amount": "100000",
    "payTo": "0xeF2a4B6756895aAf1374640dcFCD4947959442ab"
  },
  {
    "scheme": "exact",
    "network": "eip155:5042",
    "asset": "0x3600000000000000000000000000000000000000",
    "amount": "100000",
    "payTo": "0xeF2a4B6756895aAf1374640dcFCD4947959442ab"
  }
]

Observed health

Status
Healthy
Latest latency
40 ms
Average latency
586 ms
HTTP status
402
Last checked
Reachability
100% over 13 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": {
        "tickers": {
          "type": "string",
          "title": "Tickers"
        },
        "weights": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Weights"
        }
      }
    }
  }
}

Output schema

{
  "category": "trading",
  "description": "Portfolio risk analysis for up to 20 tickers. Returns weighted portfolio returns (1m/3m/1y), annualized volatility, portfolio beta, 1-day 95% VaR, average correlation, diversification score (0-10), sector concentration breakdown, top correlated pairs, and risk flags. Supports custom weights or equal-weight. Ideal for portfolio review, risk assessment, and rebalancing decisions.",
  "name": "LoneStarOracle — PortfolioRisk",
  "properties": {
    "input": {
      "properties": {
        "method": {
          "enum": [
            "GET",
            "HEAD",
            "DELETE"
          ],
          "type": "string"
        },
        "queryParams": {
          "properties": {
            "tickers": {
              "title": "Tickers",
              "type": "string"
            },
            "weights": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Weights"
            }
          },
          "type": "object"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "avg_correlation": 0.54,
          "diversification_score": 6.8,
          "holdings": [
            {
              "ann_vol": 23.4,
              "beta": 1.24,
              "ret_1y": 34.8,
              "ticker": "AAPL",
              "weight": 25
            }
          ],
          "portfolio_beta": 1.12,
          "portfolio_return_1y": 28.4,
          "portfolio_volatility": 18.2,
          "risk_flags": [
            "sector concentration: Technology at 60%"
          ],
          "sector_breakdown": {
            "ETF": 25,
            "Technology": 60
          },
          "summary": "4-asset portfolio: 1yr ret +28.4% | Vol 18.2% | Beta 1.12 | Div score 6.8/10",
          "var_95_1day_pct": 1.82
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "tags": [
    "portfolio",
    "risk",
    "correlation",
    "diversification",
    "var",
    "beta"
  ],
  "type": "object",
  "version": "1.0.0"
}