Community-Driven Scam Prevention Database
Integrate scam checking into your applications
The ScamDB API allows you to programmatically check if phone numbers, emails, or websites are known scams. All API requests require an API key.
API keys are currently managed by admins. Contact the admin team to request an API key for your application.
Authentication: Include your API key in the X-API-Key header
Rate Limit: 100 requests per day (free tier)
Base URL: https://darkseclabs.com
GET /api/v1/check
Query Parameters:
phone - Phone number to checkemail - Email address to checkwebsite - Website URL to checkExample Request:
curl -X GET "https://darkseclabs.com/api/v1/check?phone=%2B1234567890" \ -H "X-API-Key: scamdb_your_api_key_here"
Example Response:
{
"found": true,
"total_reports": 5,
"verified_reports": 3,
"total_amount_lost": 15000,
"reports": [
{
"report_id": "RPT_1234567890_abc123",
"scam_type": "Phishing",
"title": "Fake tech support scam",
"description": "Called pretending to be from Microsoft...",
"phone": "+1234567890",
"verified": true,
"created_at": "2024-01-15T10:30:00.000Z"
}
]
}
GET /api/v1/stats
Example Request:
curl -X GET "https://darkseclabs.com/api/v1/stats" \ -H "X-API-Key: scamdb_your_api_key_here"
Example Response:
{
"statistics": {
"total_reports": 1247,
"verified_reports": 856,
"total_amount_lost": 2450000,
"unique_scammers": {
"phones": 423,
"emails": 312,
"websites": 189
},
"by_scam_type": [
{ "scam_type": "Phishing", "count": 456 },
{ "scam_type": "Romance Scam", "count": 234 }
]
}
}
POST /api/v1/report
Request Body (JSON):
{
"scam_type": "Phishing",
"title": "Fake tech support",
"description": "Called pretending to be from Microsoft...",
"phone": "+1234567890",
"email": "scammer@example.com",
"website": "https://fake-site.com",
"amount_lost": 500,
"currency": "USD"
}
Example Request:
curl -X POST "https://darkseclabs.com/api/v1/report" \
-H "X-API-Key: scamdb_your_api_key_here" \
-H "Content-Type: application/json" \
-d '{"scam_type":"Phishing","title":"Fake tech support",
"description":"Called pretending to be from Microsoft",
"phone":"+1234567890"}'
All API responses include rate limit headers:
X-RateLimit-Limit: Total requests allowed per day (100)X-RateLimit-Remaining: Requests remaining todayX-RateLimit-Reset: When your limit resets (ISO 8601 timestamp)If you exceed your rate limit, you'll receive a 429 Too Many Requests response.
All errors follow this format:
{
"error": "Rate limit exceeded",
"message": "Free tier allows 100 requests per day",
"limit": 100,
"reset": "2024-01-16T00:00:00.000Z"
}
Common HTTP Status Codes:
200 - Success201 - Created (report submitted)400 - Bad Request (missing parameters)401 - Unauthorized (invalid/missing API key)429 - Too Many Requests (rate limit exceeded)Check incoming calls against the scam database in real-time
Warn users when they visit known scam websites
Flag emails from known scammer addresses
Provide scam information to users in messaging apps