Skip to content
otinstaller
Install

OSINT tool

Install censys on Windows, macOS and Linux

Search Censys for hosts, certificates and subdomains.

searchhostscertificatespassive
ot install censys

The official command-line client for Censys, a search engine that continuously scans the internet and indexes hosts and certificates. It lets you read what a host exposes without sending it any traffic yourself. It needs a Censys account's API ID and secret.

How to install censys

ot install censys

ot installs censys 2.3.0 with uv into a Python environment of its own under ~/.ot, so it cannot conflict with your system Python or with any other tool.

New to ot? It is one command to install, shown below.

How to use censys

Arguments after the tool's name go straight to censys, so its own documentation applies unchanged.

List subdomains seen in certificates.

ot run censys subdomains example.com

Show everything Censys knows about a host.

ot run censys view 8.8.8.8

Search hosts with a Censys query.

ot run censys search "services.port: 9200" --pages 1

ot run censys --help lists every option. The project's own documentation is at github.com/censys/censys-python.

An AI agent can run censys too: ot mcp serves it over the Model Context Protocol. See OSINT with AI agents.

API keys for censys

censys reads these environment variables. Store one with ot keys set NAME and ot passes it to censys on every run.

VariablePurpose
CENSYS_API_IDCensys API ID
CENSYS_API_SECRETCensys API secret

censys licence, platforms and versions

Projecthttps://github.com/censys/censys-python
LicenceApache-2.0
Runs onWindows, macOS and Linux
Takesip, domain, query
Sends traffic to the targetNo
Python packagecensys 2.3.0, in its own isolated environment

Questions about censys

How do I install censys on Windows?

Is censys free?

Do I need to set up Python to use censys?

How do I update or remove censys?

Install ot

curl -fsSL https://otinstaller.com/install.sh | sh

Current version: 0.3.0. Both scripts verify the download against its SHA-256 checksum before installing.

More: Network and host OSINT tools