Function: checkDomain()
checkDomain(
domain
:string
,apiKey
:string
):Promise
<object
>
Checks if a link is detected as a scam or phishing link by phisherman.
Parameters
Parameter | Type | Default value | Description |
---|---|---|---|
domain | string | undefined | The domain to check. |
apiKey | string | storedApiKey | optionally pass a Phiserman API key for making this request. This will default to storedApiKey, which can be configured through setApiKey. |
Returns
Promise
<object
>
classification
classification:
"unknown"
|"malicious"
|"suspicious"
|"safe"
isScam
isScam:
boolean
verifiedPhish
verifiedPhish:
boolean
Since
1.0.0