omnia_checkPhishingSite

Returns security details indicating whether the given url is a phishing site or not.

Note: This is a chain-agnostic method.

Parameters

STRING - url. The url of the website that is checked. REQUIRED

Returns

Object with following details:

Parameter

Description

phishing_site

  • 1 if the given url leads to a website involved in phishing activities

  • 0 if no phishing activities found

website_contract_security [BETA]

Applies and returns the same check as omnia_checkAddress

Example

Request

curl --request POST \
     --url https://endpoints.omniatech.io/v1/RPC_ENDPOINT \
     --header 'accept: application/json' \
     --header 'content-type: application/json' \
     --data '
{
    "id": 1,
    "jsonrpc": "2.0",
    "method": "omnia_checkphishingsite",
    "params": [
        {
            "url": "https://www.c0inbase.com" // notice the '0' instead of 'o' in the domain name
        }
    ]
}
'

Response

{
    "id": 1,
    "jsonrpc": "2.0",
    "result": {
        "website_contract_security": [],
        "phishing_site": 1
    }
}

Last updated