Returns all services that have been found on the given host IP.

Parameters

ParameterDescription
HistoryTrue if all historical banners should be returned (default: False).
IPHost IP address.
MinifyTrue to only return the list of ports and the general host information, no banners. (default: False).

Example Output

{
	"area_code": null,
	"asn": "AS15169",
	"city": null,
	"country_code": "US",
	"country_code3": null,
	"country_name": "United States",
	"data": [
		{
			"_shodan": {
				"crawler": "ac284849be0745621b3c518f74c14cf43cafbf08",
				"id": "cea5795b-55fd-4595-b9e5-ad5ca847cb4b",
				"module": "dns-udp",
				"options": {},
				"ptr": true
			},
			"asn": "AS15169",
			"data": "\nRecursion: enabled",
			"dns": {
				"recursive": true,
				"resolver_hostname": null,
				"resolver_id": null,
				"software": null
			},
			"domains": [
				"dns.google"
			],
			"hash": -553166942,
			"hostnames": [
				"dns.google"
			],
			"ip": 134744072,
			"ip_str": "8.8.8.8",
			"isp": "Google",
			"location": {
				"area_code": null,
				"city": null,
				"country_code": "US",
				"country_code3": null,
				"country_name": "United States",
				"dma_code": null,
				"latitude": 37.751,
				"longitude": -97.822,
				"postal_code": null,
				"region_code": null
			},
			"opts": {
				"raw": "34ef818200010000000000000776657273696f6e0462696e640000100003"
			},
			"org": "Google",
			"os": null,
			"port": 53,
			"timestamp": "2021-01-22T08:49:35.190817",
			"transport": "udp"
		}
	],
	"dma_code": null,
	"domains": [
		"dns.google"
	],
	"hostnames": [
		"dns.google"
	],
	"ip": 134744072,
	"ip_str": "8.8.8.8",
	"isp": "Google",
	"last_update": "2021-01-22T08:49:35.190817",
	"latitude": 37.751,
	"longitude": -97.822,
	"org": "Google",
	"os": null,
	"ports": [
		53
	],
	"postal_code": null,
	"region_code": null,
	"tags": []
}

Workflow Library Example

Host Information with Shodan and Send Results Via Email

Preview this Workflow on desktop