Get shared keywords
get_shared_keywordsThe keywords several pages, folders or whole sites rank for in Google, highest search volume first, with each one's position and ranking page beside it: your page against competing pages, your own pages against each other (cannibalization), or your site against a competitor's. Estimated price: up to $0.05, one market data request for up to 100 keywords, billed by the rows returned. The same comparison and market saved within 12 hours is read free, in any order of the pages, and it opens free on the Shared Keywords page. 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>",
"pages": "<pages>"
},
"name": "get_shared_keywords"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | 'all': keywords every page ranks for on the same results page. 'any': keywords any of them ranks for. | all |
| pages | Yes | 1 to 20 page addresses or folders to compare. A folder ends in /*, and a whole site is its domain with /*, such as 'example.com/*'. Two or more in all, with excludePages. | |
| projectId | Yes | Required. The Visibility Genies project this call works in and is billed to. Call list_projects to find one. | |
| excludePages | No | Up to 10 pages or folders whose keywords are left out, such as your own site to see what only the others share. | |
| 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 | ||
| saved | No | ||
| bought | No | ||
| keywords | No | ||
| savedResultId | No |