Nexscope

Mercado Product Selection

Research Mercado Libre products, sellers, and keywords across five markets.

Cost10 credits / call
POST · https://api.nexscope.ai/api/skill-api/v1/skills/mercado-product-selection/runMCP · nexscope_mercado_product_selection

Choose an integration method

Product & Market Research

What this API does

Validates the selected tool and its required arguments before calling the governed Lingdong gateway.

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

Step 1 of 3 · Authenticate

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 .

Step 2 of 3 · Send a request

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.

Example request

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": {
    "searchText": "Auriculares",
    "siteId": "MLM"
  },
  "toolName": "categorySearch"
}'

Step 3 of 3 · Inspect the result

Check the response

Read code for the request status and data for the result. Open the parameter and response reference for the full field definitions.

HTTP status codes

CodeDescription
200HTTP request completed. Check JSON code; only 0 indicates business success or acceptance.
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.
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 documented response payload.

Endpoint

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

Request parameters

NameTypeRequiredDescription
toolNamestringrequired
Exact Mercado tool name.
Example: categorySearch
argumentsobjectrequired
Arguments for the selected tool.
Example: { "searchText": "Auriculares", "siteId": "MLM" }

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": {
    "charged": false,
    "contentText": "Category results...",
    "costTime": 308,
    "costToken": 0,
    "data": {},
    "textParsedAsJson": true,
    "toolName": "categorySearch",
    "total": 1,
    "type": "rawMcpToolResult"
  },
  "msg": "ok",
  "time": "2026-01-01 00:00:00",
  "traceId": null,
  "ts": "0"
}

Response fields

NameTypeRequiredDescription
codeintegerrequired
0 means accepted or successful; nonzero is a platform error.
coststringrequired
Elapsed milliseconds, never credits; -1 outside web requests.
dataanyrequired
Data value used by this API operation.
msgstring | nullrequired
Msg value used by this API operation.
timestringrequired
Server local time: yyyy-MM-dd HH:mm:ss.
traceIdstring | nullrequired
Trace id value used by this API operation.
tsstringrequired
Epoch milliseconds.

Any of option 1

NameTypeRequiredDescription
dataobjectrequired
Data value used by this API operation.
data.chargedbooleanoptional
Whether the selected tool is paid.
Example: false
data.contentTextstringoptional
Original concatenated provider text.
Example: Category results...
data.costTimeintegeroptional
Gateway execution time in milliseconds.
Example: 308
data.costTokenintegeroptional
Provider-reported token cost; free tools return zero.
Example: 0
data.dataobjectoptional
Parsed business data, or provider text when the result is not JSON.
Example: {}
data.dataSnapshotMonthstringoptional
Data snapshot month returned by the upstream provider.
Example: null
data.pageintegeroptional
Current page returned by the upstream provider.
Example: null
data.pageItemCountintegeroptional
Item count on the current page returned by the upstream provider.
Example: null
data.pageSizeintegeroptional
Page size returned by the upstream provider.
Example: null
data.sourceToolstringoptional
Provider-specific source tool name.
Example: null
data.sourceTypestringoptional
Provider-specific source platform type.
Example: null
data.textParsedAsJsonbooleanoptional
Whether provider text was parsed as JSON.
Example: true
data.titlestringoptional
Provider-specific response title.
Example: null
data.toolNamestringoptional
Executed Mercado tool name.
Example: categorySearch
data.totalintegeroptional
Inferred result count when available.
Example: 1
data.totalPageintegeroptional
Total page count returned by the upstream provider.
Example: null
data.typestringoptional
Provider result type.
Example: rawMcpToolResult

Any of option 2

NameTypeRequiredDescription
datanullrequired
Data value used by this API operation.

Responses

CodeDescription
200HTTP request completed. Check JSON code; only 0 indicates business success or acceptance.
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.

Step 1 of 2 · Connect your MCP client

MCP

V2 recommended

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/json
Authentication

OAuth clients request the mcp:tools scope. The endpoint's 401 response advertises protected-resource metadata for authorization discovery.

Step 2 of 2 · Call the tool

Call a tool

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

Legacy MCP v1

Existing API-key clients can continue using the compatibility endpoint. New integrations should use MCP v2.

GET / POST /api/skill-api/v1/mcp

Online test

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

10 credits / callAPI usage records

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 '{ "arguments": { "searchText": "Auriculares", "siteId": "MLM" }, "toolName": "categorySearch" }'
Response
No response yet. Run the request to see the response here.

Related APIs