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. |
Code example
{
"arguments": {
"searchText": "Auriculares",
"siteId": "MLM"
},
"toolName": "categorySearch"
}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 |
|---|---|---|---|
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 | 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.