Domain Keywords Comparison
domainKeywordsComparisonCompare keyword rankings between two domains to find shared keywords or uncover keyword gaps where one site ranks but the other does not.
Instructions
Analyzes and compares the keyword rankings of two websites: domain and compare. It can find keywords they have in common or identify a 'keyword gap'—keywords for which the domain ranks, but the compare domain does not.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cols | No | A comma-separated list of specific response parameter names to include in the output. If omitted, a default set of relevant columns is returned for the comparison. | |
| diff | No | Controls the comparison mode. Use `0` to find keywords common to both domains. Use `1` for a keyword gap analysis to find keywords the `domain` ranks for, but the `compare` domain does not. | |
| page | No | For paginated results, specifies the page number of keywords to retrieve. | |
| type | No | Specifies whether to compare keywords based on organic search traffic or paid search (advertising) traffic. | organic |
| limit | No | The maximum number of keywords to return per page. | |
| domain | Yes | The primary domain for the analysis. For a keyword gap analysis (`diff=1`), this will be the domain that has the keywords. | |
| source | Yes | Alpha-2 country code of the regional keyword database. | |
| compare | Yes | The secondary domain for comparison. For a keyword gap analysis (`diff=1`), this will be the domain that is missing the keywords. | |
| order_type | No | Specifies the sort order for the results. | asc |
| order_field | No | Specifies the field by which to sort the results. | keyword |