IP Check

This endpoint gives you data about an IP address. It is useful to detect spammy IP addresses. See use cases for more information.

Full URL: https://fortguard.io/api/v0/check/ip (POST)

Request

{
    "ip": "141.98.215.233"
}

Response

{
    "ip": "141.98.215.233",
    "is_bogon": false,
    "is_mobile": false,
    "is_datacenter": true,
    "is_tor": false,
    "is_proxy": false,
    "is_vpn": false,
    "is_abuser": true,
    "location": {
        "continent": "AS",
        "country": "Philippines",
        "country_code": "PH",
        "state": "",
        "city": "Manila",
        "latitude": 14.6042,
        "longitude": 120.9822,
        "zip": "",
        "timezone": "Asia/Manila",
        "local_time": "2023-11-06T15:30:22+08:00",
        "local_time_unix": 1699255822,
        "is_dst": false
    },
    "company": {
        "name": "ESTNOC-GLOBAL",
        "domain": "estnoc.ee",
        "type": "business",
        "network": "141.98.215.0 - 141.98.215.255",
    },
    "datacenter": {
        "datacenter": "Shock Hosting LLC",
        "domain": "shockhosting.net",
        "network": "141.98.212.0 - 141.98.215.255"
    },
    "asn": {
        "asn": 206804,
        "route": "141.98.215.0/24",
        "descr": "ESTNOC-GLOBAL, EE",
        "country": "ee",
        "active": true,
        "org": "EstNOC OY",
        "domain": "www.estnoc.ee",
        "type": "hosting",
        "created": "2016-11-03",
        "updated": "2023-10-13",
        "rir": "ripe",
    }
}

Use Cases

While our content check API is useful to detect spammy content, the IP check API is useful to detect spammy IP addresses. Here are some common use cases of the IP check API.

  1. Block spammy IP addresses
    If is_abuser is true, the IP address is a known spammer according to multiple open source and commercial databases.
  2. Block countries/regions
    You may use location data to block certain countries/regions.
  3. Block Proxies
    You may use is_tor and is_proxy data points to block tor/proxy requests.