URL Safety Check
Verify if a URL or domain is associated with phishing or malicious activity using our real-time threat database.
GET /api/url-safety?url=https://example.com
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
url |
string | Yes | The URL or domain to check. |
check_type |
string | No | Type of check: all (default), domain, or link. |
Check Types
- all - Check against both phishing domains and links databases (default)
- domain - Only check if the domain is in the phishing database
- link - Only check if the exact URL is in the phishing links database
Example Request
curl -X GET "https://developer.nabzclan.vip/api/url-safety?url=https://suspicious-site.com" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Accept: application/json"
Response Body (Safe URL)
{
"url": "https://google.com",
"domain": "google.com",
"safe": true,
"threats": [],
"checks_performed": ["domain", "link"],
"risk_level": "safe"
}
Response Body (Phishing Detected)
{
"url": "https://phishing-site.com/login",
"domain": "phishing-site.com",
"safe": false,
"threats": [
{
"type": "phishing_domain",
"description": "Domain found in known phishing database",
"matched": "phishing-site.com"
}
],
"checks_performed": ["domain", "link"],
"risk_level": "high"
}
Risk Levels
| Level | Description |
|---|---|
safe |
No threats detected |
medium |
Minor suspicious indicators |
high |
URL or domain found in phishing database |
critical |
Both domain and link matched phishing databases |