{"uid":"cap_AvNdNahGLBvPtYHFg-Wyq","slug":"chainray-portfolio-analyzer-bd914f42","name":"ChainRay Portfolio Analyzer","description":"The most complete blockchain data and intelligence service for AI agents. 93 endpoints across 46 chains, from gas fees to DeFi analytics, with real-time streams, intent routing, and verifiable proofs. Pay-per-request via x402.","url":"https://chainray.online/portfolio-analyze/%7Baddress%7D","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"pathParams":{"type":"object"},"queryParams":{"type":"object","required":["address"],"properties":{"chain":{"type":"string","description":"Blockchain network"},"address":{"type":"string","description":"Wallet or contract address"}}}},"additionalProperties":false}}},"responseSchema":null,"example":{"request":{"input":{"type":"http","method":"GET","queryParams":{"chain":"ethereum","address":"0x1234567890123456789012345678901234567890"}}},"response":{"chain":"ethereum","_intel":{"details":{"0x1234567890123456789012345678901234567890":{"labels":["medium_credit"],"lastSeen":1781763006962,"seenCount":1,"creditScore":47}},"knownAddresses":1},"_proof":{"chain":"ethereum","dataHash":"1e87bc3d8b0a674ebbf2d666bebabdc3db1518c8d73cd0fc55e26bd4349da313","blockHash":"0xcc755562365311dade0c24ae49a9eec44e625a9723eaa6f43f3ee96cd22a808f","chainName":"Ethereum","blockNumber":25342578,"proofVersion":"3.0","blockTimestamp":1781763167,"proofTimestamp":1781763178259},"wallet":"0x1234567890123456789012345678901234567890","analysis":{"stablecoinPct":"0.0%","diversification":"MEDIUM","largestPosition":"None"},"ethPrice":1725.76,"holdings":[],"portfolio":{"ethBalance":0,"tokenCount":0,"ethValueUsd":0,"tokenValueUsd":0,"totalValueUsd":0},"timestamp":1781763178220}},"exampleRequest":{"chain":"ethereum","address":"0x1234567890123456789012345678901234567890"},"tags":["x402"],"displayCostAmount":"0.02","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_S6zemwGLbeG55jtJLZTjl","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Analyzes a blockchain wallet or contract address to produce a comprehensive portfolio overview including holdings, balances, and DeFi positions.","exampleAgentPrompt":"Can you analyze the portfolio for Ethereum address 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 on Ethereum mainnet and tell me what tokens and DeFi positions it holds?","exampleUseCases":[{"title":"Risk assessment for investment counterparties","prompt":"I need to evaluate whether to enter a partnership with a blockchain wallet. Can you pull up their full portfolio on Ethereum and Polygon to show me their token holdings, DeFi positions, and overall asset composition?"},{"title":"Compliance screening for deposit wallets","prompt":"We just received a deposit from address 0x742d35Cc6634C0532925a3b844Bc0e7595f1bEb6 on multiple chains. Can you give me a complete breakdown of their holdings and active DeFi positions so we can verify this matches their stated business activities?"},{"title":"Due diligence on smart contract ecosystems","prompt":"I'm researching the health of users in this DeFi protocol. Can you analyze this wallet address across all supported blockchains and show me what tokens they're holding and how their assets are distributed across different DeFi positions?"}],"resultDescription":"A structured breakdown of the wallet's on-chain portfolio including token balances, DeFi protocol positions, asset values, and overall portfolio composition across the specified blockchain network.","failureModes":["Invalid or malformed wallet address returns 400 error","Unsupported chain parameter returns error indicating chain not available","Address with no on-chain activity may return empty portfolio","Payment failure via x402 protocol results in 402 response blocking data","Rate limiting or timeout for addresses with very large transaction histories"],"whenToPreferThis":"Use this endpoint when you need a comprehensive portfolio snapshot for a specific blockchain address, including DeFi positions and token holdings. Prefer this over simple balance checks when you need multi-asset aggregation. Choose ChainRay when you need broad multi-chain coverage (46 chains) and verifiable on-chain data with pay-per-request pricing.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-08T18:48:01.438Z","isFirstParty":false}