Keywords Trends
Keyword Interest by Demographic MCP
Compare relative search interest in a keyword by age and gender. Call the Keyword Interest by Demographic API via REST or MCP to automate SEO research.
Keyword Interest by Demographic AI Prompts & Use Cases
After connecting this MCP tool to your AI assistant, you can ask the questions below. Replace bracketed placeholders with your own inputs and use the supported values in Arguments.
New to Nexscope MCP? Follow the connection guide, then use the prompts below. The Integration and Parameters & Response tabs contain the connection steps, call example, and technical reference.
1. Compare Search Interest By Demographic
Prompt: Show the US demographic distribution of search interest for [up to five keywords] from [start date] through [end date]. Keep these observations separate from customer or buyer demographics.
2. Separate Age And Gender Interest Patterns
Prompt: Show the US demographic distribution of search interest for [up to five keywords] from [start date] through [end date]. Keep these observations separate from customer or buyer demographics. Create separate age-band and gender-interest tables for each keyword. Preserve source scales and missing segments; do not combine marginal tables into an age-by-gender audience or infer population counts.
3. Compare Keyword Audience Profiles Without Inventing Buyer Counts
Prompt: Retrieve US demographic interest for [two to five keywords] between [start date] and [end date], within 366 days. For each keyword, identify its strongest returned age band and strongest returned gender category, then compare the labels across keywords. Keep scores on their source scales; do not combine age and gender into joint segments or infer absolute audience or customer counts.
What You Need to Provide
This tool supports the US market; do not substitute another country.
Provide no more than 5 keywords.
Choose an inclusive interval of no more than 366 days, beginning on or after January 1, 2004, and ending no later than the request acceptance day.
Missing values are not zero. Interpret only returned evidence within its observation period and sample scope.
Step 1 · Connect
Connect Your AI Assistant
Connect a compatible MCP client to Nexscope, then select this tool from your assistant. Use the connection settings in your client to complete authentication.
POST https://api.nexscope.ai/mcp
MCP-Protocol-Version: 2025-11-25
Content-Type: application/jsonAuthentication
Use OAuth 2.1 Authorization Code with PKCE and the mcp:tools scope. API keys remain supported as a compatibility option.
Authorization: Bearer nk-xxxxxxxxxxxxxxxxxUsing an API key? Get your key from API Access and include it in the Authorization header shown above.
Call this MCP tool
nexscope_seo_keyword_interest_demographicshttps://api.nexscope.ai/mcptools/callInitialize an MCP 2025-11-25 Streamable HTTP session at https://api.nexscope.ai/mcp, then use tools/call.
{
"jsonrpc": "2.0",
"id": "seo-keyword-interest-demographics-1",
"method": "tools/call",
"params": {
"name": "nexscope_seo_keyword_interest_demographics",
"arguments": {
"dateFrom": "2026-01-01",
"dateTo": "2026-01-31",
"keywords": [
"nexscope"
],
"market": "US"
}
}
}MCP 2025-11-25 · Streamable HTTPProgress is delivered on the original POST SSE response. GET SSE carries notifications; reconnecting must query existing asynchronous work rather than submit again.
Arguments
| Name | Type | Required | Description |
|---|---|---|---|
dateFrom | string | required | 2004-01-01 or later; inclusive interval at most 366 days. Format: date |
dateTo | string | required | No later than first acceptance UTC day; replay retains the frozen dates. Format: date |
keywords | array | required | Keywords value used by this API operation. Minimum items: 1 Maximum items: 5 |
keywords[] | string | required | After Unicode trim, NFC and lowercase, 1 to 80 code points and at most ten whitespace-separated words; no control characters. Minimum length: 1 |
market | string | optional | Market value used by this API operation. Constant: US Default: US |
Response fields
Treat structuredContent as the programmatic API response payload.
| Name | Type | Required | Description |
|---|---|---|---|
code | integer | required | 0 is a successful envelope; inspect data.status separately. Allowed: 0, 42008, 42009 |
cost | string | required | Elapsed processing milliseconds; not price. -1 for non-web context. |
data | object | required | Data value used by this API operation. |
data.callId | string | null | optional | Call id value used by this API operation. |
data.completedAt | string | integer | null | optional | Completed at value used by this API operation. |
data.coverage | object | optional | Coverage value used by this API operation. |
data.coverage.missing | array | optional | Missing value used by this API operation. |
data.coverage.missing[] | object | required | Item in data coverage missing. |
data.coverage.missing[].field | string | optional | Field value used by this API operation. |
data.coverage.missing[].reason | string | optional | Reason value used by this API operation. |
data.coverage.status | string | optional | Status value used by this API operation. |
data.requestedAt | string | integer | null | optional | Requested at value used by this API operation. |
data.result | object | null | required | Result value used by this API operation. |
data.result.dateFrom | string | required | Date from value used by this API operation. Format: date |
data.result.dateTo | string | required | Date to value used by this API operation. Format: date |
data.result.inputKeywords | array | required | Input keywords value used by this API operation. Minimum items: 1 Maximum items: 5 |
data.result.inputKeywords[] | string | required | Item in data result inputKeywords. |
data.result.items | array | required | Items value used by this API operation. Minimum items: 0 Maximum items: 5 |
data.result.items[] | object | required | Item in data result items. |
data.result.items[].age | array | required | Age value used by this API operation. Minimum items: 0 Maximum items: 5 |
data.result.items[].age[] | object | required | Item in data result items[] age. |
data.result.items[].age[].band | string | required | Band value used by this API operation. Allowed: 18-24, 25-34, 35-44, 45-54, 55-64 |
data.result.items[].age[].interest | integer | null | required | Interest value used by this API operation. Minimum: 0 Maximum: 100 |
data.result.items[].age[].missing | array | required | Missing value used by this API operation. Minimum items: 0 |
data.result.items[].age[].missing[] | object | required | Item in data result items[] age[] missing. |
data.result.items[].age[].missing[].field | string | required | Field value used by this API operation. |
data.result.items[].age[].missing[].reason | string | required | Reason value used by this API operation. Allowed: UPSTREAM_FIELD_MISSING, UPSTREAM_FIELD_INVALID, DUPLICATE_UPSTREAM_ITEM, UPSTREAM_ITEM_MISSING |
data.result.items[].gender | array | required | Gender value used by this API operation. Minimum items: 0 Maximum items: 2 |
data.result.items[].gender[] | object | required | Item in data result items[] gender. |
data.result.items[].gender[].category | string | required | Category value used by this API operation. Allowed: female, male |
data.result.items[].gender[].interest | integer | null | required | Interest value used by this API operation. Minimum: 0 Maximum: 100 |
data.result.items[].gender[].missing | array | required | Missing value used by this API operation. Minimum items: 0 |
data.result.items[].gender[].missing[] | object | required | Item in data result items[] gender[] missing. |
data.result.items[].gender[].missing[].field | string | required | Field value used by this API operation. |
data.result.items[].gender[].missing[].reason | string | required | Reason value used by this API operation. Allowed: UPSTREAM_FIELD_MISSING, UPSTREAM_FIELD_INVALID, DUPLICATE_UPSTREAM_ITEM, UPSTREAM_ITEM_MISSING |
data.result.items[].keyword | string | required | Keyword value used by this API operation. |
data.result.items[].missing | array | required | Missing value used by this API operation. Minimum items: 0 |
data.result.items[].missing[] | object | required | Item in data result items[] missing. |
data.result.items[].missing[].field | string | required | Field value used by this API operation. |
data.result.items[].missing[].reason | string | required | Reason value used by this API operation. Allowed: UPSTREAM_FIELD_MISSING, UPSTREAM_FIELD_INVALID, DUPLICATE_UPSTREAM_ITEM, UPSTREAM_ITEM_MISSING |
data.result.languageFilter | null | required | Language filter value used by this API operation. |
data.result.marketScope | string | required | Market scope value used by this API operation. Constant: US |
data.result.missing | array | required | Missing value used by this API operation. Minimum items: 0 |
data.result.missing[] | object | required | Item in data result missing. |
data.result.missing[].field | string | required | Field value used by this API operation. |
data.result.missing[].reason | string | required | Reason value used by this API operation. Allowed: UPSTREAM_FIELD_MISSING, UPSTREAM_FIELD_INVALID, DUPLICATE_UPSTREAM_ITEM, UPSTREAM_ITEM_MISSING |
data.result.normalizedKeywords | array | required | Normalized keywords value used by this API operation. Minimum items: 1 Maximum items: 5 |
data.result.normalizedKeywords[] | string | required | Item in data result normalizedKeywords. |
data.result.returnedCount | integer | required | Returned count value used by this API operation. Minimum: 0 |
data.result.sourceKind | string | required | Source kind value used by this API operation. Constant: dataforseo_trends_demographic_relative |
data.result.sourceProduct | string | required | Source product value used by this API operation. Constant: keywords_data |
data.result.truncated | boolean | required | Truncated value used by this API operation. |
data.schemaVersion | string | null | optional | Schema version value used by this API operation. |
data.source | string | null | optional | Source value used by this API operation. |
data.status | string | optional | Status value used by this API operation. Allowed: SUCCESS, PARTIAL, EMPTY, PROCESSING, UNKNOWN, FAILED |
data.usage | object | null | optional | Usage value used by this API operation. |
data.usage.billingStatus | string | null | optional | Billing status value used by this API operation. |
data.usage.chargedCredits | string | integer | null | optional | Charged credits value used by this API operation. |
msg | string | null | required | Available upstream msg/errmsg/message is preferred for success and failure; Chinese is translated to English. Missing successful message is null. Platform-only errors and task states use platform English. Message text never determines success or retry. |
time | string | required | yyyy-MM-dd HH:mm:ss |
traceId | string | null | required | Trace id value used by this API operation. |
ts | string | required | Epoch milliseconds; global long serializer. |
Example Q&A
Based on a published documentation sample, not a live tool call.
Your Question
Show the US demographic distribution of search interest for nike from 2025-01-01 through 2025-06-30. Keep these observations separate from customer or buyer demographics.
Example Answer
For “nike”, the sample gives the 25–34 age group an interest index of 100 and the 18–24 group an index of 75. These are relative-interest indices, not percentages of customers or buyers.
About this sample: Based on a published documentation sample, not a new or live tool call. Preserve its dates, source scope and missing values; sample metrics do not describe current performance. The request below adapts the published input context to the documented MCP argument names; the original REST sample remains separate. Required transport wrapper values (cost, time, traceId and ts) are illustrative additions for schema completeness, not published timings; the result data is preserved.
View the Published Sample Data (JSON)
Published REST data example. Use Parameters & Response for MCP arguments when calling this tool.
Data Example
Sample request and response
Request parameters
{
"dateTo": "2025-06-30",
"dateFrom": "2025-01-01",
"marketScope": "US",
"inputKeywords": [
"nike"
],
"normalizedKeywords": [
"nike"
]
}Response
{
"code": 0,
"msg": null,
"data": {
"usage": {
"billingStatus": "CHARGED",
"chargedCredits": 4
},
"callId": "4fa498ca-6839-4625-a5a3-605be1e83a34",
"result": {
"items": [
{
"age": [
{
"band": "18-24",
"missing": [],
"interest": 75
},
{
"band": "25-34",
"missing": [],
"interest": 100
},
{
"band": "35-44",
"missing": [],
"interest": 89
},
{
"band": "45-54",
"missing": [],
"interest": 58
},
{
"band": "55-64",
"missing": [],
"interest": 24
}
],
"gender": [
{
"missing": [],
"category": "female",
"interest": 100
},
{
"missing": [],
"category": "male",
"interest": 91
}
],
"keyword": "nike",
"missing": []
}
],
"dateTo": "2025-06-30",
"missing": [],
"dateFrom": "2025-01-01",
"truncated": false,
"sourceKind": "dataforseo_trends_demographic_relative",
"marketScope": "US",
"inputKeywords": [
"nike"
],
"returnedCount": 1,
"sourceProduct": "keywords_data",
"languageFilter": null,
"normalizedKeywords": [
"nike"
]
},
"source": "dataforseo",
"status": "SUCCESS",
"coverage": {
"status": "COMPLETE",
"missing": []
},
"completedAt": 1789953266200,
"requestedAt": 1789953260985,
"schemaVersion": "MDX-F1-KW-15-1.0"
}
}View the MCP Request & Response Format
Examples
Based on a published documentation sample, not a live tool call.
The JSON-RPC envelope below illustrates how the shown arguments and payload fit into MCP. It is not captured network traffic or proof of a successful call. Workflow-only examples do not include a result.
MCP Request
{
"jsonrpc": "2.0",
"id": "seo-keyword-interest-demographics-example",
"method": "tools/call",
"params": {
"name": "nexscope_seo_keyword_interest_demographics",
"arguments": {
"dateTo": "2025-06-30",
"dateFrom": "2025-01-01",
"keywords": [
"nike"
],
"market": "US"
}
}
}MCP Response Format
{
"jsonrpc": "2.0",
"id": "seo-keyword-interest-demographics-example",
"result": {
"content": [
{
"type": "text",
"text": "{\"code\":0,\"msg\":null,\"data\":{\"usage\":{\"billingStatus\":\"CHARGED\",\"chargedCredits\":4},\"callId\":\"4fa498ca-6839-4625-a5a3-605be1e83a34\",\"result\":{\"items\":[{\"age\":[{\"band\":\"18-24\",\"missing\":[],\"interest\":75},{\"band\":\"25-34\",\"missing\":[],\"interest\":100},{\"band\":\"35-44\",\"missing\":[],\"interest\":89},{\"band\":\"45-54\",\"missing\":[],\"interest\":58},{\"band\":\"55-64\",\"missing\":[],\"interest\":24}],\"gender\":[{\"missing\":[],\"category\":\"female\",\"interest\":100},{\"missing\":[],\"category\":\"male\",\"interest\":91}],\"keyword\":\"nike\",\"missing\":[]}],\"dateTo\":\"2025-06-30\",\"missing\":[],\"dateFrom\":\"2025-01-01\",\"truncated\":false,\"sourceKind\":\"dataforseo_trends_demographic_relative\",\"marketScope\":\"US\",\"inputKeywords\":[\"nike\"],\"returnedCount\":1,\"sourceProduct\":\"keywords_data\",\"languageFilter\":null,\"normalizedKeywords\":[\"nike\"]},\"source\":\"dataforseo\",\"status\":\"SUCCESS\",\"coverage\":{\"status\":\"COMPLETE\",\"missing\":[]},\"completedAt\":1789953266200,\"requestedAt\":1789953260985,\"schemaVersion\":\"MDX-F1-KW-15-1.0\"},\"cost\":\"-1\",\"time\":\"2026-01-01 00:00:01\",\"traceId\":null,\"ts\":\"1767225601000\"}"
}
],
"structuredContent": {
"code": 0,
"msg": null,
"data": {
"usage": {
"billingStatus": "CHARGED",
"chargedCredits": 4
},
"callId": "4fa498ca-6839-4625-a5a3-605be1e83a34",
"result": {
"items": [
{
"age": [
{
"band": "18-24",
"missing": [],
"interest": 75
},
{
"band": "25-34",
"missing": [],
"interest": 100
},
{
"band": "35-44",
"missing": [],
"interest": 89
},
{
"band": "45-54",
"missing": [],
"interest": 58
},
{
"band": "55-64",
"missing": [],
"interest": 24
}
],
"gender": [
{
"missing": [],
"category": "female",
"interest": 100
},
{
"missing": [],
"category": "male",
"interest": 91
}
],
"keyword": "nike",
"missing": []
}
],
"dateTo": "2025-06-30",
"missing": [],
"dateFrom": "2025-01-01",
"truncated": false,
"sourceKind": "dataforseo_trends_demographic_relative",
"marketScope": "US",
"inputKeywords": [
"nike"
],
"returnedCount": 1,
"sourceProduct": "keywords_data",
"languageFilter": null,
"normalizedKeywords": [
"nike"
]
},
"source": "dataforseo",
"status": "SUCCESS",
"coverage": {
"status": "COMPLETE",
"missing": []
},
"completedAt": 1789953266200,
"requestedAt": 1789953260985,
"schemaVersion": "MDX-F1-KW-15-1.0"
},
"cost": "-1",
"time": "2026-01-01 00:00:01",
"traceId": null,
"ts": "1767225601000"
},
"isError": false
}
}