DefensX icon

DefensX

Call DefensX Partner API endpoints.

Actions47

Stats → Get Top 20 visited categories

AI-generated

Summary

Fetches the top 20 most visited categories for a customer from the DefensX Partner API. You can filter the results by source and date range.

Inputs

  • Customer ID (required) — Customer whose category statistics to retrieve.
  • source — Optional source filter. By default, the API uses browser URL logs; DNS requests from fat clients are not logged except in clientless deployments.
  • Start Date — Beginning of the reporting window, in JSON datetime or Unix timestamp format. Defaults to the beginning of the month.
  • End Date — End of the reporting window, in JSON datetime or Unix timestamp format. 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

One n8n item per element when the response is an array, or a single item containing the response otherwise; raw mode always returns one item.

The API endpoint returns up to 20 visited categories. In one-item-per-element mode, primitive array elements are wrapped in a value field. Raw mode returns an object response directly, or wraps a non-object response in an items field.

Links

Discussion