API Documentation
Integrate SweepGuard into your apps. Scan wallets, check drainers, get gas prices, and more.
Base URL
https://sweeptsguard.vercel.app/api/v1π Rate Limits
Free Tier
100
requests/day
Pro Tier
500
requests/day
π Get Your API Key
Get a free API key for higher rate limits and drainer reporting access.
π» Code Examples
JavaScript
const response = await fetch('https://sweeptsguard.vercel.app/api/v1/scan?address=0x...', {
headers: { 'Authorization': 'Bearer sg_free_your_key' }
})
const data = await response.json()
console.log(data.data.assets)Python
import requests
response = requests.get(
'https://sweeptsguard.vercel.app/api/v1/scan',
params={'address': '0x...'},
headers={'Authorization': 'Bearer sg_free_your_key'}
)
data = response.json()
print(data['data']['assets'])cURL
curl -H "Authorization: Bearer sg_free_your_key" \
"https://sweeptsguard.vercel.app/api/v1/scan?address=0x..."