https://api.nexscope.ai/mercado/productSelectionRun this API
Send a JSON request to execute this API and receive the documented response payload.
Endpoint
| Method | POST |
| Path | https://api.nexscope.ai/mercado/productSelection |
| Auth | Bearer API key |
| Content-Type | application/json |
Request parameters
| Name | Type | Required | Description |
|---|---|---|---|
toolName | string | required | One of 24 Meike multi-tool names, see table below. |
arguments | object | required | The parameter object of the corresponding tool must be a JSON object and cannot be an array, string or number; the backend will remove `uId`, `uid`, `memberId` and crop empty values. |
Response example
Platform response envelope. code 0 indicates success or acceptance; data contains the business result.
No response example is published for this API. Refer to the response fields below.
Response fields
Response field reference (14 fields)
| Name | Type | Required | Description |
|---|---|---|---|
code | string | optional | Nexscope encapsulation layer status; `"200"` on success. May be omitted in case of business error. |
msg | string | optional | Encapsulation layer message; `"ok"` on success. |
errcode | integer | optional | Gateway status code; if successful, it is `200`, if there is a business error, it is non-`200`. |
errmsg | string | optional | Gateway error or status message. |
type | string | optional | Currently usually `rawMcpToolResult`. |
toolName | string | optional | The name of the tool actually called. |
charged | boolean | optional | Is there a fee for this tool? |
data | string/object/array | optional | Business data unpacked from the MCP text content; most tools return a string. |
rawResponse | object | optional | MCP `tools/call` Raw result; the current gateway usually returns an empty object. |
contentText | string | optional | MCP text content The spliced original text. |
textParsedAsJson | boolean | optional | Whether `contentText` is successfully parsed into JSON; it may also be `true` when the text is wrapped in a JSON string. |
total | integer | optional | Returned when the number of records can be inferred by the backend; omitted when it cannot be inferred, and `null` is not returned. |
costToken | integer | optional | The token cost of this call; the free tool is `0`, and the paid tool is currently `16000`. |
costTime | integer | optional | The backend takes time in milliseconds. |
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.