Shodan · Schema
Shodan Host
A Shodan host record describing all services seen on a given IP address.
SecuritySearchInternetDevicesIoTVulnerabilitiesCVEAttack SurfaceThreat IntelligenceReconnaissanceNetworkDNSScanningPublic APIs
Properties
| Name | Type | Description |
|---|---|---|
| ip_str | string | IP address in human-readable form. |
| ip | integer | Integer-encoded IP address. |
| hostnames | array | |
| domains | array | |
| country_code | string | |
| country_name | string | |
| city | string | |
| region_code | string | |
| postal_code | string | |
| latitude | number | |
| longitude | number | |
| org | string | |
| isp | string | |
| asn | string | |
| os | stringnull | |
| last_update | string | |
| ports | array | |
| vulns | array | |
| tags | array | |
| data | array |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://github.com/api-evangelist/shodan/json-schema/shodan-rest-host-schema.json",
"title": "Shodan Host",
"description": "A Shodan host record describing all services seen on a given IP address.",
"type": "object",
"required": ["ip_str"],
"properties": {
"ip_str": { "type": "string", "description": "IP address in human-readable form." },
"ip": { "type": "integer", "description": "Integer-encoded IP address." },
"hostnames": { "type": "array", "items": { "type": "string" } },
"domains": { "type": "array", "items": { "type": "string" } },
"country_code": { "type": "string", "minLength": 2, "maxLength": 2 },
"country_name": { "type": "string" },
"city": { "type": "string" },
"region_code": { "type": "string" },
"postal_code": { "type": "string" },
"latitude": { "type": "number" },
"longitude": { "type": "number" },
"org": { "type": "string" },
"isp": { "type": "string" },
"asn": { "type": "string" },
"os": { "type": ["string", "null"] },
"last_update": { "type": "string", "format": "date-time" },
"ports": { "type": "array", "items": { "type": "integer" } },
"vulns": { "type": "array", "items": { "type": "string" } },
"tags": { "type": "array", "items": { "type": "string" } },
"data": {
"type": "array",
"items": { "$ref": "shodan-rest-banner-schema.json" }
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/shodan-rest-host"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.