{"uid":"cap_71bAtoLQSw6iEMk9mL858","slug":"wallet-x-ray-on-chain-portfolio-risk-analysis-bbc91281","name":"Wallet X-Ray — On-Chain Portfolio & Risk Analysis","description":"Wallet risk analysis in one call — native + ERC-20 balances, USD portfolio valuation, token count and an OFAC sanctions flag (Blockscout, DexScreener, OFAC list). A full on-chain wallet x-ray with risk flags, where primitives serve one field per call this returns the whole valued portfolio plus risk. EVM chains.","url":"https://x402-endpoints.onrender.com/crypto/wallet-xray","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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["address"],"properties":{"chain":{"type":"string","description":"base | ethereum | optimism | arbitrum | polygon | gnosis (default base)"},"address":{"type":"string","description":"Wallet address (0x + 40 hex), e.g. '0xd8dA6BF...6045' (vitalik.eth)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"query":{"chain":"ethereum","address":"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"},"cached":false,"native":{"amount":1234.5,"symbol":"ETH","price_usd":2400,"value_usd":2962800},"source":"Blockscout + DexScreener + OFAC sanctioned-address list","holdings":[{"name":"USD Coin","type":"ERC-20","amount":50000,"symbol":"USDC","contract":"0xa0b8...eb48","price_usd":1,"value_usd":50000}],"portfolio":{"token_count":42,"total_value_usd":5200000,"priced_token_count":18},"timestamp":"2026-06-26T16:00:00Z","disclaimer":"Balances/valuations are best-effort from public indexers; OFAC list may lag. Not advice.","risk_flags":[],"sanction_check":{"source":"OFAC SDN crypto addresses","list_loaded":true,"ofac_listed":false}}},"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_UV2WW16wwE3Zfgshyu5xD","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":"Returns native + ERC-20 balances, USD portfolio valuation, token count, and OFAC sanctions flag for any EVM wallet address in a single call","exampleAgentPrompt":"Do a full wallet x-ray on 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 on Ethereum — I need the total USD portfolio value, all token balances, and whether it's flagged by OFAC sanctions.","exampleUseCases":null,"resultDescription":"Returns the wallet's native token balance, all ERC-20 token balances with USD valuations, total portfolio USD value, total token count, and an OFAC sanctions flag indicating whether the address appears on the US Treasury sanctions list — all in a single structured response.","failureModes":["Invalid or malformed wallet address returns a 400-level error","Unsupported chain name returns an error or defaults to base","Wallet with zero on-chain activity returns empty balances and $0 portfolio value","Third-party data source (Blockscout, DexScreener) downtime may cause partial or failed responses","Very new tokens without DEX pricing may show zero USD value despite non-zero balance"],"whenToPreferThis":"Choose this endpoint when you need a comprehensive single-call wallet audit combining balance aggregation, USD valuation, and OFAC compliance screening. Prefer it over primitive balance-only or sanctions-only endpoints when you need the full risk picture in one call — especially useful for compliance workflows, due diligence before transacting, or portfolio dashboards on EVM chains including Ethereum, Base, Optimism, Arbitrum, Polygon, and Gnosis.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:46:00.949Z","isFirstParty":false}