Information Gathering

Censys-Python – Lightweight API Wrapper For The Censys Search Engine

Censys-Python - An Easy-To-Use And Lightweight API Wrapper For The Censys Search Engine


An easy-to-use and lightweight API wrapper for the Censys Search Engine ( Python 3.6+ is currently supported.

Getting Started

The library can be installed using pip.

$ pip install censys

To configure your credentials run censys config or set both CENSYS_API_ID and CENSYS_API_SECRET environment variables.

$ censys config
Censys API ID: XXX
Censys API Secret: XXX
Successfully authenticated for [email protected]



All contributions (no matter how small) are always welcome.


$ git clone [email protected]:censys/censys-python.git
$ pip install -e ".[dev]"


Testing requires credentials to be set.

$ pytest

About the author

Mazen Elzanaty

Add Comment

Click here to post a comment

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: