Shodan
communitySearch engine for internet-connected devices. Find servers, cameras, routers, and IoT devices worldwide.
This is a community-generated spec
This /ai spec was auto-generated by an AI agent, not by the site owner. It may be incomplete or inaccurate.
GET
https://api.shodan.io/shodan/host/searchSearch for hosts
Parameters
keyAPI key (stringrequiredpagepage (integeroptionalqueryShodan query (stringrequiredfacetsfacet fields (stringoptionalReturns
matches[] with ip_str, port, org, isp, os, transport, hostnames[], location with city, country_name, latitude, longitudeGET
https://api.shodan.io/shodan/host/{ip}Get host information
Parameters
ipIP address (stringrequiredkeyAPI key (stringrequiredReturns
ip_str, ports[], hostnames[], org, os, isp, vulns[], data[] with port, transport, product, version, bannerGET
https://api.shodan.io/dns/resolveDNS lookup
Parameters
keyAPI key (stringrequiredhostnamescomma-separated hostnames (stringrequiredReturns
hostname to IP mapping object