Analyzes keyword rankings by comparing up to five domains to find common, unique, or gap keywords, using specified organic/paid types and comparison logic in the `domains` string.
domainsRequiredstringA URL-encoded string specifying the domains to compare and the comparison logic, separated by the '|' symbol. Each domain entry follows the format: <sign>|<type>|<domain>. Up to five domains can be compared. <sign>: Operation type (+, -, *, /). <type>: Keyword type ('or' for org…
databaseRequiredstringRegional database for the query. Refer to `DatabaseEnum` or SEMrush documentation for a complete list.
display_datestringReport date in YYYYMM15 format (e.g., '20231015') for historical/current data. Latest data used if omitted.
display_sortstringSorting criteria: 'columnName_direction' (e.g., 'p0_desc'). See `DomainVsDomainSortOrder` for options.
display_limitintegerMaximum number of keywords to return. Use with `display_offset` for pagination of large datasets (up to 100,000 results per call is typical).
export_decodeintegerControls if the response is URL-decoded. 1: decode response; 0: return URL-encoded string.
export_escapeintegerControls if special characters in output are escaped. 1: escape (columns wrapped in \"\"); 0: no escaping.
display_filterarrayList of column codes from `DomainVsDomainFilterType` to filter results. Behavior is API-specific.
display_offsetintegerNumber of initial results to skip for pagination with `display_limit`. For instance, `display_offset=10000` and `display_limit=10000` retrieves results 10,001-20,000.
export_columnsarrayColumns to include in the report. All default columns are returned if empty. See `DomainVsDomainExportColumns` for codes.
dataRequiredData from the action execution
errorstringError if any occurred during the execution of the action
successfulRequiredbooleanWhether or not the action execution was successful or not
API key connection. Risk level 2 of 5.
Free Action