Get Domain Keywords
bukvarix_get_domain_keywordsRetrieve the keywords a domain or subdomain ranks for in Yandex or Google, including regional search positions, to support SEO and competitor keyword research.
Instructions
Get keywords for a specific domain or subdomain.
This tool retrieves keywords that the domain ranks for in search engines (Yandex or Google). You can specify domain or subdomain (without protocol). Cyrillic domains (.рф, .укр) are supported.
Args:
domain (string, required): Domain or subdomain without protocol. Examples: "example.com", "subdomain.example.com", "кто.рф" Must match regex: /^[a-zA-Z0-9а-яёА-ЯЁ.-]+$/ Do NOT include: http://, https://, www., paths, or query parameters
region (string, optional): Search engine region. Default: 'msk' (Moscow Yandex). Available regions: msk, gmsk, spb, rus, nsk, ekb, kzn, nnv, kry, che, sam, ufa, rnd, krr, oms, vrn, prm, vlg, sar, tmn, tom, gkiev, minsk, gminsk, nursul Format: lowercase code (e.g., 'msk', 'spb', 'rus', 'gmsk')
num (number, optional): Number of results to return. Range: 1-1,000,000. Default: 250.
format ('txt' | 'json' | 'csv' | 'tsv', optional): Output format. Default: 'json'.
result_count (boolean, optional): If true, return only total count. Default: false.
Returns: Response format depends on 'format' and 'result_count' parameters.
If result_count=true:
Text: "Total keywords found for {domain}: {count}"
Structured: { "total": number, "domain": string }
If result_count=false and format='json': { "data": [ [keyword, words_count, chars_count, search_results_count, broad_frequency, exact_frequency, position], ... ] } Where array indices:
[0]: keyword (string) - Keyword phrase
[1]: words_count (number) - Number of words in phrase
[2]: chars_count (number) - Number of characters
[3]: search_results_count (number) - Search results count in Yandex/Google
[4]: broad_frequency (number) - Broad frequency worldwide
[5]: exact_frequency (number) - Exact frequency worldwide
[6]: position (number) - Position in search results (1-based)
Examples:
"Get keywords for wildberries.ru" -> { domain: "wildberries.ru", num: 50 }
"Find keywords for subdomain" -> { domain: "shop.example.com" }
"Get keywords for SPb region" -> { domain: "example.com", region: "spb" }
"Count only" -> { domain: "example.com", result_count: true }
"Cyrillic domain" -> { domain: "кто.рф" } (automatically encoded)
Error Handling:
400: "Error: Invalid request" - Domain format incorrect (includes protocol/path)
401: "Error: Authentication failed" - Check BUKVARIX_API_KEY
402: "Error: Limit exceeded" - Reduce 'num' parameter
429: "Error: Rate limit exceeded" - Wait before retrying
Other errors: See bukvarix_search_keywords error handling
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": {
"domain": "<domain>"
},
"name": "bukvarix_get_domain_keywords"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| num | No | Количество строк в отчете (по умолчанию 250, максимум 1000000) | |
| domain | Yes | Домен или поддомен (без протокола, например: example.com или subdomain.example.com) | |
| format | No | Формат данных: 'txt' (список), 'json' (массив), 'csv' (точка с запятой), 'tsv' (табуляция) | json |
| region | No | Регион поисковой машины (по умолчанию: msk - Москва Яндекс) | |
| result_count | No | Если true, вернуть только общее количество результатов без данных |