Mercado Product Selection API
REST API and MCP service documentation generated from server-side API definitions. Responses use the shared code, msg, and data envelope.
API selector
REST API and MCP service documentation generated from server-side API definitions. Responses use the shared code, msg, and data envelope.
Research Mercado Libre products, categories, trends, sellers, keywords, reviews, exchange rates, and plan usage across five country sites.
https://api.nexscope.ai/api/skill-api/v1/skills/mercado-product-selection/runnexscope_mercado_product_selectionAll run endpoints require a user API key. Send it as a bearer token in the Authorization header.
Authorization: Bearer nk-xxxxxxxxxxxxxxxxxhttps://api.nexscope.ai/api/skill-api/v1/skills/mercado-product-selection/runtoolName must be one of the 24 documented values. Required argument fields depend on toolName.
| Slug | mercado-product-selection |
| Headers | Authorization: Bearer nk-...Content-Type: application/json |
| Request body | API-specific JSON object. |
| Response body | Platform envelope: code, msg, data, ts, time, cost, traceId. Inspect data.status for asynchronous completion. |
| 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. |
Replace YOUR_API_KEY, then run this command in your terminal.
curl -X POST 'https://api.nexscope.ai/api/skill-api/v1/skills/mercado-product-selection/run' \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"arguments": {
"siteId": "MLM",
"searchText": "Auriculares"
},
"toolName": "categorySearch"
}'https://api.nexscope.ai/api/skill-api/v1/skills/mercado-product-selection/runSend a JSON request to execute this API and receive the documented response payload.
| Method | POST |
| Path | https://api.nexscope.ai/api/skill-api/v1/skills/mercado-product-selection/run |
| Auth | Bearer API key |
| Content-Type | application/json |
| 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"
} |
{
"arguments": {
"siteId": "MLM",
"searchText": "Auriculares"
},
"toolName": "categorySearch"
}Platform response envelope. code 0 indicates success or acceptance; data contains the business result.
{
"data": {
"type": "rawMcpToolResult",
"toolName": "categorySearch",
"charged": false,
"data": {},
"contentText": "Category results...",
"textParsedAsJson": true,
"total": 1,
"costToken": 0,
"costTime": 308
},
"code": 0,
"msg": "ok",
"ts": "0",
"time": "2026-01-01 00:00:00",
"cost": "-1",
"traceId": null
}| Name | Type | Required | Description |
|---|---|---|---|
data | any | required | Data value used by this API operation. |
code | integer | required | 0 means accepted or successful; nonzero is a platform error. |
msg | string | null | required | Msg value used by this API operation. |
ts |
| 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. |
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.
Connect remote agents through the standard MCP 2025-11-25 Streamable HTTP endpoint. Use OAuth 2.1 Authorization Code with PKCE, or an API key for compatibility.
POST https://api.nexscope.ai/api/skill-api/v2/mcp
MCP-Protocol-Version: 2025-11-25
Content-Type: application/jsonOAuth clients request the mcp:tools scope. The endpoint's 401 response advertises protected-resource metadata for authorization discovery.
{
"jsonrpc": "2.0",
"id": "tool-call-1",
"method": "tools/call",
"params": {
"name": "nexscope_mercado_product_selection",
"arguments": {
"arguments": {
"siteId": "MLM",
"searchText": "Auriculares"
},
"toolName": "categorySearch"
}
}
}Existing API-key clients can continue using the compatibility endpoint. New integrations should use MCP v2.
GET / POST /api/skill-api/v1/mcpExecute the current API with your API key and JSON payload.
Send a real request with the same contract shown in the reference.
https://api.nexscope.ai/api/skill-api/v1/skills/mercado-product-selection/runnexscope_mercado_product_selectioncurl -X POST \
https://api.nexscope.ai/api/skill-api/v1/skills/mercado-product-selection/run \
-H "Authorization: Bearer nk-..." \
-H "Content-Type: application/json" \
-d '{ "arguments": { "siteId": "MLM", "searchText": "Auriculares" }, "toolName": "categorySearch" }'No response yet. Run the request to see the response here.
string |
| required |
Epoch milliseconds. |
time | string | required | Server local time: yyyy-MM-dd HH:mm:ss. |
cost | string | required | Elapsed milliseconds, never credits; -1 outside web requests. |
traceId | string | null | required | Trace id value used by this API operation. |
| Name | Type | Required | Description |
|---|---|---|---|
data | object | required | Data value used by this API operation. |
data.type | string | optional | Provider result type. Example: rawMcpToolResult |
data.toolName | string | optional | Executed Mercado tool name. Example: categorySearch |
data.charged | boolean | optional | Whether the selected tool is paid. Example: false |
data.data | object | optional | Parsed business data, or provider text when the result is not JSON. Example: {} |
data.contentText | string | optional | Original concatenated provider text. Example: Category results... |
data.textParsedAsJson | boolean | optional | Whether provider text was parsed as JSON. Example: true |
data.total | integer | optional | Inferred result count when available. Example: 1 |
data.costToken | integer | optional | Provider-reported token cost; free tools return zero. Example: 0 |
data.costTime | integer | optional | Gateway execution time in milliseconds. Example: 308 |
data.title | string | optional | Provider-specific response title. Example: null |
data.sourceType | string | optional | Provider-specific source platform type. Example: null |
data.sourceTool | string | optional | Provider-specific source tool name. Example: null |
data.page | integer | optional | Current page returned by the upstream provider. Example: null |
data.pageSize | integer | optional | Page size returned by the upstream provider. Example: null |
data.pageItemCount | integer | optional | Item count on the current page returned by the upstream provider. Example: null |
data.totalPage | integer | optional | Total page count returned by the upstream provider. Example: null |
data.dataSnapshotMonth | string | optional | Data snapshot month returned by the upstream provider. Example: null |
| Name | Type | Required | Description |
|---|---|---|---|
data | null | required | Data value used by this API operation. |