🔌Developer API
API Documentation
Integrate ScamCheck fraud detection capabilities into your applications.
🚀Quick Start
// Check if content is a scam
const response = await fetch('https://scamcheck.ae/api/analyze', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({ content: 'Suspicious message here' })
});
const result = await response.json();
console.log(result.riskScore); // 0-100⚡Rate Limits
100
Requests / minute
5,000
Requests / day
FREE
Personal use
💰API Pricing Plans
Choose the plan that fits your needs
Free
$0/mo
- ✓ 100 requests/day
- ✓ Basic analysis
- ✓ Community support
MOST POPULAR
Pro
$49/mo
- ✓ 10,000 requests/day
- ✓ Advanced + AI analysis
- ✓ Priority support
- ✓ Dashboard & analytics
Enterprise
Custom
- ✓ Unlimited requests
- ✓ Custom SLA
- ✓ Dedicated support
- ✓ Custom integration
Endpoints
POST
/api/analyzeMain analysis endpoint for text, URLs, and messages
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| content | string | ✓ | Text content to analyze |
| type | string | - | Content type: text, url, crypto, phone |
Request Example
fetch('/api/analyze', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({
content: 'Your suspicious text here',
type: 'text'
})
})Response Example
{
"riskScore": 75,
"riskLevel": "high",
"isScam": true,
"signals": ["urgency", "money_request"],
"recommendation": "Do not engage"
}POST
/api/check-urlCheck a URL against multiple security databases
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| url | string | ✓ | URL to check |
Request Example
fetch('/api/check-url', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({
url: 'https://suspicious-site.xyz'
})
})Response Example
{
"safe": false,
"riskScore": 85,
"sources": {
"googleSafeBrowsing": { "malicious": true },
"virusTotal": { "positives": 5 },
"phishTank": { "verified": true }
}
}POST
/api/check-databaseCheck content against community scam database
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| content | string | ✓ | Content to check |
| type | string | - | phone, wallet, domain |
Request Example
fetch('/api/check-database', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({
content: '+971501234567',
type: 'phone'
})
})Response Example
{
"found": true,
"reports": 15,
"category": "job_scam",
"lastReported": "2024-12-25"
}POST
/api/report-scamSubmit a scam report to help protect others
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| content | string | ✓ | Scam content/details |
| category | string | ✓ | Scam category |
| contactInfo | string | - | Scammer contact (phone, email) |
Request Example
fetch('/api/report-scam', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({
content: 'Received job offer scam...',
category: 'job_scam',
contactInfo: '+971501234567'
})
})Response Example
{
"success": true,
"reportId": "RPT-2024-12345",
"message": "Thank you for your report"
}