https://api.nexscope.ai/seo/aiMentionDeltasRun this API
Send a JSON request to execute this API and receive the documented response payload.
Endpoint
| Method | POST |
| Path | https://api.nexscope.ai/seo/aiMentionDeltas |
| Auth | Bearer API key |
| Content-Type | application/json |
Request parameters
| Name | Type | Required | Description |
|---|---|---|---|
dateFrom | string | required | Date from value used by this API operation. Format: date |
dateTo | string | required | Date to value used by this API operation. Format: date |
groupRange | string | required | Group range value used by this API operation. Allowed: day, week, month, year |
language | string | optional | Language value used by this API operation. Constant: en Default: en |
market | string | optional | Market value used by this API operation. Constant: US Default: US |
platform | string | optional | Platform value used by this API operation. Allowed: google, chat_gpt Default: google |
target | array | required | Target value used by this API operation. Minimum items: 1 Maximum items: 10 |
target[] | any | required | Item in target. |
One of option 1 — requires kind, domain
| Name | Type | Required | Description |
|---|---|---|---|
target[] | object | required | Item in target. |
target[].domain | string | required | Normalized ASCII hostname at most63 characters. Minimum length: 1 |
target[].includeSubdomains | boolean | optional | Include subdomains value used by this API operation. Default: false |
target[].kind | string | required | Kind value used by this API operation. Constant: DOMAIN |
target[].searchFilter | string | optional | Search filter value used by this API operation. Allowed: include, exclude Default: include |
One of option 2 — requires kind, keyword
| Name | Type | Required | Description |
|---|---|---|---|
target[] | object | required | Item in target. |
target[].keyword | string | required | Trim/NFC/lowercase1..80 code points,max10 words,no ASCII percent or plus. Minimum length: 1 |
target[].kind | string | required | Kind value used by this API operation. Constant: KEYWORD |
target[].matchType | string | optional | Match type value used by this API operation. Allowed: word_match, partial_match Default: word_match |
target[].searchFilter | string | optional | Search filter value used by this API operation. Allowed: include, exclude Default: include |
Code example
{
"dateFrom": "2026-01-01",
"dateTo": "2026-01-31",
"groupRange": "day",
"language": "en",
"market": "US",
"platform": "google",
"target": [
{
"domain": "nexscope.ai",
"includeSubdomains": false,
"kind": "DOMAIN",
"searchFilter": "include"
}
]
}Response example
Example response envelope from the documented SEO API contract.
{
"code": 0,
"cost": "-1",
"data": {
"callId": "synthetic-call",
"completedAt": null,
"coverage": {
"missing": [
{
"field": "synthetic",
"reason": "UPSTREAM_FIELD_MISSING"
}
],
"status": "PARTIAL"
},
"requestedAt": "123",
"result": {
"context": {
"dateFrom": "synthetic",
"dateTo": "synthetic",
"domainSearchScope": "synthetic",
"groupRange": "synthetic",
"inputTargets": [],
"keywordSearchScope": "synthetic",
"measure": "synthetic",
"normalizedTargets": [],
"platform": "synthetic"
},
"items": [
{
"aiSearchVolumeDelta": 9007199254740992,
"date": "synthetic",
"mentionDelta": 9007199254740992,
"missing": [
{
"field": "synthetic",
"reason": "synthetic"
}
]
}
],
"language": "synthetic",
"market": "synthetic",
"missing": [
{
"field": "synthetic",
"reason": "synthetic"
}
],
"returnedCount": 1,
"sourceKind": "synthetic",
"sourceProduct": "synthetic",
"truncated": false
},
"schemaVersion": "synthetic",
"source": "synthetic",
"status": "PARTIAL",
"usage": {
"billingStatus": "UNAPPROVED",
"chargedCredits": "0"
}
},
"msg": null,
"time": "2026-01-01 00:00:00",
"traceId": "synthetic-trace",
"ts": "9007199254740993"
}Response fields
| 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.context | object | required | Context value used by this API operation. |
data.result.context.dateFrom | string | required | Date from value used by this API operation. Format: date |
data.result.context.dateTo | string | required | Date to value used by this API operation. Format: date |
data.result.context.domainSearchScope | string | required | Domain search scope value used by this API operation. Constant: sources |
data.result.context.groupRange | string | required | Group range value used by this API operation. Allowed: day, week, month, year |
data.result.context.inputTargets | array | required | Input targets value used by this API operation. Minimum items: 1 Maximum items: 10 |
data.result.context.inputTargets[] | any | required | Item in data result context inputTargets. |
data.result.context.keywordSearchScope | string | required | Keyword search scope value used by this API operation. Constant: answer |
data.result.context.measure | string | required | Measure value used by this API operation. Constant: provider_adjacent_timestamp_delta |
data.result.context.normalizedTargets | array | required | Normalized targets value used by this API operation. Minimum items: 1 Maximum items: 10 |
data.result.context.normalizedTargets[] | any | required | Item in data result context normalizedTargets. |
data.result.context.platform | string | required | Platform value used by this API operation. Allowed: google, chat_gpt |
data.result.items | array | required | Items value used by this API operation. Minimum items: 0 Maximum items: 366 |
data.result.items[] | object | required | Item in data result items. |
data.result.items[].aiSearchVolumeDelta | integer | null | required | Ai search volume delta value used by this API operation. Minimum: -9007199254740991 |
data.result.items[].date | string | required | Date value used by this API operation. Format: date |
data.result.items[].mentionDelta | integer | null | required | Mention delta value used by this API operation. Minimum: -9007199254740991 |
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.language | string | required | Language value used by this API operation. Constant: en |
data.result.market | string | required | Market 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.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: llm_mentions_database |
data.result.sourceProduct | string | required | Source product value used by this API operation. Constant: ai_optimization |
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. |
One of option 1 — requires kind, domain, searchFilter, includeSubdomains
| Name | Type | Required | Description |
|---|---|---|---|
data.result.context.inputTargets[] | object | required | Item in data result context inputTargets. |
data.result.context.inputTargets[].domain | string | required | Normalized ASCII hostname at most63 characters. Minimum length: 1 |
data.result.context.inputTargets[].includeSubdomains | boolean | required | Include subdomains value used by this API operation. Default: false |
data.result.context.inputTargets[].kind | string | required | Kind value used by this API operation. Constant: DOMAIN |
data.result.context.inputTargets[].searchFilter | string | required | Search filter value used by this API operation. Allowed: include, exclude Default: include |
One of option 2 — requires kind, keyword, searchFilter, matchType
| Name | Type | Required | Description |
|---|---|---|---|
data.result.context.inputTargets[] | object | required | Item in data result context inputTargets. |
data.result.context.inputTargets[].keyword | string | required | Trim/NFC/lowercase1..80 code points,max10 words,no ASCII percent or plus. Minimum length: 1 |
data.result.context.inputTargets[].kind | string | required | Kind value used by this API operation. Constant: KEYWORD |
data.result.context.inputTargets[].matchType | string | required | Match type value used by this API operation. Allowed: word_match, partial_match Default: word_match |
data.result.context.inputTargets[].searchFilter | string | required | Search filter value used by this API operation. Allowed: include, exclude Default: include |
One of option 1 — requires kind, domain, searchFilter, includeSubdomains
| Name | Type | Required | Description |
|---|---|---|---|
data.result.context.normalizedTargets[] | object | required | Item in data result context normalizedTargets. |
data.result.context.normalizedTargets[].domain | string | required | Normalized ASCII hostname at most63 characters. Minimum length: 1 |
data.result.context.normalizedTargets[].includeSubdomains | boolean | required | Include subdomains value used by this API operation. Default: false |
data.result.context.normalizedTargets[].kind | string | required | Kind value used by this API operation. Constant: DOMAIN |
data.result.context.normalizedTargets[].searchFilter | string | required | Search filter value used by this API operation. Allowed: include, exclude Default: include |
One of option 2 — requires kind, keyword, searchFilter, matchType
| Name | Type | Required | Description |
|---|---|---|---|
data.result.context.normalizedTargets[] | object | required | Item in data result context normalizedTargets. |
data.result.context.normalizedTargets[].keyword | string | required | Trim/NFC/lowercase1..80 code points,max10 words,no ASCII percent or plus. Minimum length: 1 |
data.result.context.normalizedTargets[].kind | string | required | Kind value used by this API operation. Constant: KEYWORD |
data.result.context.normalizedTargets[].matchType | string | required | Match type value used by this API operation. Allowed: word_match, partial_match Default: word_match |
data.result.context.normalizedTargets[].searchFilter | string | required | Search filter value used by this API operation. Allowed: include, exclude Default: include |
Accepted processing response
code 0 confirms acceptance. Use data.callId to query the same request; processing is not completion.
| Name | Type | Required | Description |
|---|---|---|---|
code | integer | required | 0 is a successful envelope; inspect data.status separately. Constant: 0 |
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 | required | Call id value used by this API operation. |
data.reason | string | required | Reason value used by this API operation. Constant: IN_PROGRESS |
data.retryable | boolean | optional | Retryable value used by this API operation. |
data.status | string | required | Status value used by this API operation. Constant: PROCESSING |
data.taskId | string | null | optional | Task id 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. |
Error response
| Name | Type | Required | Description |
|---|---|---|---|
code | integer | required | 0 is a successful envelope; inspect data.status separately. |
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 | required | Call id value used by this API operation. |
data.reason | string | null | required | Reason value used by this API operation. |
data.retryable | boolean | optional | Retryable value used by this API operation. |
data.status | string | null | required | Status value used by this API operation. |
data.taskId | string | null | optional | Task id 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. |
Retrieve a processing result
A response with PROCESSING and a callId means the result is still being prepared. Use the result query below with the returned identifier. This lookup reads the stored result and does not spend credits.
curl -X GET https://api.nexscope.ai/seo/aiMentionDeltas/calls/{callId} \
-H "Authorization: Bearer nk-xxxxxxxxxxxxxxxxx"Responses
| Code | Description |
|---|---|
| 200 | Default HTTP response for both success and many business errors. Only outer JSON code 0 indicates success or asynchronous acceptance; inspect data for the result. |
| 429 | Execution admission rate limit; honor Retry-After when present. |
| 503 | Execution admission is temporarily unavailable; honor Retry-After when present. |
| Opt-in | X-Nexscope-Http-Status: semantic maps controller-handled business errors to HTTP status on run and task routes. Pre-authentication failures, such as a missing API key (code 11209), may still return HTTP 200 before this mapping. Always check the outer JSON code; malformed requests and infrastructure failures may also return non-200 HTTP responses. |
Data source, freshness, and limitations
Source, freshness, coverage, rate limits, and estimation notes are not specified in this API definition unless they appear in the request or response field documentation above. Do not assume official marketplace data or real-time freshness when it is not explicitly documented.