2026-03-24
A practical guide to scoring Solana wallet trust using the Honest Agent API
tags: solana, blockchain, api, security, defi
───
How to Detect Risky Solana Wallets with One API Call
Building a DeFi app? NFT marketplace? AI agent? At some point, you'll need to answer a simple question: Can I trust this wallet?
Traditional tools like Chainalysis are enterprise-focused, expensive, and require sales calls. But what if you just need a quick trust score for your app?
That's why I built Honest Agent — a free API that scores any Solana wallet in seconds.
The Problem
When you're building a crypto product, you need to know:
• Is this wallet associated with exploits or rug pulls?
• Is this a legitimate user or a bot?
• Should I allow this transaction?
The big analytics platforms answer this — but they're built for compliance teams, not developers.
The Solution: One API Call
curl https://honest-agent-api.onrender.com/api/v1/score/7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU
Returns:
{
"address": "7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU",
"score": {
"total": 445,
"performance": 230,
"security": 150,
"identity": 65,
"riskLevel": "MEDIUM"
}
}
That's it. One request. One score.
How Scoring Works
The API evaluates wallets across three dimensions:
| Dimension | Max Points | Measures |
|---|---|---|
| Performance | 400 | Sharpe ratio, drawdown, win rate, volatility |
| Security | 400 | Rug pull detection, exploit patterns, blacklist checks |
| Identity | 200 | Account age, transaction history, verification |
| Total | 1000 | Composite trust score |
Risk Levels
• A (800-1000): Trusted - Low risk, established activity
• B (600-799): Good - Moderate activity
• C (400-599): Fair - Limited history or concerning patterns
• D (<400): High Risk - Suspicious activity
Real Code Example
Here's how to integrate it into your Python app:
import requests
def check_wallet_risk(address):
url = f"https://honest-agent-api.onrender.com/api/v1/score/{address}"
response = requests.get(url)
data = response.json()
score = data['score']
if score['total'] < 400:
return "HIGH_RISK - Block transaction"
elif score['total'] < 600:
return "MEDIUM_RISK - Require additional verification"
else:
return "LOW_RISK - Allow transaction"
Usage
result = check_wallet_risk("7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU")
print(result) # "MEDIUM_RISK - Require additional verification"
Use Cases
This API is useful for:
- DeFi protocols — Verify user wallets before large transactions
- NFT marketplaces — Flag suspicious buyers/sellers
- AI agents — Let autonomous agents check trust before transacting
- Onboarding — Risk-score new users during signup
- Analytics dashboards — Monitor wallet reputation over time
Batch Scoring
Need to check multiple wallets? No problem:
curl -X POST https://honest-agent-api.onrender.com/api/v1/batch/score \
-H "Content-Type: application/json" \
-d '{"addresses": ["addr1", "addr2", "addr3"]}'
Up to 10 wallets per request.
Transparent Scoring
Every score comes with a detailed explanation:
curl https://honest-agent-api.onrender.com/api/v1/score/{address}/explain
This returns the breakdown of why a wallet scored the way it did — no black boxes.
Conclusion
You don't need an enterprise contract to add basic wallet trust scoring to your app. The Honest Agent API gives you:
• ✅ One simple REST endpoint
• ✅ No signup required
• ✅ Free tier (100 requests/hour)
• ✅ Transparent scoring with explanations
• ✅ Batch support for multiple wallets
Check it out at honest-agent-dashboard.onrender.com (https://honest-agent-dashboard.onrender.com/) or dive into the API docs on GitHub (https://github.com/ChaseAIagent/Chase-AI-Agents).
───
Built with 💀 for the Solana developer community
Top comments (0)