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": "",
    "ports": [
    "cpes": [
    "hostnames": [
    "tags": [
    "vulns": [

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.


Quickly check if your public IP has any open ports:
~ $

Use the requests Python library to lookup
import requests
host = requests.get("").json()

Contact Us

Shodan ® - All rights reserved