Search to Host Detail
A 3-step recipe with Shodan. We can help you get access.
Recipe · 3 steps
Search to Host Detail
with Shodan
Count, search, and inspect the top matching host for a Shodan query.
- Determine how many results the query would return, along with a facet summary, without consuming query credits.
- Execute the search to retrieve the matching banners and any requested facet breakdowns.
- Retrieve the full host record for the first matching IP, returning every indexed service found on the host.
What you'll need to have ready
- apiKey: Shodan API key passed as the `key` query parameter.
- query: Shodan search query (e.g. "product:nginx country:US").
- facets: Comma-separated facet definitions (e.g. "country:5,port:10").
- page: The page of search results to retrieve.
For your developer
Arazzo workflow shodan:search-to-host-detail, 3 operations: getHostCount → searchHosts → getHost. Specs on APIs.io.