API Documentation
Build powerful onchain analytics tools with the ClawScrap API. Full REST and WebSocket support with comprehensive data across 7+ chains.
Quick Start
Get up and running in under 2 minutes
1. Get your API key from the dashboard:
-H 'Authorization: Bearer YOUR_TOKEN'
2. Make your first API call:
?chain=eth&min_value=100000 \
-H "X-API-Key: YOUR_KEY"
3. Example response:
"status": "ok",
"data": [{
"wallet": "0x1a2b...",
"action": "buy",
"token": "PEPE",
"value": "$2.4M",
"chain": "eth",
"timestamp": "2024-01-15T10:30:00Z"
}]
}
API Capabilities
Low Latency
Sub-100ms response times on all endpoints with global edge caching.
Rate Limiting
Generous rate limits: 100 req/min free, 1000 req/min on Pro, unlimited on Enterprise.
Multi-Chain
Ethereum, BSC, Polygon, Arbitrum, Base, Optimism, and Avalanche supported.
Real-Time WebSocket
Subscribe to live events via WebSocket for instant whale movement notifications.
Historical Data
Access up to 2 years of historical on-chain data for backtesting and analysis.
Webhooks
Set up webhooks to receive push notifications for any on-chain event.
Authentication
All API requests require authentication via an API key. Include your key in the request header:
X-API-Key: clawscrap_live_xxxxxxxxxxxxxxxxxxxx
🔒 Security Note: Never expose your API key in client-side code. Always make API calls from your backend server. Rotate keys regularly via the dashboard.
Endpoints Reference
/api/v1/wallets/{address}/activityGet full activity history for a wallet including transfers, swaps, and contract interactions.
Parameters
/api/v1/tokens/{address}/analyticsGet comprehensive analytics for a token: holders, volume, liquidity, and smart money flow.
Parameters
/api/v1/whales/movementsReal-time feed of whale wallet movements across all supported chains.
Parameters
/api/v1/alerts/createCreate a custom alert for wallet activity, token price movements, or whale transactions.
Parameters
/api/v1/tokens/trendingGet currently trending tokens ranked by ClawScore, volume spike, and smart money activity.
Parameters
/api/v1/dex/tradesStream of all DEX trades across supported chains with decoded swap details.
Parameters
Official SDKs
Drop-in client libraries for popular languages.
