{
  "opencollection": "1.0.0",
  "info": {
    "name": "Shodan Trends API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "key",
      "value": "{{key}}",
      "placement": "query"
    }
  },
  "items": [
    {
      "info": {
        "name": "Trends",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Search Historical Trends",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://trends.shodan.io/api/v1/search",
            "params": [
              {
                "name": "query",
                "value": "",
                "type": "query",
                "description": "Historical Shodan search query (e.g. `product:nginx`)."
              },
              {
                "name": "facets",
                "value": "",
                "type": "query",
                "description": "Comma-separated facets with optional size suffix (e.g. `country:10`)."
              }
            ]
          },
          "docs": "Return monthly counts and faceted aggregations for a historical Shodan search."
        }
      ]
    }
  ],
  "bundled": true
}