Compare domains
compare_domainsPuts 2 to 5 domains side by side in one market: organic traffic and keywords (each domain's Domain Overview totals), paid search traffic and keywords, and each domain's ranking changes (keywords new, up, down and lost in the last check). Estimated price: up to $0.15 for 5 domains, up to $0.08 for 2: one request for the traffic of all of them and one for each domain's totals. Totals saved within 12 hours, here, on Domain Overview or by get_domain_overview, are read free, and so is a comparison saved within 12 hours. It opens free on the Compare Domains page; get_saved_domain_comparison reads it without buying. Each call may spend up to the workspace's agent spend limit ($2.00 unless changed in Settings) without asking: it holds at most its estimate plus a margin while it runs and is charged what it bought, never more. A call whose maximum is above the limit is refused before anything is bought, with its estimate and maximum: ask the user, then call again with approvedMaxCostUsd set to the amount they approved.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"projectId": "<projectId>",
"domains": "<domains>"
},
"name": "compare_domains"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domains | Yes | 2 to 5 domains to compare, e.g. ['example.com', 'example.org'], usually the project's own first. | |
| projectId | Yes | Required. The Visibility Genies project this call works in and is billed to. Call list_projects to find one. | |
| languageCode | No | Language code such as en, es or vi. When left out, the language of the project's default market is used (see list_projects). | |
| locationCode | No | Market location code, for example 2840 for the United States. When left out, the project's default market is used (shown by list_projects and changed in project settings). A few countries, Iceland (2352) among them, only have Google Ads data: search volume, CPC and trends are available there, but keyword difficulty, search intent and domain analytics are not. | |
| approvedMaxCostUsd | No | The most, in USD, the user approved for this call after seeing its estimate and maximum. Only needed after a call was refused for costing more than the workspace's agent spend limit; never set it without asking the user. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cost | No | ||
| meta | No | ||
| rows | No | ||
| saved | No | ||
| domains | No | ||
| savedResultId | No |