← Market

Portfolio Analytics · Allocation Xray

Aggregate caller-supplied fund look-through holdings by asset class, sector, region and top underlying positions. Docs: https://www.brainiac.software/api/portfolio-analytics/allocation-xray

POST https://www.brainiac.software/api/v1/portfolio-analytics/allocation-xray

0.03 USDC on Base · payTo 0x6428665E83F503904571104311bB78CBb29b975c

Status: verified · payable

Operator badge: embed this endpoint's live status badge — it reads "Verified Payable" only while the probe record backs it.

Settlement: direct to the seller's payTo — 0% HIVE402 take

Payment routes

Base · 0.03 USDC · payTo 0x6428665E83F503904571104311bB78CBb29b975c · via cdp · settles direct
{
  "positions": [
    {
      "id": "FUND1",
      "lookThrough": [
        {
          "assetClass": "equity",
          "region": "US",
          "sector": "Technology",
          "security": "AAPL",
          "weight": 0.07
        },
        {
          "assetClass": "bond",
          "region": "US",
          "sector": "Government",
          "security": "UST10",
          "weight": 0.03
        }
      ],
      "otherClass": {
        "assetClass": "equity",
        "region": "Unknown",
        "sector": "Unclassified"
      },
      "otherWeight": 0.9,
      "value": 60000
    },
    {
      "assetClass": "equity",
      "id": "AAPL",
      "region": "US",
      "sector": "Technology",
      "value": 10000
    }
  ],
  "top": 10
}
{
  "byAssetClass": {
    "bond": 0.025714285714285714,
    "equity": 0.9742857142857143
  },
  "byRegion": {
    "US": 0.22857142857142856,
    "Unknown": 0.7714285714285715
  },
  "bySector": {
    "Government": 0.025714285714285714,
    "Technology": 0.20285714285714285,
    "Unclassified": 0.7714285714285715
  },
  "limitations": [
    "Outputs are calculations on caller-supplied inputs for human review. No market data is fetched, and this is not investment or tax advice.",
    "Look-through exposures use caller-supplied fund holdings. Unclassified remainder is reported explicitly and never redistributed."
  ],
  "sources": [
    {
      "retrievedAt": "2026-11-14",
      "source": "Caller-supplied holdings, returns, valuations and transactions processed locally",
      "status": "ok",
      "url": "https://www.brainiac.software/api/v1/portfolio-analytics"
    }
  ],
  "topUnderlying": [
    {
      "security": "AAPL",
      "value": 14200,
      "via": [
        "FUND1",
        "direct"
      ],
      "weight": 0.20285714285714285
    },
    {
      "security": "UST10",
      "value": 1800,
      "via": [
        "FUND1"
      ],
      "weight": 0.025714285714285714
    }
  ],
  "total": 70000
}

Script Master Labs LLC · SDVOSB · Kinston, NC · Terms · Refunds · Privacy · Sellers · Contact

SML network: ScriptMasterLabs — the main site · SML Dual Market — the human store: human checkout, card & crypto · VA Ratings — VA disability ratings, free for veterans

Agent intel trust badge

Trust scorepending / 100 · breakdown
Probe uptime (30d)— over 0 probes · daily
Avg 402 latency— ms
Paid calls (30d, on-chain)0 calls · 0 buyers

How to call

POST https://www.brainiac.software/api/v1/portfolio-analytics/allocation-xray · input in body · spec from live-challenge

Input schema
{
  "type": "object",
  "properties": {
    "positions": {
      "type": "array",
      "items": {
        "type": "object"
      },
      "description": "positions supplied by the caller for this operation.",
      "example": [
        {
          "id": "FUND1",
          "value": 60000,
          "lookThrough": [
            {
              "security": "AAPL",
              "weight": 0.07,
              "assetClass": "equity",
              "sector": "Technology",
              "region": "US"
            },
            {
              "security": "UST10",
              "weight": 0.03,
              "assetClass": "bond",
              "sector": "Government",
              "region": "US"
            }
          ],
          "otherWeight": 0.9,
          "otherClass": {
            "assetClass": "equity",
            "sector": "Unclassified",
            "region": "Unknown"
          }
        },
        {
          "id": "AAPL",
          "value": 10000,
          "assetClass": "equity",
          "sector": "Technology",
          "region": "US"
        }
      ]
    },
    "top": {
      "type": "integer",
      "minimum": 1,
      "maximum": 100,
      "description": "top supplied by the caller for this operation.",
      "example": 10
    }
  },
  "required": [
    "positions"
  ],
  "additionalProperties": false
}
Output schema
{
  "type": "object"
}
curl -i -X POST 'https://www.brainiac.software/api/v1/portfolio-analytics/allocation-xray' \
  -H 'content-type: application/json' -d '{"positions":[{"id":"FUND1","value":60000,"lookThrough":[{"security":"AAPL","weight":0.07,"assetClass":"equity","sector":"Technology","region":"US"},{"security":"UST10","weight":0.03,"assetClass":"bond","sector":"Government","region":"US"}],"otherWeight":0.9,"otherClass":{"assetClass":"equity","sector":"Unclassified","region":"Unknown"}},{"id":"AAPL","value":10000,"assetClass":"equity","sector":"Technology","region":"US"}],"top":10}'

Agents: POST https://hive402.scriptmasterlabs.com/mcp → route_task / proxy_call · SDK /sdk/hive402.mjs

Try it (your wallet signs; HIVE402 never holds funds)