https://api.nexscope.ai/api/skill-api/v1/skills/mercado-product-selection/runRun this API
Send a JSON request to execute this API and receive the direct response payload.
Endpoint
| Method | POST |
| Path | https://api.nexscope.ai/api/skill-api/v1/skills/mercado-product-selection/run |
| Auth | Bearer API key |
| Content-Type | application/json |
Request body
| Name | Type | Required | Description |
|---|---|---|---|
toolName | string | required | Exact Mercado tool name. Example: categorySearch |
arguments | object | required | Arguments for the selected tool. Example: {
"siteId": "MLM",
"searchText": "Auriculares"
} |
Request example
{
"toolName": "categorySearch",
"arguments": {
"siteId": "MLM",
"searchText": "Auriculares"
}
}Response body
Returns the normalized Lingdong gateway payload directly.
| Name | Type | Required | Description |
|---|---|---|---|
code | string | optional | Nexscope wrapper status code. Example: 200 |
msg | string | optional | Nexscope wrapper status message. Example: ok |
errcode | integer | optional | Gateway business status code. Example: 200 |
errmsg | string | optional | Gateway business status message. Example: ok |
type | string | optional | Provider result type. Example: rawMcpToolResult |
toolName | string | optional | Executed Mercado tool name. Example: categorySearch |
charged | boolean | optional | Whether the selected tool is paid. Example: false |
data | object | optional | Parsed business data, or provider text when the result is not JSON. Example: {} |
contentText | string | optional | Original concatenated provider text. Example: Category results... |
textParsedAsJson | boolean | optional | Whether provider text was parsed as JSON. Example: true |
total | integer | optional | Inferred result count when available. Example: 1 |
costToken | integer | optional | Provider-reported token cost; free tools return zero. Example: 0 |
costTime | integer | optional | Gateway execution time in milliseconds. Example: 308 |
message | string | optional | Provider-specific message. |
title | string | optional | Provider-specific response title. |
sourceType | string | optional | Provider-specific source platform type. |
sourceTool | string | optional | Provider-specific source tool name. |
page | integer | optional | Current page returned by the upstream provider. |
pageSize | integer | optional | Page size returned by the upstream provider. |
pageItemCount | integer | optional | Item count on the current page returned by the upstream provider. |
totalPage | integer | optional | Total page count returned by the upstream provider. |
dataSnapshotMonth | string | optional | Data snapshot month returned by the upstream provider. |
Response example
Direct response payload. No extra wrapper is added.
{
"code": "200",
"msg": "ok",
"errcode": 200,
"errmsg": "ok",
"type": "rawMcpToolResult",
"toolName": "categorySearch",
"charged": false,
"data": {},
"contentText": "Category results...",
"textParsedAsJson": true,
"total": 1,
"costToken": 0,
"costTime": 308
}Responses
| Code | Description |
|---|---|
| 200 | API executed successfully. Body is the direct response payload. |
| 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.