capabilities.work

Search Builder

A 4-step recipe with Shodan. We can help you get access.

Recipe · 4 steps

Search Builder

with Shodan

Build and validate a Shodan search query against live metadata.

  1. Retrieve the list of filters that can be used when searching.
  2. Retrieve the list of facets that can be used to summarize search results.
  3. Break the candidate query into its filters and tokens to confirm it parses cleanly before spending any credits.
  4. Run a credit-free count to size the result set for the validated query.
What you'll need to have ready
  • apiKey: Shodan API key passed as the `key` query parameter.
  • query: The candidate search query to validate and size.
  • facets: Comma-separated facet definitions to summarize the count by.
For your developer

Arazzo workflow shodan:search-builder, 4 operations: listSearchFilters → listSearchFacets → tokenizeSearchQuery → getHostCount. Specs on APIs.io.