Exporting Data
SHODAN lets you export up to 1,000,000 search results in a structured XML format using the web interface.
How it works
As a logged-in user, an 'Export results' option will be visible near the top. Clicking on it will deduct 1 credit from your account and the export request will be processed by the system. If there's an email address linked to your account, a message will be sent once the data is ready for retrieval. See the screenshot below to view the export option as seen from a logged-in user.
- Export results: use this button to export up to 1,000,000 search results
- Analytics/ Exports: where your data exports are saved and available for download
What are credits
Credits are the currency used to export data, and they can be purchased in various ways. The conversion rate is:
1 credit = 1,000 results
Whether you export 10 or 1,000 search results, both deduct 1 credit.
XML output
A sample data export file is available here. Here's a brief excerpt:
<shodan>
<summary date="2010-03-16 23:23:19.921034" query="apache" total="6287987"/>
<host country="US"
hostnames="1stadvantagebailbond.com"
ip="198.171.76.21"
port="80"
updated="16.03.2010">
HTTP/1.0 200 OK
Date: Tue, 16 Mar 2010 07:43:07 GMT
Server: Apache/1.3.41 (Unix) FrontPage/5.0.2.2635 mod_ssl/2.8.31 OpenSSL/0.9.7m
Last-Modified: Tue, 17 Nov 2009 17:40:25 GMT
ETag: "19258d5-591-4b02e009"
Accept-Ranges: bytes
Content-Length: 1425
Content-Type: text/html
</host>
...
</shodan>
<summary date="2010-03-16 23:23:19.921034" query="apache" total="6287987"/>
<host country="US"
hostnames="1stadvantagebailbond.com"
ip="198.171.76.21"
port="80"
updated="16.03.2010">
HTTP/1.0 200 OK
Date: Tue, 16 Mar 2010 07:43:07 GMT
Server: Apache/1.3.41 (Unix) FrontPage/5.0.2.2635 mod_ssl/2.8.31 OpenSSL/0.9.7m
Last-Modified: Tue, 17 Nov 2009 17:40:25 GMT
ETag: "19258d5-591-4b02e009"
Accept-Ranges: bytes
Content-Length: 1425
Content-Type: text/html
</host>
...
</shodan>