Preloader
light-dark-switchbtn
Dexplore API Documentation

Dexplore API

AI-Powered Crypto Scam Detection System with 95%+ accuracy rate. Protect your investments on Solana ecosystem with real-time token analysis and whale tracking.

Overview

The Dexplore API provides comprehensive cryptocurrency scam detection capabilities, focusing primarily on the Solana ecosystem. Our AI-powered system analyzes tokens in real-time to detect potential rug pulls, whale manipulation, and fraudulent activities.

🔍 Real-Time Analysis

Instant risk assessment for any token address with Claude AI infrastructure support.

🐋 Whale Tracking

Monitor large wallet movements and detect suspicious transaction patterns.

⚡ 95% Accuracy

Proven success rate based on 9,733+ query analyses over 105 days.

🔔 Instant Alerts

Real-time notifications via Telegram integration for risky tokens.

Getting Started

Your API Key Format:
dx_live_1a2b3c4d5e6f7g8h9i0j1k2l3m4n5o6p
⚠️ Security Notice: Keep your API key secure and never expose it in client-side code. Use environment variables or secure credential storage.

2. Base URL

https://api.dexplore.io/v1

3. Quick Test

curl -H "Authorization: Bearer dx_live_your_api_key_here" \ https://api.dexplore.io/v1/health

Authentication

All API requests must include your API key in the Authorization header using Bearer token authentication.

Header Format

Authorization: Bearer dx_live_your_api_key_here

Authentication Examples

// JavaScript const headers = { 'Authorization': 'Bearer dx_live_your_api_key_here', 'Content-Type': 'application/json' }; // Python headers = { 'Authorization': 'Bearer dx_live_your_api_key_here', 'Content-Type': 'application/json' } // cURL curl -H "Authorization: Bearer dx_live_your_api_key_here" \ -H "Content-Type: application/json"

Rate Limits

Plan Requests/Minute Requests/Day WebSocket Connections
Free 30 1,000 1
Pro 300 25,000 5
Enterprise 1,000 Unlimited 50
💡 Rate Limit Headers: Check X-RateLimit-Remaining and X-RateLimit-Reset headers in responses.

API Endpoints

GET /health

Check API health status

GET https://api.dexplore.io/v1/health

Response:

{ "status": "ok", "timestamp": "2025-05-28T10:30:00Z", "version": "1.0.0" }
POST /analyze/token

Analyze a token for potential scam indicators

POST https://api.dexplore.io/v1/analyze/token

Request Parameters:

Parameter Type Required Description
token_address string Required Solana token address to analyze
depth string Optional Analysis depth: "basic", "detailed", "comprehensive"
include_whale_data boolean Optional Include whale wallet analysis (default: true)

Example Request:

{ "token_address": "So11111111111111111111111111111112", "depth": "comprehensive", "include_whale_data": true }

Example Response:

{ "token_address": "So11111111111111111111111111111112", "analysis_id": "anl_1a2b3c4d5e6f", "risk_score": 15, "risk_level": "LOW", "is_scam": false, "confidence": 0.96, "analysis": { "liquidity_analysis": { "total_liquidity": 45000000, "locked_liquidity": 0.85, "liquidity_providers": 1250 }, "supply_analysis": { "total_supply": 1000000000, "can_mint": false, "can_freeze": false, "burn_history": [] }, "whale_analysis": { "top_holders": [ { "address": "5Q544fKrFoe6tsEbD7S8EmxGTJYAKtTVhAW5Q5pge4j1", "percentage": 12.5, "risk_flags": [] } ], "suspicious_patterns": [] }, "trading_analysis": { "trading_tax": 0, "volume_24h": 125000000, "price_volatility": "MODERATE" } }, "flags": [], "timestamp": "2025-05-28T10:30:00Z" }

Response Status Codes:

200 Analysis completed successfully
400 Invalid token address or parameters
401 Invalid API key
429 Rate limit exceeded
500 Internal server error

GET /whales/track

Track whale wallet activities and suspicious patterns

GET https://api.dexplore.io/v1/whales/track?wallet={address}&timeframe=24h

Query Parameters:

Parameter Type Required Description
wallet string Optional Specific wallet address to track
timeframe string Optional Time period: "1h", "24h", "7d", "30d"
min_volume number Optional Minimum transaction volume in USD

Example Response:

{ "whales": [ { "wallet_address": "5Q544fKrFoe6tsEbD7S8EmxGTJYAKtTVhAW5Q5pge4j1", "total_volume_24h": 2500000, "transactions_count": 45, "risk_score": 85, "suspicious_activities": [ { "type": "coordinated_buying", "description": "Synchronized purchases across multiple tokens", "confidence": 0.92, "timestamp": "2025-05-28T09:15:00Z" } ], "tokens_involved": [ "So11111111111111111111111111111112", "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v" ] } ], "summary": { "total_whales_tracked": 1, "high_risk_activities": 1, "total_volume": 2500000 } }
POST /notifications/webhook

Register a webhook URL to receive real-time scam alerts

