https://api.nexscope.ai/aliexpress/productSearchRun this API
Send a JSON request to execute this API and receive the documented response payload.
Endpoint
| Method | POST |
| Path | https://api.nexscope.ai/aliexpress/productSearch |
| Auth | Bearer API key |
| Content-Type | application/json |
Request parameters
| Name | Type | Required | Description |
|---|---|---|---|
keyword | string | required | required string, up to 120 normalized characters |
pageNum | integer | optional | integer 1β20, default 1 |
limit | integer | optional | integer 1β100, default 20. |
Response example
Platform response envelope. code 0 indicates success or acceptance; data contains the business result.
{
"code": 0,
"data": {
"taskId": "TASK_ID",
"status": "SUBMITTING",
"result": null,
"usage": {
"billingStatus": "PENDING",
"chargedCredits": 0
},
"error": null
}
}Response fields
| Name | Type | Required | Description |
|---|---|---|---|
code | integer | optional | 0 means the tool call succeeded; nonzero is a Nexscope error. |
msg | string | null | optional | Msg value used by this API operation. |
data | object | null | optional | Data value used by this API operation. |
data.taskId | string | required | Use this identifier with the corresponding AliExpress MCP task result tool. |
data.status | string | required | The current task state; a successful tool call does not mean collection has finished. |
data.result | any | optional | Provider result when available; null while pending or when no verified result exists. |
data.usage | object | required | Usage value used by this API operation. |
data.usage.billingStatus | string | optional | Billing status value used by this API operation. |
data.usage.chargedCredits | integer | optional | Charged credits value used by this API operation. |
data.error | string | null | optional | Error value used by this API operation. |
ts | integer | optional | Ts value used by this API operation. |
time | string | optional | Time value used by this API operation. |
cost | integer | optional | Cost value used by this API operation. |
traceId | string | null | optional | Trace id 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 or invalid API key (code 11209, including an incomplete or corrupted copy) or an expired website login session (code 12001), 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.