Skip to content
Maua.Culturewire

Shodan

Internet-exposed devices: hosts, ports, banners and CVEs

SecurityCatalog3 tools · 0 triggers

Managed auth

Authentication

Methods your end users can connect with. Credentials are stored encrypted, and secret values are never shown again or returned by the API.

  • API key

    Your users enter

    • API keySecretRequired

    Where to find them

    1. Sign in at account.shodan.io with your account.
    2. In “Overview” copy your “API Key”. The free account barely allows using the API; the plans (Membership, Freelancer…) include monthly query credits: searches with filters and every page from the second one on use one, while looking up a host or counting results (/shodan/host/count) uses none.

    Get credentials (opens in a new tab)

Tools (3)

  • Shodan API requestSHODAN_SEND_REQUEST

    Authenticated call to the Shodan API (https://api.shodan.io). Any endpoint of the API is allowed. Examples: GET /shodan/host/{ip}?minify=true, GET /shodan/host/count?query=org:"…"&facets=port,country (no credits), GET /shodan/host/search?query=hostname:example.com, GET /dns/domain/{domain} (1 credit), GET /dns/resolve?hostnames=a.com,b.com, GET /dns/reverse?ips=…, GET /shodan/host/search/filters, GET /api-info.

    Required scopes

    No scopes required

    Input

    Shodan API request input
    NameTypeDescription
    methodstringHTTP methodOne of: GET, POST, PUT, PATCH, DELETEDefault: "GET"
    pathrequiredstringPath relative to the API base URL, or a full URL on the same API (e.g. a next-page link)
    queryobjectQuery string parameters
    bodyunknownJSON body
    formobjectBody as application/x-www-form-urlencoded instead of JSON
    body_base64stringBinary body, base64 (at most 960000 characters)
    content_typestringContent-Type of body_base64
    headersobjectExtra headers such as Accept. Authentication is added automatically.
  • Host informationSHODAN_GET_HOST

    Ports and services of an IP (product, version, CPE, HTTP title, certificate and banner excerpt), detected CVEs, organization, ASN, location and hostnames. It does not use query credits.

    Required scopes

    No scopes required

    Input

    Host information input
    NameTypeDescription
    iprequiredstringIP address, e.g. 8.8.8.8
    historybooleanAlso include the historical bannersDefault: false
  • SearchSHODAN_SEARCH_HOSTS

    Search with Shodan syntax (hostname:, org:"…", net:, port:, product:, vuln:, ssl.cert.subject.cn:, http.title:…). Uses 1 query credit if it has filters and another one for each page from the 2nd on (100 results per page). Returns the total, the requested facets and the summarized results.

    Required scopes

    No scopes required

    Input

    Search input
    NameTypeDescription
    queryrequiredstringe.g. ssl.cert.subject.cn:example.com port:443
    facetsstringe.g. port,country:10,org
    pageintegerDefault: 1
    maxintegerNumber of results from the page to returnDefault: 50