Mercado Market Intelligence 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 categories, market overviews, product snapshots, sales trends, image matches, and reviews through governed operations.

Try this API
Endpoint
https://api.nexscope.ai/api/skill-api/v1/skills/mercado-market-intelligence/run
MCP method
nexscope_mercado_market_intelligence

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-market-intelligence/run

Run an API

Send a JSON request body using the parameters described below.

Slugmercado-market-intelligence
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-market-intelligence/run \
  -H "Authorization: Bearer nk_xxxxxxxxxxxxxxxxx" \
  -H "Content-Type: application/json" \
  -d '{   "arguments": {     "query": "celulares",     "limit": 10,     "market_code": "MLM"   },   "toolName": "search_categories" }'
All categories/ Product & Market Research
POSThttps://api.nexscope.ai/api/skill-api/v1/skills/mercado-market-intelligence/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-market-intelligence/run
AuthBearer API key
Content-Typeapplication/json

Request body

toolName: search_categories

NameTypeRequiredDescription
toolNamestringrequired
Mercado research operation
Constant: search_categories
argumentsobjectrequired
Arguments for the selected operation
arguments.market_codestringoptional
Mercado market code: MLM, MLB, MLA, MLC, or MCO
Allowed: MLM, MLB, MLA, MLC, MCO
Default: MLM
arguments.querystringoptional
Category search query
arguments.limitintegeroptional
Maximum number of records
Default: 100
Minimum: 1
Maximum: 100

toolName: industry_overview

NameTypeRequiredDescription
toolNamestringrequired
Mercado research operation
Constant: industry_overview
argumentsobjectrequired
Arguments for the selected operation
arguments.category_idstringrequired
Mercado category ID
Minimum length: 1
arguments.market_codestringoptional
Mercado market code: MLM, MLB, MLA, MLC, or MCO
Allowed: MLM, MLB, MLA, MLC, MCO
Default: MLM

toolName: search_product_snapshots

NameTypeRequiredDescription
toolNamestringrequired
Mercado research operation
Constant: search_product_snapshots
argumentsobjectrequired
Arguments for the selected operation
arguments.market_codestringoptional
Mercado market code: MLM, MLB, MLA, MLC, or MCO
Allowed: MLM, MLB, MLA, MLC, MCO
Default: MLM
arguments.keywordstringoptional
Product search keyword
arguments.category_idstringoptional
Mercado category ID
arguments.sku_idstringoptional
Mercado product SKU ID
arguments.product_urlstringoptional
Mercado product URL
Format: uri
Pattern: ^https?://
arguments.shop_idstringoptional
Mercado shop ID
arguments.shop_querystringoptional
Shop search query
arguments.price_minnumberoptional
Price min value used by this API operation.
Minimum: 0
arguments.price_maxnumberoptional
Price max value used by this API operation.
Minimum: 0
arguments.sales_30d_minintegeroptional
Sales 30d min value used by this API operation.
Minimum: 0
arguments.sales_30d_maxintegeroptional
Sales 30d max value used by this API operation.
Minimum: 0
arguments.historical_total_sales_minintegeroptional
Historical total sales min value used by this API operation.
Minimum: 0
arguments.historical_total_sales_maxintegeroptional
Historical total sales max value used by this API operation.
Minimum: 0
arguments.review_count_minintegeroptional
Review count min value used by this API operation.
Minimum: 0
arguments.review_count_maxintegeroptional
Review count max value used by this API operation.
Minimum: 0
arguments.rating_minnumberoptional
Rating min value used by this API operation.
Minimum: 0
Maximum: 5
arguments.rating_maxnumberoptional
Rating max value used by this API operation.
Minimum: 0
Maximum: 5
arguments.listing_date_minstringoptional
Listing date min value used by this API operation.
Pattern: ^\d{8}$|^\d{4}-\d{2}-\d{2}$
arguments.listing_date_maxstringoptional
Listing date max value used by this API operation.
Pattern: ^\d{8}$|^\d{4}-\d{2}-\d{2}$
arguments.stock_typestringoptional
Stock type value used by this API operation.
arguments.shop_typestringoptional
Shop type value used by this API operation.
Allowed: cross_border, local
arguments.product_statusstring | integeroptional
Product status value used by this API operation.
arguments.sort_bystringoptional
Snapshot result sort field
Allowed: sales_30d, historical_total_sales, price, listing_date, rating, review_count, title
Default: sales_30d
arguments.sort_orderstringoptional
Sort direction: asc or desc
Allowed: asc, desc
Default: desc
arguments.pageintegeroptional
Page number, starting at 1
Default: 1
Minimum: 1
arguments.limitintegeroptional
Maximum number of records
Default: 100
Minimum: 1
Maximum: 100

