Get keyword metrics
get_keyword_metricsHydrate up to 700 known keywords with search volume, keyword difficulty (KD), search intent, CPC, competition, and monthly trends in a single call. Use it to score candidate or known keywords — including Search Console striking-distance queries — by real demand and ranking difficulty. For countries served from Google Ads data (e.g. Iceland), KD and intent are null. Charges credits.
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>",
"keywords": "<keywords>"
},
"name": "get_keyword_metrics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sortBy | No | Sort order for returned rows. Defaults to search_volume. | |
| keywords | Yes | Keywords to fetch metrics for (1-700). | |
| projectId | Yes | Required. The NameIO project ID to scope this call to. Get one from list_projects. | |
| languageCode | No | Language code (e.g. 'en', 'es', 'vi'). Defaults to the project's default market language (see list_projects). | |
| locationCode | No | Location code. Defaults to the project's default market (see list_projects; editable in project settings). Some countries (e.g. Iceland, 2352) are served from Google Ads data: keyword volume/CPC/trends work, but keyword difficulty, search intent, and domain analytics are unavailable. | |
| includeMonthlyTrends | No | Include monthly search-volume trend rows. Defaults to true. | |
| includeClickstreamData | No | Refine search volumes with clickstream data, which disaggregates Google Ads' grouped close-variant volumes (plurals/misspellings). DOUBLES the credit cost of the call. Default false. No effect for countries served from Google Ads data. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| meta | No | ||
| keywords | Yes |