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
Response field reference (14 fields)
| Name | Type | Required | Description |
|---|---|---|---|
costToken | integer | optional | Number of tokens consumed |
salesEstimateList | array | optional | Sales estimate result list |
asin | string | optional | Query ASIN |
id | string | optional | Data point identification |
type | string | optional | Resource type, fixed value `sales_estimate_result` |
parentAsin | string | optional | Parent ASIN (returned in variant scenarios) |
isParent | boolean | optional | Is it a parent product? |
isVariant | boolean | optional | Whether it is a variant product |
isStandalone | boolean | optional | Whether it is an independent product (non-variant) |
variants | array | optional | An array of variant ASINs under this parent |
dailyEstimates | array | optional | Array of daily estimated data |
date | string | optional | Data date (YYYY-MM-DD) |
estimatedUnitsSold | integer | optional | Estimated number of pieces sold on the day |
lastKnownPrice | number | optional | Last known price (USD) |
Responses
| Code | Description |
|---|---|
| 200 | HTTP request completed. Check JSON code; only 0 indicates business success or acceptance. |
| 400 | Request JSON or required API parameters are invalid. |
| 401 | API key is missing, invalid, or cannot be matched to a user. |
| 5xx | API execution or upstream service failed. |
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.