capabilities.work

Historical Trends vs Live Exposure

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

Recipe · 2 steps

Historical Trends vs Live Exposure

with Shodan

Compare a query's historical trend to its current live count.

  1. Retrieve the monthly counts and faceted aggregations for the query from the Trends API.
  2. Retrieve the current live count for the same query without consuming query credits.
What you'll need to have ready
  • apiKey: Shodan API key passed as the `key` query parameter.
  • query: The historical Shodan search query (e.g. "product:nginx").
  • facets: Comma-separated facets with optional size suffix (e.g. "country:10").
For your developer

Arazzo workflow shodan:trends-vs-live, 2 operations: searchTrends → getHostCount. Specs on APIs.io.