Domain Keywords Comparison
domainKeywordsComparisonAnalyze keyword rankings between two domains. Discover common keywords or uncover keyword gaps where the primary domain outranks the competitor.
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 |
|---|---|---|---|
| source | Yes | Alpha-2 country code of the regional keyword database. | |
| domain | Yes | The primary domain for the analysis. For a keyword gap analysis (`diff=1`), this will be the domain that has the keywords. | |
| compare | Yes | The secondary domain for comparison. For a keyword gap analysis (`diff=1`), this will be the domain that is missing the keywords. | |
| type | No | Specifies whether to compare keywords based on organic search traffic or paid search (advertising) traffic. | organic |
| page | No | For paginated results, specifies the page number of keywords to retrieve. | |
| limit | No | The maximum number of keywords to return per page. | |
| 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. | |
| order_field | No | Specifies the field by which to sort the results. | keyword |
| order_type | No | Specifies the sort order for the results. | asc |