Skip to content

Shodan

Filter IP Range

net:<ip_range>

Filter Port

port:<port>

Filter Location

city:"<city>" country:<country_code>
geo:<latitude>,<longitude>

Filter Hostname

hostname:<hostname>

Filter Operating System

os:<operating_system>

Filter Dates

before:<date>
after:<date>

Acceptable date formats are day/month/year or day-month-year.

Examples

To search for devices in a specific city:

city:"New York" country:US

To search for devices with a specific operating system:

os:"Windows"

To search for devices with a specific port open:

port:22

To search for devices in a specific IP range:

net:192.168.0.0/24

To search for devices before a specific date:

before:01/01/2023