All services Shodan has found on an IP address
GET/shodan/host/{ip}
- Takes: IP address
- Passive: the target is not contacted
Returns host details (organisation, ISP, ASN, location, hostnames, domains, open ports, tags, OS) and the banner for each service. history=true adds every historical banner; minify=true returns only the ports and general host information.
Path parameters
ipHost IP address
Query parameters
historyTrue to return all historical banners
minifyTrue to return only the list of ports and general host information, no banners
Response fields · 11ShowHide
ip_str
The IP address
hostnames[]
Hostnames seen for the IP
domains[]
Domains seen for the IP
org
Organisation the IP is assigned to
isp
ISP
asn
Autonomous system number
country_code
Country code
city
City
ports[]
Open ports seen
last_update
When the host was last updated
data[]
One banner per service: port, transport, product, timestamp, raw data and protocol-specific fields
curl 'https://api.shodan.io/shodan/host/203.0.113.7?key=YOUR_API_KEY'{
"ip_str": "203.0.113.7",
"hostnames": [
"host7.example.net"
],
"domains": [
"example.net"
],
"org": "Example Hosting",
"isp": "Example Networks",
"asn": "AS64500",
"country_code": "NL",
"city": "Amsterdam",
"latitude": 52.37,
"longitude": 4.89,
"os": null,
"tags": [],
"ports": [
22,
443
],
"last_update": "2026-11-20T04:12:33.000000",
"data": [
{
"port": 443,
"transport": "tcp",
"product": "nginx",
"timestamp": "2026-11-20T04:12:33.000000",
"data": "HTTP/1.1 200 OK\r\nServer: nginx\r\n"
}
]
}