Fast IP Lookups for Open Ports and Vulnerabilities

The InternetDB API provides a fast way to see the open ports for an IP address. It gives a quick, at-a-glance view of the type of device that is running behind an IP address to help you make decisions based on the open ports.

The vulnerability information is based on the metadata of a service. Learn More

Try It View API Docs

Last Updated:

                        {
    "ip": "51.83.59.99",
    "ports": [
        22,
        80,
        443,
        500
    ],
    "cpes": [
        "cpe:/a:igor_sysoev:nginx",
        "cpe:/a:openbsd:openssh:7.4"
    ],
    "hostnames": [
        "www.sampleresponse.fr"
    ],
    "tags": [
        "vpn"
    ],
    "vulns": [
        "CVE-2017-15906"
    ]
}
                    

Frequently Asked Questions

  • How much does it cost?
    It's free for non-commercial use! If you're using the InternetDB API to make money then you need an enterprise license.
  • How often is it updated?
    The API gets updated once a week.
  • Do I need a Shodan API key?
    No, you don't need to have a Shodan account or a Shodan API key in order to use the InternetDB API.
  • How is it different than the regular Shodan API?
    The InternetDB API provides a lot less data than a regular Shodan IP lookup. It only gives you the list of open ports, vulnerabilities, cpes, hostnames and tags. The InternetDB API doesn't return any banners. And it is only updated once a week whereas the regular Shodan API is updated continuously in real-time.

Examples

Quickly check if your public IP has any open ports:
 
~ $
curl https://internetdb.shodan.io/

Use the requests Python library to lookup 1.1.1.1:
                        
import requests
host = requests.get("https://internetdb.shodan.io/1.1.1.1").json()
                        
                    


Contact Us

Shodan ® - All rights reserved