API Reference

Clients/ Libraries

For some of the popular programming languages there are libraries that make it easy to access the Shodan API. Want your client listed here? Contact us at support@shodan.io with a link to the documentation/ source code repository.

Python

shodan Github Repository
Documentation
@shodanhq Official Shodan library for Python

Ruby

shodanz Github Repository @kentgruber Modern Ruby gem for Shodan

PHP

Shodan-PHP-REST-API Github Repository @ISGroupSRL Lean and easily extendible PHP API for Shodan.io, supporting both the free API and the paid one.

C++

ShodanCPP Github Repository prophetl33t A C++ library for accessing the Shodan API.

C#

Shodan Nuget Package @shadowscatcher .NET Standard 2.0 port of my own Go client library
Shodan.Net Github Repository @TerribleDev A C# API client that supports all of the REST API. Streaming API support is still in-progress.

Crystal

Shodan Crystal Github Repository @mil0sec A Crystal library for the Shodan REST API.

Go

shodan Github Repository @shadowscatcher Go library with comprehensive data models and accompanying query syntax.
go-shodan Github Repository @ns3777k A Go library for accessing the Shodan API.
shodan Project Website vighnesh.org A Go library for accessing the Shodan API.

Haskell

shodan Github Repository iomonad Shodan web API wrapper in Haskell.

Java

jShodan Github Repository fooock Shodan API client using RxJava and Retrofit

Node.js

shodan-client.js Github Repository @jesusprubio A Node.js (JavaScript) library for accessing the new Shodan API.

Perl

WWW::Shodan::API Github Repository  Documentation @dudley_adams Perl interface for the Shodan API

PowerShell

Posh-Shodan Github Repository @Carlos_Perez PowerShell Module to interact with the Shodan REST API provided with the proper API key.

Rust

shodan Github Repository Femi Agbabiaka A Rusty wrapper for the Shodan.io API.
Next: REST API Documentation



Contact Us

Shodan ® - All rights reserved