https://api.nexscope.ai/amazon/alexaSearchRun this API
Send a JSON request to execute this API and receive the documented response payload.
Endpoint
| Method | POST |
| Path | https://api.nexscope.ai/amazon/alexaSearch |
| Auth | Bearer API key |
| Content-Type | application/json |
Request parameters
| Name | Type | Required | Description |
|---|---|---|---|
prompts | string[] | required | An array of dialogue prompts with a length within 255 characters, only 1 is supported; only 1 question can be passed in for each call. When asking across times, the agent needs to summarize the context of the previous round and pass it in as a new `prompts[0]`. |
format | string | optional | Response format: `markdown` returns a readable report; `json` returns a structured data array. Example: markdown |
url | string | optional | A specific category page, search results page, or product detail page URL that is used to supplement the Alexa page context; do not pass the Amazon homepage URL. |
Code example
{
"format": "json",
"prompts": [
"best wireless earbuds for running"
]
}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 (24 fields)
| Name | Type | Required | Description |
|---|---|---|---|
stdout | string | optional | Markdown format Q&A report, returned only when `format=markdown` is used. |
data | array | optional | Array of structured conversation results, returned only if `format=json`. |
resultsNum | integer | optional | The number of conversation turns Alexa actually answered; 0 means no valid answer was produced. |
code | string | optional | Business status code, successful is `"200"`, the same as the numerical version of `errcode`. |
errcode | integer | optional | Business status code, `200` indicates success. |
costTime | integer | optional | The interface takes time in milliseconds. |
costToken | integer | optional | The number of Tokens consumed by this call; billed only if the upstream is successful. |
taskId | string | optional | The task ID returned by the upstream. |
type | string | optional | Rendering style: `stdoutWorkbenches` (Markdown) or `json`. |
prompt | string | optional | The prompt word sent to Alexa for the current round. |
content | string | optional | The text content of Alexa’s answer this round. |
screenshot | string | optional | Link to screenshot of this conversation. |
followUpQuestions | string[] | optional | Alexa recommends a list of follow-up questions. |
products | array | optional | Recommended product group list, each group contains `title` and `items`. |
products[].title | string | optional | Recommended group titles. |
products[].items[].asin | string | optional | Product ASIN. |
products[].items[].title | string | optional | Product title. |
products[].items[].url | string | optional | Product details page URL. |
products[].items[].cover | string | optional | Product cover image URL. |
products[].items[].price | string | optional | Current price, with currency. |
products[].items[].originalPrice | string | optional | Original price or strike-through price. |
products[].items[].score | string | optional | Product ratings. |
products[].items[].ratingsCount | string | optional | Number of reviews. |
products[].items[].describe | string | optional | Product introduction. |
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.