← Back to directory

Risk x-ray for a whole watchlist or portfolio in one call. Pass `?tickers=AAPL,M...

https://x402stock.vercel.app/api/v1/portfolio/xray

Overview

Risk x-ray for a whole watchlist or portfolio in one call. Pass `?tickers=AAPL,MSFT,NVDA` (up to 25; optional `?weights=`). Returns per-holding price, sector and cap, plus portfolio concentration (top-weight, Herfindahl, diversification score), sector concentration, market-cap distribution, weighted day performance and risk flags. Replaces dozens of per-holding calls. From x402stock

Protocol x402
Price $0.25
Payment Asset USD Coin
Payment Network Base
Category crypto/wallet
Provider x402stock
Source bazaar
Indexed 2026-11-20 22:09:47

Health

Status healthy
Latency (p50) 263ms
Uptime (30d) 100.0%
Reliability Score 95/100
Last Checked 2026-12-06 13:59:38
Last Healthy 2026-12-06 13:59:38
Consecutive Failures 0

x402 Payment Validation

Payment Requirements Valid
Asset Verified Known USDC
Facilitator —

Input Schema

{ "method": "GET", "queryParams": { "tickers": "AAPL,MSFT,NVDA" }, "type": "http" }

Output Schema

{ "example": { "as_of": "2026-06-08T12:00:00.000Z", "disclaimer": "Factual quantitative analysis, not investment advice. Inputs are delayed/periodic; verify before acting.", "holding_count": 3, "holdings": [ { "cap_bucket": "mega", "change_percent": 0.2, "market_cap": 3100000000000, "name": "Apple Inc.", "price": 205.4, "sector": "Electronic Computers", "ticker": "AAPL", "weight": 0.3333 }, { "cap_bucket": "mega", "change_percent": 0.7, "market_cap": 3400000000000, "name": "Microsoft Corp", "price": 462.1, "sector": "Services-Prepackaged Software", "ticker": "MSFT", "weight": 0.3333 }, { "cap_bucket": "mega", "change_percent": 1.6, "market_cap": 3300000000000, "name": "NVIDIA Corp", "price": 138.9, "sector": "Electronic Computers", "ticker": "NVDA", "weight": 0.3333 } ], "sections": { "prices": "ok", "profiles": "ok" }, "source": "x402stock", "summary": { "concentration": { "diversification_score": 66.7, "hhi": 0.3333, "label": "moderate", "top3_weight": 1, "top_weight": 0.3333 }, "day_change_percent": 0.82, "market_cap_distribution": { "large": 0, "mega": 1, "micro": 0, "mid": 0, "small": 0, "unknown": 0 }, "performance": { "best": { "change_percent": 1.6, "ticker": "NVDA" }, "worst": { "change_percent": 0.2, "ticker": "AAPL" } }, "risk_flags": [ "sector_concentration", "few_holdings" ], "sector_concentration": { "coverage": 1, "hhi": 0.56, "label": "high", "top_sectors": [ { "sector": "Electronic Computers", "weight": 0.6667 }, { "sector": "Services-Prepackaged Software", "weight": 0.3333 } ] } }, "weighting": "equal" }, "type": "json" }

Recent Health Checks

Time Status HTTP Latency Error
2026-12-06 13:59:38 healthy 402 256ms
2026-12-06 10:01:28 healthy 402 261ms
2026-12-06 06:59:47 healthy 402 263ms
2026-12-06 05:56:53 healthy 402 268ms
2026-12-06 04:07:20 healthy 402 626ms
2026-12-06 01:59:08 healthy 402 2568ms
2026-12-05 23:59:54 healthy 402 252ms
2026-12-05 22:59:48 healthy 402 250ms
2026-12-05 22:00:51 healthy 402 239ms
2026-12-05 19:59:32 healthy 402 253ms
2026-12-05 18:04:41 healthy 402 239ms
2026-12-05 15:59:25 healthy 402 1433ms
2026-12-05 14:04:00 healthy 402 223ms
2026-12-05 12:58:21 healthy 402 267ms
2026-12-05 10:03:12 healthy 402 290ms
2026-12-05 08:00:28 healthy 402 301ms
2026-12-05 06:56:11 healthy 402 267ms
2026-12-05 05:56:58 healthy 402 235ms
2026-12-05 04:07:48 healthy 402 261ms
2026-12-05 02:01:52 healthy 402 279ms