DefensX icon

DefensX

Call DefensX Partner API endpoints.

Actions47

Stats → Get Top 20 visited hostname under a specific category

AI-generated

Summary

Fetches the top 20 visited hostnames for a customer within a specified category. Optionally filter the statistics by source and date range.

Inputs

  • Customer ID (required) — Select the customer whose statistics to retrieve.
  • Category ID (required) — ID of the category to filter hostnames by.
  • source — Optional source filter. By default, browser URL logs are used; DNS requests from fat clients are not logged except in clientless deployments.
  • Start Date — Optional start of the date range, as a JSON datetime or Unix timestamp. Defaults to the beginning of the month.
  • End Date — Optional end of the date range, as a JSON datetime or Unix timestamp. Defaults to the end of the month.
  • Output Mode — Choose one item per element if the API returns an array, or a single item containing the full response. Defaults to one item per element.

Output shape

A list of n8n items derived from the API response, or one item containing the raw response, depending on Output Mode.

In one-item-per-element mode, object elements become item JSON directly; primitive array elements are wrapped in a value field. The request uses the DefensX Partner API and requires DefensX API credentials.

Examples

Example 1: Retrieve hostname statistics for a customer and category

Select the customer and enter the category ID. Optionally set a source and start/end dates to narrow the statistics period.

Links

Discussion