Integrate Lens wallet intelligence into your app.
https://www.trenchlens.fun
None required
JSON
/api/scanScan a Solana token contract address or wallet address. Returns a full threat assessment with funding chain, bundle detection, sibling wallets, deploy history, and cluster statistics.
addressrequiredSolana address (32-44 base58 characters). Token CA or wallet address.
apiKeyOptional Helius API key for faster, higher-limit scans.
curl "https://www.trenchlens.fun/api/scan?address=7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU"The scan endpoint returns a ScanResult object.
inputAddressstringinputType"token" | "wallet"resolvedWalletstringthreatAssessmentobjectfundingSourceobject | nullfunderIdentityobject | nullbundleDetectionobject | nullsiblingWalletsSiblingWallet[]deployedTokensDeployedToken[]clusterStatsobjectwalletAgenumber | nullisBlacklistedbooleanscannedAtstring{
"inputAddress": "7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU",
"inputType": "token",
"resolvedWallet": "B4NhDFG...k9Wz",
"threatAssessment": {
"score": 89,
"level": "SERIAL_RUGGER",
"factors": [
{ "label": "New Wallet", "points": 25, "description": "Wallet is only 2 days old" },
{ "label": "Serial Rugger", "points": 30, "description": "100% of deployed tokens are dead" },
{ "label": "Bundle Detected", "points": 20, "description": "4 same-slot buys (confirmed)" }
]
},
"fundingSource": {
"funder": "H8UKK1...qR4M",
"funderName": "Coinbase",
"amount": 2.5,
"symbol": "SOL"
},
"bundleDetection": {
"isBundled": true,
"confidence": "confirmed",
"sameSlotBuys": 4,
"bundleWallets": [ ... ]
},
"siblingWallets": [ ... ],
"deployedTokens": [ ... ],
"clusterStats": {
"totalWallets": 4,
"totalTokensDeployed": 7,
"totalRugged": 7,
"overallRugRate": 1.0
}
}{ "error": "Address is required" }Missing address query param{ "error": "Invalid Solana address" }Address fails base58 validation{ "error": "Scan failed" }Upstream Helius error or timeoutUses a shared Helius free-tier key. Subject to rate limits under heavy load. Good for testing and light usage.
Pass apiKey param for dedicated rate limits. Get a free key at dashboard.helius.dev.
Tip: Scans take 5-15 seconds due to deep chain analysis. Cache results on your end to avoid redundant calls. Each scan makes 20-40 Helius API calls under the hood.