How Can I Export Search Results?
Censys makes it easy to query the entire Internet for very specific data. While there is no way to export the results of a query directly from the Search web app, we have a CLI Tool that makes exporting results just as easy as querying for them.
Documentation for the CLI module is located here: censys-python docs
For example, after you've installed the CLI Tool, running this query:
censys "ip: [ 220.127.116.11 TO 18.104.22.168 ]" \
--query_type ipv4 --fields ip protocols --output json
will write the first 100 results to a JSON file.
You can also utilize the
--fields [space-separated list of fields you're interested in] --append false to specify the fields to be returned in your results JSON.