Mercado Product Selection API

REST API and MCP service documentation generated from server-side API definitions. Responses shown here are the direct payload returned by each API execution.

API selector
Product & Market Research

API overview

Research Mercado Libre products, categories, trends, sellers, keywords, reviews, exchange rates, and plan usage across five country sites.

Try this API
Endpoint
https://api.nexscope.ai/api/skill-api/v1/skills/mercado-product-selection/run
MCP method
nexscope_mercado_product_selection

Authentication

All run endpoints require a user API key. Send it as a bearer token in the Authorization header.

Authorization: Bearer nk_xxxxxxxxxxxxxxxxx
Missing or invalid API keys return an authentication error. Manage keys from .
POSThttps://api.nexscope.ai/api/skill-api/v1/skills/mercado-product-selection/run

Run an API

toolName must be one of the 24 documented values. Required argument fields depend on toolName.

Slugmercado-product-selection
HeadersAuthorization: Bearer nk_...
Content-Type: application/json
Request bodyAPI-specific JSON object.
Response bodyDirect API response payload. No data/result wrapper is added.

Status codes

CodeDescription
200API executed successfully. Body is the direct response payload.
400Request JSON or required API parameters are invalid.
401API key is missing, invalid, or cannot be matched to a user.
5xxAPI execution or upstream service failed.

Example request

curl -X POST https://api.nexscope.ai/api/skill-api/v1/skills/mercado-product-selection/run \
  -H "Authorization: Bearer nk_xxxxxxxxxxxxxxxxx" \
  -H "Content-Type: application/json" \
  -d '{   "toolName": "categorySearch",   "arguments": {     "siteId": "MLM",     "searchText": "Auriculares"   } }'
All categories/ Product & Market Research
POSThttps://api.nexscope.ai/api/skill-api/v1/skills/mercado-product-selection/run

Run this API

Send a JSON request to execute this API and receive the direct response payload.

Open tester

Endpoint

MethodPOST
Pathhttps://api.nexscope.ai/api/skill-api/v1/skills/mercado-product-selection/run
AuthBearer API key
Content-Typeapplication/json

Request body

NameTypeRequiredDescription
toolNamestringrequired
Exact Mercado tool name.
Example: categorySearch
argumentsobjectrequired
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.

NameTypeRequiredDescription
codestringoptional
Nexscope wrapper status code.
Example: 200
msgstringoptional
Nexscope wrapper status message.
Example: ok
errcodeintegeroptional
Gateway business status code.
Example: 200
errmsgstringoptional
Gateway business status message.
Example: ok
typestringoptional
Provider result type.
Example: rawMcpToolResult
toolNamestringoptional
Executed Mercado tool name.
Example: categorySearch
chargedbooleanoptional
Whether the selected tool is paid.
Example: false
dataobjectoptional
Parsed business data, or provider text when the result is not JSON.
Example: {}
contentTextstringoptional
Original concatenated provider text.
Example: Category results...
textParsedAsJsonbooleanoptional
Whether provider text was parsed as JSON.
Example: true
totalintegeroptional
Inferred result count when available.
Example: 1
costTokenintegeroptional
Provider-reported token cost; free tools return zero.
Example: 0
costTimeintegeroptional
Gateway execution time in milliseconds.
Example: 308
messagestringoptional
Provider-specific message.
titlestringoptional
Provider-specific response title.
sourceTypestringoptional
Provider-specific source platform type.
sourceToolstringoptional
Provider-specific source tool name.
pageintegeroptional
Current page returned by the upstream provider.
pageSizeintegeroptional
Page size returned by the upstream provider.
pageItemCountintegeroptional
Item count on the current page returned by the upstream provider.
totalPageintegeroptional
Total page count returned by the upstream provider.
dataSnapshotMonthstringoptional
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

CodeDescription
200API executed successfully. Body is the direct response payload.
400Request JSON or required API parameters are invalid.
401API key is missing, invalid, or cannot be matched to a user.
5xxAPI 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.

MCP

Use the MCP endpoint when an agent needs to discover and call API tools with JSON-RPC.

GET /api/skill-api/v1/mcp
POST /api/skill-api/v1/mcp
Authorization: Bearer nk_xxxxxxxxxxxxxxxxx
Content-Type: application/json

Call a tool

{
  "jsonrpc": "2.0",
  "id": "tool-call-1",
  "method": "tools/call",
  "params": {
    "name": "nexscope_mercado_product_selection",
    "arguments": {
      "toolName": "categorySearch",
      "arguments": {
        "siteId": "MLM",
        "searchText": "Auriculares"
      }
    }
  }
}

Online test

Execute the current API with your API key and JSON payload.

Try it

Send a real request with the same contract shown in the reference.

Endpoint
https://api.nexscope.ai/api/skill-api/v1/skills/mercado-product-selection/run
MCP method
nexscope_mercado_product_selection
cURL
curl -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 '{ "toolName": "categorySearch", "arguments": { "siteId": "MLM", "searchText": "Auriculares" } }'
Response
No response yet. Run the request to see the response here.