https://api.nexscope.ai/js/sales-estimates/queryRun this API
Send a JSON request to execute this API and receive the documented response payload.
Endpoint
| Method | POST |
| Path | https://api.nexscope.ai/js/sales-estimates/query |
| Auth | Bearer API key |
| Content-Type | application/json |
Request parameters
| Name | Type | Required | Description |
|---|---|---|---|
marketplace | string | required | Target market code. Optional values: `us`, `uk`, `de`, `in`, `ca`, `fr`, `it`, `es`, `mx`, `jp` Example: us |
asin | string | required | Amazon ASIN to query |
startDate | string | required | Start date (format: YYYY-MM-DD) |
endDate | string | required | End date (format: YYYY-MM-DD); must be before the current date |
Code example
{
"asin": "B0CXXX1234",
"endDate": "2026-03-31",
"marketplace": "us",
"startDate": "2026-03-01"
}Response example
Platform response envelope. code 0 indicates success or acceptance; data contains the business result.
{
"code": 0,
"cost": "-1",
"data": {},
"msg": null,
"time": "2026-01-01 00:00:00",
"traceId": null,
"ts": "0"
}Response fields
| Name | Type | Required | Description |
|---|---|---|---|
code | integer | required | 0 means accepted or successful; nonzero is a platform error. |
cost | string | required | Elapsed milliseconds, never credits; -1 outside web requests. |
data | any | required | Data value used by this API operation. |
msg | string | null | required | Msg value used by this API operation. |
time | string | required | Server local time: yyyy-MM-dd HH:mm:ss. |
traceId | string | null | required | Trace id value used by this API operation. |
ts | string | required | Epoch milliseconds. |
Any of option 1
| Name | Type | Required | Description |
|---|---|---|---|
data | object | required | Data value used by this API operation. |
data.asin | any | optional | Asin value used by this API operation. |
data.costTime | any | optional | Cost time value used by this API operation. |
data.costToken | any | optional | Cost token value used by this API operation. |
data.dailyEstimates | any | optional | Daily estimates value used by this API operation. |
data.dataSnapshotMonth | any | optional | Data snapshot month value used by this API operation. |
data.date | any | optional | Date value used by this API operation. |
data.estimatedUnitsSold | any | optional | Estimated units sold value used by this API operation. |
data.id | any | optional | Id value used by this API operation. |
data.isParent | any | optional | Is parent value used by this API operation. |
data.isStandalone | any | optional | Is standalone value used by this API operation. |
data.isVariant | any | optional | Is variant value used by this API operation. |
data.lastKnownPrice | any | optional | Last known price value used by this API operation. |
data.page | any | optional | Page value used by this API operation. |
data.pageItemCount | any | optional | Page item count value used by this API operation. |
data.pageSize | any | optional | Page size value used by this API operation. |
data.parentAsin | any | optional | Parent asin value used by this API operation. |
data.salesEstimateList | any | optional | Sales estimate list value used by this API operation. |
data.sourceTool | any | optional | Source tool value used by this API operation. |
data.sourceType | any | optional | Source type value used by this API operation. |
data.title | any | optional | Title value used by this API operation. |
data.totalPage | any | optional | Total page value used by this API operation. |
data.type | any | optional | Type value used by this API operation. |
data.variants | any | optional | Variants value used by this API operation. |
Any of option 1
| Name | Type | Required | Description |
|---|---|---|---|
data.asin | string | optional | Query ASIN Example: null |
Any of option 2
| Name | Type | Required | Description |
|---|---|---|---|
data.asin | null | optional | Asin value used by this API operation. |
Any of option 1
| Name | Type | Required | Description |
|---|---|---|---|
data.costTime | integer | optional | Execution time reported by the upstream provider. Example: null |
Any of option 2
| Name | Type | Required | Description |
|---|---|---|---|
data.costTime | null | optional | Cost time value used by this API operation. |
Any of option 1
| Name | Type | Required | Description |
|---|---|---|---|
data.costToken | integer | optional | Number of tokens consumed Example: null |
Any of option 2
| Name | Type | Required | Description |
|---|---|---|---|
data.costToken | null | optional | Cost token value used by this API operation. |
Any of option 1
| Name | Type | Required | Description |
|---|---|---|---|
data.dailyEstimates | array | optional | Array of daily estimated data Example: null |
Any of option 2
| Name | Type | Required | Description |
|---|---|---|---|
data.dailyEstimates | null | optional | Daily estimates value used by this API operation. |
Any of option 1
| Name | Type | Required | Description |
|---|---|---|---|
data.dataSnapshotMonth | string | optional | Data snapshot month returned by the upstream provider. Example: null |
Any of option 2
| Name | Type | Required | Description |
|---|---|---|---|
data.dataSnapshotMonth | null | optional | Data snapshot month value used by this API operation. |
Any of option 1
| Name | Type | Required | Description |
|---|---|---|---|
data.date | string | optional | Data date (YYYY-MM-DD) Example: null |
Any of option 2
| Name | Type | Required | Description |
|---|---|---|---|
data.date | null | optional | Date value used by this API operation. |
Any of option 1
| Name | Type | Required | Description |
|---|---|---|---|
data.estimatedUnitsSold | integer | optional | Estimated number of pieces sold on the day Example: null |
Any of option 2
| Name | Type | Required | Description |
|---|---|---|---|
data.estimatedUnitsSold | null | optional | Estimated units sold value used by this API operation. |
Any of option 1
| Name | Type | Required | Description |
|---|---|---|---|
data.id | string | optional | Data point identification Example: null |
Any of option 2
| Name | Type | Required | Description |
|---|---|---|---|
data.id | null | optional | Id value used by this API operation. |
Any of option 1
| Name | Type | Required | Description |
|---|---|---|---|
data.isParent | boolean | optional | Is it a parent product? Example: null |
Any of option 2
| Name | Type | Required | Description |
|---|---|---|---|
data.isParent | null | optional | Is parent value used by this API operation. |
Any of option 1
| Name | Type | Required | Description |
|---|---|---|---|
data.isStandalone | boolean | optional | Whether it is an independent product (non-variant) Example: null |
Any of option 2
| Name | Type | Required | Description |
|---|---|---|---|
data.isStandalone | null | optional | Is standalone value used by this API operation. |
Any of option 1
| Name | Type | Required | Description |
|---|---|---|---|
data.isVariant | boolean | optional | Whether it is a variant product Example: null |
Any of option 2
| Name | Type | Required | Description |
|---|---|---|---|
data.isVariant | null | optional | Is variant value used by this API operation. |
Any of option 1
| Name | Type | Required | Description |
|---|---|---|---|
data.lastKnownPrice | number | optional | Last known price (USD) Example: null |
Any of option 2
| Name | Type | Required | Description |
|---|---|---|---|
data.lastKnownPrice | null | optional | Last known price value used by this API operation. |
Any of option 1
| Name | Type | Required | Description |
|---|---|---|---|
data.page | integer | optional | Current page returned by the upstream provider. Example: null |
Any of option 2
| Name | Type | Required | Description |
|---|---|---|---|
data.page | null | optional | Page value used by this API operation. |
Any of option 1
| Name | Type | Required | Description |
|---|---|---|---|
data.pageItemCount | integer | optional | Item count on the current page returned by the upstream provider. Example: null |
Any of option 2
| Name | Type | Required | Description |
|---|---|---|---|
data.pageItemCount | null | optional | Page item count value used by this API operation. |
Any of option 1
| Name | Type | Required | Description |
|---|---|---|---|
data.pageSize | integer | optional | Page size returned by the upstream provider. Example: null |
Any of option 2
| Name | Type | Required | Description |
|---|---|---|---|
data.pageSize | null | optional | Page size value used by this API operation. |
Any of option 1
| Name | Type | Required | Description |
|---|---|---|---|
data.parentAsin | string | optional | Parent ASIN (returned in variant scenarios) Example: null |
Any of option 2
| Name | Type | Required | Description |
|---|---|---|---|
data.parentAsin | null | optional | Parent asin value used by this API operation. |
Any of option 1
| Name | Type | Required | Description |
|---|---|---|---|
data.salesEstimateList | array | optional | Sales estimate result list Example: null |
Any of option 2
| Name | Type | Required | Description |
|---|---|---|---|
data.salesEstimateList | null | optional | Sales estimate list value used by this API operation. |
Any of option 1
| Name | Type | Required | Description |
|---|---|---|---|
data.sourceTool | string | optional | Provider-specific source tool name. Example: null |
Any of option 2
| Name | Type | Required | Description |
|---|---|---|---|
data.sourceTool | null | optional | Source tool value used by this API operation. |
Any of option 1
| Name | Type | Required | Description |
|---|---|---|---|
data.sourceType | string | optional | Provider-specific source platform type. Example: null |
Any of option 2
| Name | Type | Required | Description |
|---|---|---|---|
data.sourceType | null | optional | Source type value used by this API operation. |
Any of option 1
| Name | Type | Required | Description |
|---|---|---|---|
data.title | string | optional | Provider-specific response title. Example: null |
Any of option 2
| Name | Type | Required | Description |
|---|---|---|---|
data.title | null | optional | Title value used by this API operation. |
Any of option 1
| Name | Type | Required | Description |
|---|---|---|---|
data.totalPage | integer | optional | Total page count returned by the upstream provider. Example: null |
Any of option 2
| Name | Type | Required | Description |
|---|---|---|---|
data.totalPage | null | optional | Total page value used by this API operation. |
Any of option 1
| Name | Type | Required | Description |
|---|---|---|---|
data.type | string | optional | Resource type, fixed value `sales_estimate_result` Example: null |
Any of option 2
| Name | Type | Required | Description |
|---|---|---|---|
data.type | null | optional | Type value used by this API operation. |
Any of option 1
| Name | Type | Required | Description |
|---|---|---|---|
data.variants | array | optional | An array of variant ASINs under this parent Example: null |
Any of option 2
| Name | Type | Required | Description |
|---|---|---|---|
data.variants | null | optional | Variants value used by this API operation. |
Any of option 2
| Name | Type | Required | Description |
|---|---|---|---|
data | null | required | Data value used by this API operation. |
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.