Shodan Attack Surface Mapper — Ports, Services & CVEs avatar

Shodan Attack Surface Mapper — Ports, Services & CVEs

Pricing

from $1.00 / 1,000 item processeds

Go to Apify Store
Shodan Attack Surface Mapper — Ports, Services & CVEs

Shodan Attack Surface Mapper — Ports, Services & CVEs

Map the attack surface of IP addresses and domains using Shodan. Returns open ports, running services, service banners, known CVEs, geolocation, ASN, and ISP. Requires a free Shodan API key (register at shodan.io).

Pricing

from $1.00 / 1,000 item processeds

Rating

0.0

(0)

Developer

Hojun Lee

Hojun Lee

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

1

Monthly active users

17 hours ago

Last modified

Categories

Share

Shodan Attack Surface Mapper — Open Ports, Services, CVEs, Geolocation

Map the external attack surface of any IP address or domain using the Shodan API. Returns open ports, running services, service banners, known CVEs, geolocation, ASN, and ISP — all from a single Actor run.

Requires a free Shodan API key — register at shodan.io. The free tier supports direct IP lookups with no credit card required.


Use Cases

  • Penetration testing recon — quickly enumerate open ports and services on targets before an engagement
  • External attack surface management (EASM) — continuously monitor what your organization exposes to the internet
  • Vendor / third-party risk assessment — audit a vendor's internet-facing infrastructure for misconfigurations
  • Cloud misconfiguration detection — find inadvertently exposed RDP, SSH, database, or admin ports
  • CVE triage — identify hosts running software with known CVEs before your security team does
  • Research and threat intelligence — bulk-enrich IP lists with service, location, and vulnerability context

Input

FieldTypeRequiredDescription
shodanApiKeystring (secret)YesYour Shodan API key. Get free at shodan.io
ipsarray of stringNo*IPv4 or IPv6 addresses to look up
domainsarray of stringNo*Domain names to resolve then look up
includeVulnsbooleanNoInclude known CVE IDs (default: true)
includeBannersbooleanNoInclude raw service banners, first 200 chars (default: false)

* At least one IP or domain is required.

Example input (JSON)

{
"shodanApiKey": "YOUR_SHODAN_API_KEY",
"ips": ["8.8.8.8", "1.1.1.1"],
"domains": ["scanme.nmap.org"],
"includeVulns": true,
"includeBanners": false
}

Output

Each scanned host produces one result item. A final _type: "summary" item aggregates the run.

Host result (found)

{
"ip": "45.33.32.156",
"found": true,
"hostnames": ["scanme.nmap.org"],
"domains": ["nmap.org"],
"country_name": "United States",
"city": "Fremont",
"org": "Linode",
"isp": "Linode, LLC",
"asn": "AS63949",
"open_ports": [22, 80, 9929, 31337],
"port_count": 4,
"services": [
{
"port": 22,
"protocol": "ssh",
"product": "OpenSSH",
"version": "6.6.1p1",
"cpe": ["cpe:/a:openbsd:openssh:6.6.1p1"],
"transport": "tcp"
},
{
"port": 80,
"protocol": "http",
"product": "Apache httpd",
"version": "2.4.7",
"cpe": ["cpe:/a:apache:http_server:2.4.7"],
"transport": "tcp"
}
],
"vulns": ["CVE-2014-0160", "CVE-2015-3253"],
"vuln_count": 2,
"tags": [],
"last_update": "2024-11-15T08:21:00.000000",
"scanned_at": "2025-09-01T12:00:00.000000Z"
}

Host result (not found)

{
"ip": "192.168.1.1",
"found": false,
"scanned_at": "2025-09-01T12:00:00.000000Z"
}

Summary item

{
"_type": "summary",
"total_hosts": 3,
"hosts_found": 2,
"hosts_not_found": 1,
"total_open_ports": 12,
"common_ports_breakdown": [
{"port": 443, "count": 2},
{"port": 80, "count": 2},
{"port": 22, "count": 1}
],
"hosts_with_vulns": 1,
"unique_countries": ["Germany", "United States"],
"completed_at": "2025-09-01T12:00:05.000000Z"
}

Pricing

EventPrice
Actor start$0.001
Per IP/host scanned$0.005

Scanning 100 hosts costs approximately $0.50 + compute time.


Comparison to Alternatives

ToolCostWhat you get
Shodan Enterprise API$899+/yrFull search, real-time scans, alerts
Censys Enterprise$15,000+/yrCertificate transparency + Shodan-style scan
This Actor$0.005/hostShodan free-tier host lookups, structured output, Apify integration

This Actor is ideal for teams that need structured, enriched host data without a Shodan Enterprise subscription.


Free Tier Limitations

  • No search queries — only direct IP lookups (/shodan/host/{ip})
  • No real-time scanning — data reflects Shodan's last crawl of that IP
  • Rate limited — 1 request/second; the Actor automatically throttles to comply
  • No HTTPS certificate data or historical port data (paid features)

Upgrade path for paid Shodan accounts

If you have a Shodan paid plan (from $49/mo), you can also use Shodan's search API (/shodan/host/search) to find all hosts matching a query — e.g., all Apache servers in Germany with port 3389 open. Contact us or open a GitHub issue to request this extension.


Tips

  • Use domains input to automatically resolve hostnames to IPs before scanning — useful when you know domain names but not IPs.
  • Enable includeBanners only when you need raw service fingerprinting data — it can significantly increase output size.
  • Combine with the Smart Money Wallet Tracker or other infrastructure actors for comprehensive recon workflows.
  • Results are based on Shodan's last crawl — for fresh data you need a Shodan paid scan credit.

Keywords: Shodan, attack surface, port scanning, OSINT, security audit, CVE, SSL, network reconnaissance, cybersecurity


Feedback

If this actor powers your security research, a review helps others find it: Leave a review on Apify Store