POST https://api.dexplore.io/v1/notifications/webhook

Request Body:

{ "webhook_url": "https://your-domain.com/dexplore-webhook", "events": ["scam_detected", "whale_alert", "high_risk_token"], "risk_threshold": 70 }

Webhook Payload Example:

{ "event": "scam_detected", "timestamp": "2025-05-28T10:30:00Z", "token_address": "8XYZ123abc456def789ghi012jkl345mno", "risk_score": 95, "risk_level": "CRITICAL", "details": { "scam_type": "rug_pull", "confidence": 0.98, "red_flags": [ "Liquidity removal detected", "Dev wallet dumping tokens", "Honeypot mechanism active" ] } }

WebSocket Real-Time Feed

Connect to our WebSocket endpoint for real-time scam alerts and market data.

Connection URL

wss://api.dexplore.io/v1/ws?token=dx_live_your_api_key_here

Subscription Example

// JavaScript WebSocket Example const ws = new WebSocket('wss://api.dexplore.io/v1/ws?token=dx_live_your_api_key_here'); ws.onopen = function(event) { // Subscribe to scam alerts ws.send(JSON.stringify({ "action": "subscribe", "channels": ["scam_alerts", "whale_movements"] })); }; ws.onmessage = function(event) { const data = JSON.parse(event.data); console.log('Real-time alert:', data); };

Error Handling

The API uses standard HTTP status codes and returns detailed error information in JSON format.

Error Response Format

{ "error": { "code": "INVALID_TOKEN_ADDRESS", "message": "The provided token address is not valid", "details": "Token address must be a valid Solana public key", "request_id": "req_1a2b3c4d5e6f" } }

Common Error Codes

Code HTTP Status Description
INVALID_API_KEY 401 API key is missing or invalid
RATE_LIMIT_EXCEEDED 429 Too many requests, please slow down
INVALID_TOKEN_ADDRESS 400 Token address format is incorrect
TOKEN_NOT_FOUND 404 Token does not exist on blockchain
ANALYSIS_TIMEOUT 408 Analysis took too long to complete

Code Examples

JavaScript/Node.js

const axios = require('axios'); const dexploreApi = axios.create({ baseURL: 'https://api.dexplore.io/v1', headers: { 'Authorization': 'Bearer dx_live_your_api_key_here', 'Content-Type': 'application/json' } }); // Analyze a token async function analyzeToken(tokenAddress) { try { const response = await dexploreApi.post('/analyze/token', { token_address: tokenAddress, depth: 'comprehensive' }); console.log('Risk Score:', response.data.risk_score); console.log('Is Scam:', response.data.is_scam); return response.data; } catch (error) { console.error('Analysis failed:', error.response.data); } } // Track whale activities async function trackWhales() { try { const response = await dexploreApi.get('/whales/track?timeframe=24h&min_volume=100000'); console.log('Whale Activities:', response.data); return response.data; } catch (error) { console.error('Whale tracking failed:', error.response.data); } }

Python

import requests import json class DexploreAPI: def __init__(self, api_key): self.base_url = 'https://api.dexplore.io/v1' self.headers = { 'Authorization': f'Bearer {api_key}', 'Content-Type': 'application/json' } def analyze_token(self, token_address, depth='comprehensive'): url = f'{self.base_url}/analyze/token' payload = { 'token_address': token_address, 'depth': depth, 'include_whale_data': True } try: response = requests.post(url, headers=self.headers, json=payload) response.raise_for_status() return response.json() except requests.exceptions.RequestException as e: print(f'API request failed: {e}') return None def track_whales(self, timeframe='24h', min_volume=100000): url = f'{self.base_url}/whales/track' params = { 'timeframe': timeframe, 'min_volume': min_volume } try: response = requests.get(url, headers=self.headers, params=params) response.raise_for_status() return response.json() except requests.exceptions.RequestException as e: print(f'Whale tracking failed: {e}') return None # Usage example api = DexploreAPI('dx_live_your_api_key_here') result = api.analyze_token('So11111111111111111111111111111112') if result: print(f"Risk Score: {result['risk_score']}") print(f"Is Scam: {result['is_scam']}")

cURL

# Analyze a token curl -X POST https://api.dexplore.io/v1/analyze/token \ -H "Authorization: Bearer dx_live_your_api_key_here" \ -H "Content-Type: application/json" \ -d '{ "token_address": "So11111111111111111111111111111112", "depth": "comprehensive", "include_whale_data": true }' # Track whale activities curl -X GET "https://api.dexplore.io/v1/whales/track?timeframe=24h&min_volume=100000" \ -H "Authorization: Bearer dx_live_your_api_key_here"

Official SDKs

We provide official SDKs to make integration easier:

📦 Node.js SDK

npm install @dexplore/node-sdk
View on GitHub

🐍 Python SDK

pip install dexplore-python
View on GitHub

⚡ Go SDK

go get github.com/dexplore/go-sdk
View on GitHub

💎 Ruby SDK

gem install dexplore
View on GitHub
💡 Need Help? Join our Telegram community or email us at support@dexplore.io