Censys Host Search
censys_host_searchSearch Censys hosts for — finds internet-facing hosts matching a Censys query (CenQL), e.g. software, port, product, or ASN. Returns ip, matched services (port/service/transport), location, and autonomous system per host. Example: censys_host_search({ q: "services.service_name: HTTP and location.country: Germany", per_page: 25, _apiKey: "your-censys-token" })
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"q": "services.port: 443 and location.country: US",
"_apiKey": "your-censys-token",
"per_page": 25
},
"name": "censys_host_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | Yes | Censys query (CenQL), e.g. "services.port: 22", "services.software.product: nginx", "autonomous_system.asn: 15169" | |
| _apiKey | Yes | Censys Platform Personal Access Token. Optionally "<token>:<organizationId>". | |
| per_page | No | Max hosts to return (default 25, max 50) |