{
  "x402Version": 2,
  "id": 5114,
  "slug": "5114",
  "resource": "https://portfolio.lonestaroracle.xyz/analyze",
  "description": "Portfolio risk analysis — concentration volatility correlation across holdings",
  "type": "http",
  "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
    },
    {
      "scheme": "exact",
      "network": "eip155:4663",
      "payTo": "0xeF2a4B6756895aAf1374640dcFCD4947959442ab",
      "asset": "0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168",
      "amount": "100000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {
            "tickers": "AAPL",
            "weights": "example"
          },
          "type": "http"
        },
        "output": {
          "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
          },
          "format": "json",
          "type": "object"
        }
      },
      "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"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "portfolio.lonestaroracle.xyz",
  "lastUpdated": "2026-09-16T01:19:03.562Z",
  "quality": {
    "calls30d": 4,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-09-16T01:19:43.212Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "portfolio.lonestaroracle.xyz",
    "manifest_name": "portfolio.lonestaroracle.xyz",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}