POST
/
v1
/
ioc
/
query
curl --request POST \
  --url https://api.threatbook.io/v1/ioc/query
{
  "msg": "Success",
  "data": {
    "ips": {
      "183.18.2.4:8080": {
        "judgments": [
          "Dynamic IP",
          "Gateway"
        ],
        "whitelist": false,
        "family": [],
        "severity": "info",
        "APT": false,
        "threat_actor": [],
        "tag_categories": [],
        "confidence_level": "high",
        "threat_level": "safe"
      }
    }
  },
  "response_code": 200
}

Query Parameters

apikey
string
required

Premium API key. Unique identifier for API request.

You are able to get the key on "My API" page of threatbook.io.

Kindly note:

Please check if you have bound your access IP to the key and have the authority quotas to access this API before you interact with it.

resource
string
required

Single IP address or Domain name to query.

You are allowed to query an IP address with a port to get more accurate intelligence, for example:

  • IPv4 with port to query:

    183.18.2.4:8080

  • IPv6 with port to query:

    [2001:0db8:0000:0000:0001:0000:0000:0000]:80

Response

200
application/json

The response is of type object.