ZEBRA Documentation
Real-time blockchain intelligence for detecting anomalies, tracking whale movements, and identifying rug pulls on Solana.
1Quick Start
scan <address>Analyze wallet for risk factorspattern <address>Visualize transaction patternswhalesTrack large wallet movementsrugsView rug pull detectionschaosMarket volatility metricsfeedLive transaction feed2Architecture
ZEBRA processes ~4,000 TPS from Solana mainnet through 47 detection heuristics, maintaining a 24h rolling cache of 350M+ transactions for historical analysis.
3Pattern Recognition
Circular patterns via graph analysis
Coordinated wallet creation patterns
Abnormal DEX withdrawal patterns
Unauthorized token creation events
4Risk Scoring
5Whale Tracking
Real-time index of 2,847 whale wallets. Alerts trigger at 0.5% portfolio movement with 2.3s average detection latency.
6Rug Detection
78% of users acting on alerts exited with <15% loss vs 95%+ eventual decline.
7WebSocket API
wss://api.zebra.io/v1/streamalerts.rugRug pull alertsalerts.whaleWhale movementsmetrics.chaosChaos index (1s)tx.suspiciousFlagged TXs8REST Endpoints
/v1/scan/{address}Wallet risk analysis/v1/whalesTracked whale list/v1/rugsRecent detections/v1/chaosMarket metrics/v1/alerts/subscribeConfigure webhooks9Rate Limits
10Authentication
Include your API key in the Authorization header:
11Custom Scoring
ZEBRA allows you to create custom scoring models by combining and weighting different risk factors according to your trading strategy.
Scoring Model Configuration
{
"model_name": "aggressive_rug_detector",
"weights": {
"liquidity_score": 0.35,
"holder_distribution": 0.25,
"contract_analysis": 0.20,
"social_sentiment": 0.10,
"volume_anomaly": 0.10
},
"thresholds": {
"high_risk": 0.75,
"medium_risk": 0.50,
"low_risk": 0.25
},
"decay_rate": 0.95
}Available Factors
- liquidity_score
- holder_distribution
- contract_analysis
- social_sentiment
- volume_anomaly
- whale_correlation
Decay Functions
- linear - Constant decay
- exponential - Fast initial decay
- logarithmic - Slow initial decay
- step - Discrete thresholds
Create Custom Model
12Alert Webhooks
Configure real-time webhook notifications for critical events. Webhooks are delivered with HMAC-SHA256 signatures for verification.
Webhook Configuration
{
"endpoint": "https://your-server.com/webhook",
"secret": "whsec_...",
"events": [
"rug.detected",
"whale.movement",
"liquidity.removed",
"score.critical"
],
"filters": {
"min_value_sol": 100,
"risk_threshold": 0.7
},
"retry_policy": {
"max_attempts": 3,
"backoff": "exponential"
}
}Event Types
rug.detectedPotential rug pull identifiedrug.confirmedRug pull confirmed on-chainwhale.buyLarge accumulation detectedwhale.sellLarge distribution detectedliquidity.addedLP tokens mintedliquidity.removedLP tokens burnedscore.criticalRisk score exceeds thresholdscore.changeSignificant score movementWebhook Payload
{
"id": "evt_1a2b3c4d5e6f",
"type": "rug.detected",
"timestamp": 1703894400000,
"data": {
"token": "So11111111111111111111111111111111111111112",
"risk_score": 0.92,
"indicators": ["lp_unlock", "dev_wallet_active"],
"estimated_impact": "450000 SOL"
},
"signature": "sha256=..."
}13Data Export
Export historical analysis data, patterns, and scoring records for offline analysis, compliance reporting, or integration with external systems.
Export Request
{
"type": "historical_scores",
"format": "parquet",
"date_range": {
"start": "2024-01-01T00:00:00Z",
"end": "2024-01-31T23:59:59Z"
},
"filters": {
"tokens": ["*"],
"min_risk_score": 0.5,
"include_metadata": true
},
"compression": "gzip",
"delivery": {
"method": "s3",
"bucket": "your-bucket",
"prefix": "zebra-exports/"
}
}Available Datasets
historical_scoresComplete scoring history for all tracked tokenswhale_movementsAll detected whale transactions and patternsrug_incidentsConfirmed and suspected rug pull eventspattern_matchesPattern recognition results and confidence scoresmarket_chaosChaos index values and contributing factorsDelivery Methods
- Direct download (up to 1GB)
- Amazon S3 bucket
- Google Cloud Storage
- SFTP endpoint
Scheduling
- One-time export
- Daily incremental
- Weekly full snapshot
- Custom cron schedule