Sample Response

Successful API Responses will return a 200 status code and a json.

  • FQDN Input Format
$ curl https://api.deepinfo.org/v1/lookup/port-scan?target=deepinfo.com
{
    "status": "success",
    "target": "deepinfo.com",
    "target_ip": "104.21.29.10",
    "check_date": "2021-05-11T14:36:18Z",
    "port_data": {
        "tcp": [
            {
                "port_number": 21,
                "service_name": "ftp",
                "service_product": null,
                "service_version": null,
                "state": "filtered",
                "extra_data": {}
            },
            {
                "port_number": 22,
                "service_name": "ssh",
                "service_product": null,
                "service_version": null,
                "state": "filtered",
                "extra_data": {}
            },
            {
                "port_number": 23,
                "service_name": "telnet",
                "service_product": null,
                "service_version": null,
                "state": "filtered",
                "extra_data": {}
            },
            {
                "port_number": 25,
                "service_name": "smtp",
                "service_product": null,
                "service_version": null,
                "state": "filtered",
                "extra_data": {}
            },
            {
                "port_number": 80,
                "service_name": "http",
                "service_product": null,
                "service_version": null,
                "state": "open",
                "extra_data": {}
            },
            {
                "port_number": 110,
                "service_name": "pop3",
                "service_product": null,
                "service_version": null,
                "state": "filtered",
                "extra_data": {}
            },
            {
                "port_number": 139,
                "service_name": "netbios-ssn",
                "service_product": null,
                "service_version": null,
                "state": "filtered",
                "extra_data": {}
            },
            {
                "port_number": 443,
                "service_name": "https",
                "service_product": null,
                "service_version": null,
                "state": "open",
                "extra_data": {}
            },
            {
                "port_number": 445,
                "service_name": "microsoft-ds",
                "service_product": null,
                "service_version": null,
                "state": "filtered",
                "extra_data": {}
            },
            {
                "port_number": 3389,
                "service_name": "ms-wbt-server",
                "service_product": null,
                "service_version": null,
                "state": "filtered",
                "extra_data": {}
            }
        ],
        "udp": []
    },
    "os": null
}
  • IP Input Format
$ curl https://api.deepinfo.org/v1/lookup/port-scan?target=8.8.8.8
{
    "status": "success",
    "target": "8.8.8.8",
    "target_ip": "8.8.8.8",
    "check_date": "2021-05-11T14:18:25Z",
    "port_data": {
        "tcp": [
            {
                "port_number": 21,
                "service_name": "ftp",
                "service_product": null,
                "service_version": null,
                "state": "filtered",
                "extra_data": {}
            },
            {
                "port_number": 22,
                "service_name": "ssh",
                "service_product": null,
                "service_version": null,
                "state": "filtered",
                "extra_data": {}
            },
            {
                "port_number": 23,
                "service_name": "telnet",
                "service_product": null,
                "service_version": null,
                "state": "filtered",
                "extra_data": {}
            },
            {
                "port_number": 25,
                "service_name": "smtp",
                "service_product": null,
                "service_version": null,
                "state": "filtered",
                "extra_data": {}
            },
            {
                "port_number": 80,
                "service_name": "http",
                "service_product": null,
                "service_version": null,
                "state": "filtered",
                "extra_data": {}
            },
            {
                "port_number": 110,
                "service_name": "pop3",
                "service_product": null,
                "service_version": null,
                "state": "filtered",
                "extra_data": {}
            },
            {
                "port_number": 139,
                "service_name": "netbios-ssn",
                "service_product": null,
                "service_version": null,
                "state": "filtered",
                "extra_data": {}
            },
            {
                "port_number": 443,
                "service_name": "https",
                "service_product": null,
                "service_version": null,
                "state": "open",
                "extra_data": {}
            },
            {
                "port_number": 445,
                "service_name": "microsoft-ds",
                "service_product": null,
                "service_version": null,
                "state": "filtered",
                "extra_data": {}
            },
            {
                "port_number": 3389,
                "service_name": "ms-wbt-server",
                "service_product": null,
                "service_version": null,
                "state": "filtered",
                "extra_data": {}
            }
        ],
        "udp": []
    },
    "os": null
}

Did this page help you?