{"uid":"cap_oWlfSPmyTVNnZms51Y3tH","slug":"portfolio-concentration-risk-analyzer-392d7145","name":"Portfolio Concentration Risk Analyzer","description":"Portfolio concentration risk: top-holding %, HHI concentration index, stablecoin %, diversification flags. Send { address }. Spot dangerous concentration before it hurts.","url":"https://x402-services-production.up.railway.app/api/portfolio/risk","method":"POST","headers":{},"bodySchema":{"type":"object","required":["address"],"properties":{"address":{"type":"string","description":"0x wallet address (Base)"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_SNghCvSOGHWUAt9xl5Z6r","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Analyzes a Base wallet's portfolio for concentration risk, returning top-holding percentage, HHI index, stablecoin allocation, and diversification flags.","exampleAgentPrompt":"Can you check if my Base wallet 0x4f3a...b7c2 is dangerously concentrated — I want to know my top holding percentage, the HHI index, and whether I need to diversify?","exampleUseCases":null,"resultDescription":"Returns the percentage held in the top asset, the Herfindahl-Hirschman Index (HHI) measuring overall concentration, stablecoin allocation percentage, and boolean diversification flags indicating potentially dangerous concentration.","failureModes":["Invalid or malformed wallet address returns 400 error","Address with no on-chain holdings may return zeroed metrics or empty result","Network timeout if Base RPC is slow or unavailable","Non-Base (e.g. Ethereum mainnet) addresses may return empty or incorrect data"],"whenToPreferThis":"Use this endpoint when you need a structured concentration risk snapshot for a Base wallet — specifically the HHI metric, top-holding dominance percentage, and stablecoin ratio — rather than raw token balances or portfolio value. Prefer this over generic balance checkers when the goal is risk assessment or diversification analysis.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:57:37.510Z","isFirstParty":false}