Any of option 1 — requires keyword

NameTypeRequiredDescription
argumentsanyrequired
Arguments for the selected operation

Any of option 2 — requires category_id

NameTypeRequiredDescription
argumentsanyrequired
Arguments for the selected operation

Any of option 3 — requires sku_id

NameTypeRequiredDescription
argumentsanyrequired
Arguments for the selected operation

Any of option 4 — requires product_url

NameTypeRequiredDescription
argumentsanyrequired
Arguments for the selected operation

Any of option 5 — requires shop_id

NameTypeRequiredDescription
argumentsanyrequired
Arguments for the selected operation

Any of option 6 — requires shop_query

NameTypeRequiredDescription
argumentsanyrequired
Arguments for the selected operation

toolName: product_sales_trend

NameTypeRequiredDescription
toolNamestringrequired
Mercado research operation
Constant: product_sales_trend
argumentsobjectrequired
Arguments for the selected operation
arguments.sku_idstringrequired
Mercado product SKU ID
Minimum length: 1
arguments.market_codestringoptional
Mercado market code: MLM, MLB, MLA, MLC, or MCO
Allowed: MLM, MLB, MLA, MLC, MCO
Default: MLM
arguments.daysintegeroptional
Sales-trend lookback days
Default: 730
Minimum: 1
Maximum: 731

toolName: image_search_products

NameTypeRequiredDescription
toolNamestringrequired
Mercado research operation
Constant: image_search_products
argumentsobjectrequired
Arguments for the selected operation
arguments.image_urlstringoptional
Public image URL for image search
Format: uri
Pattern: ^https?://
arguments.image_base64stringoptional
Base64 image input for image search
Minimum length: 1
arguments.market_codestringoptional
Mercado market code: MLM, MLB, MLA, MLC, or MCO
Allowed: MLM, MLB, MLA, MLC, MCO
Default: MLM
arguments.pageintegeroptional
Page number, starting at 1
Default: 1
Minimum: 1
arguments.limitintegeroptional
Maximum number of records
Default: 50
Minimum: 1

Any of option 1 — requires image_url

NameTypeRequiredDescription
argumentsanyrequired
Arguments for the selected operation

Any of option 2 — requires image_base64

NameTypeRequiredDescription
argumentsanyrequired
Arguments for the selected operation

toolName: review_search

NameTypeRequiredDescription
toolNamestringrequired
Mercado research operation
Constant: review_search
argumentsobjectrequired
Arguments for the selected operation
arguments.sku_idstringrequired
Mercado product SKU ID
Minimum length: 1
arguments.market_codestringoptional
Mercado market code: MLM, MLB, MLA, MLC, or MCO
Allowed: MLM, MLB, MLA, MLC, MCO
Default: MLM
arguments.pageintegeroptional
Page number, starting at 1
Default: 1
Minimum: 1
arguments.limitintegeroptional
Maximum number of records
Default: 20
Minimum: 1
Maximum: 100

Request example

{
  "arguments": {
    "query": "celulares",
    "limit": 10,
    "market_code": "MLM"
  },
  "toolName": "search_categories"
}

Response body

No required request fields are defined for this API.

Response example

Direct response payload. No extra wrapper is added.

{
  "operation": "search_categories",
  "total": 1,
  "data": {
    "records": [
      {
        "taxonomy_code": "MLM1055",
        "taxonomy_name": "Cell Phones"
      }
    ],
    "record_count": 1
  }
}

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.

Related APIs

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_market_intelligence",
    "arguments": {
      "arguments": {
        "query": "celulares",
        "limit": 10,
        "market_code": "MLM"
      },
      "toolName": "search_categories"
    }
  }
}

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-market-intelligence/run
MCP method
nexscope_mercado_market_intelligence
cURL
curl -X POST \
  https://api.nexscope.ai/api/skill-api/v1/skills/mercado-market-intelligence/run \
  -H "Authorization: Bearer nk-..." \
  -H "Content-Type: application/json" \
  -d '{ "arguments": { "query": "celulares", "limit": 10, "market_code": "MLM" }, "toolName": "search_categories" }'
Response
No response yet. Run the request to see the response here.