get_host_count
Retrieve the count of hosts matching a Shodan search query without using query credits, optionally including facets like country or organization for detailed insights.
Instructions
Get the count of hosts matching a search query without consuming query credits
Input Schema
Name | Required | Description | Default |
---|---|---|---|
facets | No | List of facets to include in the count results (e.g., ['country', 'org']) | |
query | Yes | Shodan search query to count hosts for |
Input Schema (JSON Schema)
{
"properties": {
"facets": {
"description": "List of facets to include in the count results (e.g., ['country', 'org'])",
"items": {
"type": "string"
},
"type": "array"
},
"query": {
"description": "Shodan search query to count hosts for",
"type": "string"
}
},
"required": [
"query"
],
"type": "object"
}