{"demo":true,"note":"Free fixed-input sample of real output. The paid route accepts your own input: /api/portfolio ($0.04 per call, x402 USDC on Base, no signup or API key).","paid_endpoint":"https://horizonpulse.dev/api/portfolio","price":"$0.04","fixed_input":"address=0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 (vitalik.eth, public sample address)","sample_status":200,"sample":{"ok":true,"source":"rpc+coinbase+coingecko","priced":{"amountUsd":"$0.04","amountAtomic":"40000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"base","payTo":"0x5b32c973596078a967562ca652761404f19be0e9"},"address":"0xd8da6bf26964af9d7eed9e03e53415d37aa96045","asOf":"2026-10-01T02:38:51.144Z","networks":[{"network":"base","chainId":8453,"ok":true,"rpc":"https://base.publicnode.com"},{"network":"ethereum","chainId":1,"ok":true,"rpc":"https://ethereum.publicnode.com"}],"holdings":[{"network":"base","chainId":8453,"symbol":"ETH","kind":"native","contract":null,"decimals":18,"balanceAtomic":"3128821803472537280","balance":"3.12882180347253728","stablecoin":false,"priceUsd":2686.11,"valueUsd":8404.359534525618,"weight":0.2967364374463416},{"network":"base","chainId":8453,"symbol":"USDC","kind":"erc20","contract":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","decimals":6,"balanceAtomic":"43286078","balance":"43.286078","stablecoin":true,"priceUsd":1,"valueUsd":43.286078,"weight":0.001528320691657496},{"network":"base","chainId":8453,"symbol":"WETH","kind":"erc20","contract":"0x4200000000000000000000000000000000000006","decimals":18,"balanceAtomic":"200381286574121069","balance":"0.200381286574121069","stablecoin":false,"priceUsd":2686.11,"valueUsd":538.2461776796124,"weight":0.01900409574074391},{"network":"base","chainId":8453,"symbol":"DAI","kind":"erc20","contract":"0x50c5725949A6F0c72E6C4a641F24049A917DB0Cb","decimals":18,"balanceAtomic":"4234351889843575709","balance":"4.234351889843575709","stablecoin":true,"priceUsd":0.9996012614,"valueUsd":4.232663490299113,"weight":0.00014944452100851851},{"network":"base","chainId":8453,"symbol":"cbBTC","kind":"erc20","contract":"0xcbB7C0000aB88B473b1f5aFd9ef808440eed33Bf","decimals":8,"balanceAtomic":"325","balance":"0.00000325","stablecoin":false,"note":"Coinbase Wrapped BTC — Base has no BitGo WBTC; used as BTC exposure","priceUsd":83468,"valueUsd":0.271271,"weight":0.000009577885119243664},{"network":"ethereum","chainId":1,"symbol":"ETH","kind":"native","contract":null,"decimals":18,"balanceAtomic":"5715987139328012679","balance":"5.715987139328012679","stablecoin":false,"priceUsd":2686.11,"valueUsd":15353.770214820368,"weight":0.5421023524992151},{"network":"ethereum","chainId":1,"symbol":"USDC","kind":"erc20","contract":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","decimals":6,"balanceAtomic":"37192124","balance":"37.192124","stablecoin":true,"priceUsd":1,"valueUsd":37.192124,"weight":0.0013131587637921678},{"network":"ethereum","chainId":1,"symbol":"WETH","kind":"erc20","contract":"0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2","decimals":18,"balanceAtomic":"1461934322848811933","balance":"1.461934322848811933","stablecoin":false,"priceUsd":2686.11,"valueUsd":3926.9164039474226,"weight":0.13864937346742506},{"network":"ethereum","chainId":1,"symbol":"WBTC","kind":"erc20","contract":"0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599","decimals":8,"balanceAtomic":"0","balance":"0","stablecoin":false,"priceUsd":83454.87647,"valueUsd":0,"weight":0},{"network":"ethereum","chainId":1,"symbol":"DAI","kind":"erc20","contract":"0x6B175474E89094C44Da98b954EedeAC495271d0F","decimals":18,"balanceAtomic":"14372078273323112880","balance":"14.37207827332311288","stablecoin":true,"priceUsd":0.9996012614,"valueUsd":14.36634757095332,"weight":0.0005072389846969126}],"totals":{"valueUsd":28322.640815034272,"stablecoinShare":0.0034981629611550947,"maxAssetWeight":0.8388387899455567,"maxAssetSymbol":"ETH","maxChainWeight":0.6825721237151293,"maxChain":"ethereum"},"risk":{"score":85,"band":"high","components":{"concentration":41.941939497277836,"nonStable":29.895055111165345,"chainConcentration":13.651442474302586}},"suggestions":[{"priority":"high","code":"concentration_high","message":"ETH is 83.9% of portfolio USD. Rule: trim toward ≤40% single-asset weight (swap a slice to USDC/DAI or another asset)."},{"priority":"high","code":"stables_low","message":"Stablecoins are 0.3% of USD value. Rule: raise USDC/DAI toward ≥20% for dry powder and lower drawdown."}],"methodology":{"balances":"Native getBalance + ERC-20 balanceOf via public JSON-RPC (no indexers). Only listed tokens; no NFTs, LP positions, or staked assets.","networks":"v1: Base (eip155:8453) and Ethereum mainnet (eip155:1). Optional BASE_RPC_URL / ETH_RPC_URL; otherwise public endpoints with failover.","tokens":{"base":["native ETH","USDC 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","WETH 0x4200000000000000000000000000000000000006","DAI 0x50c5725949A6F0c72E6C4a641F24049A917DB0Cb","cbBTC 0xcbB7C0000aB88B473b1f5aFd9ef808440eed33Bf (Base BTC proxy — no BitGo WBTC contract on Base)"],"ethereum":["native ETH","USDC 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","WETH 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2","WBTC 0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599","DAI 0x6B175474E89094C44Da98b954EedeAC495271d0F"]},"prices":"USD marks from Coinbase public exchange-rates (ETH, USDC, WBTC, DAI; WETH marked at the ETH rate because it is 1:1 redeemable for ETH), with CoinGecko /simple/price for the rest (coinbase-wrapped-btc) or on Coinbase failure. Stables are priced from a live source, not hard-coded to $1; unpriced tokens stay null.","riskScore":"0–100 (higher = riskier). riskScore = round( clamp0_100( 50*maxAssetWeight + 30*(1-stablecoinShare) + 20*maxChainWeight ) ). Empty / unpriced portfolio → null.","suggestions":"Deterministic rules only (no LLM): concentration, stablecoin share, chain concentration, dust gas buffer. Empty portfolio → fund wallet.","notAdvice":"Not financial advice. Risk score and suggestions are mechanical rule outputs over the balances returned, not a recommendation to buy, sell, or hold any asset."},"warnings":[],"priceSources":["coinbase","coingecko"]}}