Shodan · Arazzo Workflow

Shodan Resolve Hostname and Inspect Host

Version 1.0.0

Resolve a hostname to an IP and pull the full Shodan host record for that IP.

1 workflow 2 source APIs 1 provider
View Spec View on GitHub SecuritySearchInternetDevicesIoTVulnerabilitiesCVEAttack SurfaceThreat IntelligenceReconnaissanceNetworkDNSScanningPublic APIsArazzoWorkflows

Provider

shodan

Workflows

resolve-and-host-info
Resolve a hostname and inspect the resulting host in Shodan.
Resolves the supplied hostname to an IP address, then retrieves the full host record for that IP including all indexed services and banners.
2 steps inputs: apiKey, history, hostname, resolvedIp outputs: ports, resolution, vulns
1
resolveHostname
Resolve the supplied hostname to its current IP address using the Shodan DNS resolver. The response is a map of hostname to IP address.
2
hostInfo
Look up the full Shodan host record for the resolved IP, returning all services that have been found on the host.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Shodan Resolve Hostname and Inspect Host
  summary: Resolve a hostname to an IP and pull the full Shodan host record for that IP.
  description: >-
    A foundational reconnaissance pattern. The workflow first resolves a
    hostname to its IP address using the DNS resolver, then feeds that IP into
    the host lookup to return every service, banner, and open port Shodan has
    indexed for the address. Every step spells out its request inline so the
    flow can be read and executed without opening the underlying OpenAPI
    description.
  version: 1.0.0
sourceDescriptions:
- name: dnsApi
  url: ../openapi/shodan-dns-api-openapi.yml
  type: openapi
- name: searchMethodsApi
  url: ../openapi/shodan-search-methods-api-openapi.yml
  type: openapi
workflows:
- workflowId: resolve-and-host-info
  summary: Resolve a hostname and inspect the resulting host in Shodan.
  description: >-
    Resolves the supplied hostname to an IP address, then retrieves the full
    host record for that IP including all indexed services and banners.
  inputs:
    type: object
    required:
    - apiKey
    - hostname
    properties:
      apiKey:
        type: string
        description: Shodan API key passed as the `key` query parameter.
      hostname:
        type: string
        description: The hostname to resolve (e.g. "google.com").
      resolvedIp:
        type: string
        description: >-
          The IP returned by the resolve step for the supplied hostname. The
          resolver responds with a map keyed by hostname, so the chosen IP is
          carried forward through this input for the host lookup.
      history:
        type: boolean
        description: Whether to include historical banners in the host record.
        default: false
  steps:
  - stepId: resolveHostname
    description: >-
      Resolve the supplied hostname to its current IP address using the Shodan
      DNS resolver. The response is a map of hostname to IP address.
    operationId: resolveHostnames
    parameters:
    - name: key
      in: query
      value: $inputs.apiKey
    - name: hostnames
      in: query
      value: $inputs.hostname
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      resolution: $response.body
  - stepId: hostInfo
    description: >-
      Look up the full Shodan host record for the resolved IP, returning all
      services that have been found on the host.
    operationId: getHost
    parameters:
    - name: key
      in: query
      value: $inputs.apiKey
    - name: ip
      in: path
      value: $inputs.resolvedIp
    - name: history
      in: query
      value: $inputs.history
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      ip: $response.body#/ip_str
      ports: $response.body#/ports
      hostnames: $response.body#/hostnames
      vulns: $response.body#/vulns
  outputs:
    resolution: $steps.resolveHostname.outputs.resolution
    ports: $steps.hostInfo.outputs.ports
    vulns: $steps.hostInfo.outputs.vulns

Work with this as data

Every workflow 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 arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow 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.
All 92 tools →

Call it yourself

curl for this page
This workflow
curl "https://apis.io/api/v1/arazzo/shodan-resolve-and-host-info-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?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.