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.
A 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…
databasestring
Required
Regional database for the query. Refer to `DatabaseEnum` or SEMrush documentation for a complete list.
display_datestring
Report date in YYYYMM15 format (e.g., '20231015') for historical/current data. Latest data used if omitted.
display_sortstring
Sorting criteria: 'columnName_direction' (e.g., 'p0_desc'). See `DomainVsDomainSortOrder` for options.
display_limitinteger
Maximum number of keywords to return. Use with `display_offset` for pagination of large datasets (up to 100,000 results per call is typical).
export_decodeinteger
Controls if the response is URL-decoded. 1: decode response; 0: return URL-encoded string.
export_escapeinteger
Controls if special characters in output are escaped. 1: escape (columns wrapped in \"\"); 0: no escaping.
display_filterarray
List of column codes from `DomainVsDomainFilterType` to filter results. Behavior is API-specific.
display_offsetinteger
Number 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_columnsarray
Columns to include in the report. All default columns are returned if empty. See `DomainVsDomainExportColumns` for codes.
Observable output
data
Required
Data from the action execution
errorstring
Error if any occurred during the execution of the action
successfulboolean
Required
Whether or not the action execution was successful or not