Overview
Shodan is a search engine that continuously scans the internet and indexes metadata about connected devices like servers, routers, webcams, and industrial systems. You can search for devices by IP, location, open ports, or software banners without actively scanning yourself. It's a powerful tool for security researchers and network administrators to discover exposed assets.
Beginner Tip
Use the /shodan/host/{ip} endpoint to look up a specific IP address — it returns all open ports, banners, and vulnerabilities Shodan has observed, with no active scanning required on your part.
Available Data
Example Response
{
"status": "success",
"data": {
"result": "Data from Shodan",
"description": "Search engine for Internet connected devices",
"timestamp": "2025-01-15T10:00:00Z"
}
} Field Reference
ip_str The queried IP address in dotted notation. ports List of open TCP/UDP ports discovered on this host. country_name Country where this IP is geographically located. org Organization or ISP that owns this IP address. vulns CVE identifiers for known vulnerabilities detected on this host. data Array of service banners for each open port, including protocol, product, and version details. Implementation Example
const url = "https://developer.shodan.io/";
// Replace headers or query params with the values required by this API.
const response = await fetch(url, {
headers: {
"X-API-Key": "YOUR_API_KEY"
}
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
console.log(data); What Can You Build?
Note: These code examples are AI-generated and unverified. Always refer to the official API documentation for accurate usage.
Common Errors & Troubleshooting
Matrix Score Breakdown
Partially tested on Apr 5, 2026
Technical Specifications
Similar APIs
View All →Application Environment Verification
Application Environment Verification (AEV) is an Android library and API from FingerprintJS that checks whether a user device is safe to use.
BinaryEdge
BinaryEdge is a cybersecurity platform that continuously scans the entire internet and exposes the results through its API.
Botd
Botd is an open-source JavaScript library and API from FingerprintJS that detects whether a web visitor is a bot or a real human browser.
Bugcrowd
The Bugcrowd API gives you programmatic access to your organization's bug bounty program data, including submissions, rewards, and researcher profiles.
Censys
Censys is an internet-wide scanning platform that lets you search for any internet-connected host, device, or certificate using its REST API.