https://api.nexscope.ai/mercado/marketResearchRun this API
Send a JSON request to execute this API and receive the documented response payload.
Endpoint
| Method | POST |
| Path | https://api.nexscope.ai/mercado/marketResearch |
| Auth | Bearer API key |
| Content-Type | application/json |
Request parameters
toolName: search_categories
| Name | Type | Required | Description |
|---|---|---|---|
arguments | object | required | Arguments for the selected operation |
arguments.limit | integer | optional | Maximum number of records Default: 100 Minimum: 1 Maximum: 100 |
arguments.market_code | string | optional | Mercado market code: MLM, MLB, MLA, MLC, or MCO Allowed: MLM, MLB, MLA, MLC, MCO Default: MLM |
arguments.query | string | optional | Category search query |
toolName | string | required | Mercado research operation Constant: search_categories |
toolName: industry_overview
| Name | Type | Required | Description |
|---|---|---|---|
arguments | object | required | Arguments for the selected operation |
arguments.category_id | string | required | Mercado category ID Minimum length: 1 |
arguments.market_code | string | optional | Mercado market code: MLM, MLB, MLA, MLC, or MCO Allowed: MLM, MLB, MLA, MLC, MCO Default: MLM |
toolName | string | required | Mercado research operation Constant: industry_overview |
toolName: search_product_snapshots
| Name | Type | Required | Description |
|---|---|---|---|
arguments | object | required | Arguments for the selected operation |
arguments.category_id | string | optional | Mercado category ID |
arguments.historical_total_sales_max | integer | optional | Historical total sales max value used by this API operation. Minimum: 0 |
arguments.historical_total_sales_min | integer | optional | Historical total sales min value used by this API operation. Minimum: 0 |
arguments.keyword | string | optional | Product search keyword |
arguments.limit | integer | optional | Maximum number of records Default: 100 Minimum: 1 Maximum: 100 |
arguments.listing_date_max | string | optional | Listing date max value used by this API operation. Pattern: ^\d{8}$|^\d{4}-\d{2}-\d{2}$ |
arguments.listing_date_min | string | optional | Listing date min value used by this API operation. Pattern: ^\d{8}$|^\d{4}-\d{2}-\d{2}$ |
arguments.market_code | string | optional | Mercado market code: MLM, MLB, MLA, MLC, or MCO Allowed: MLM, MLB, MLA, MLC, MCO Default: MLM |
arguments.page | integer | optional | Page number, starting at 1 Default: 1 Minimum: 1 |
arguments.price_max | number | optional | Price max value used by this API operation. Minimum: 0 |
arguments.price_min | number | optional | Price min value used by this API operation. Minimum: 0 |
arguments.product_status | string | integer | optional | Product status value used by this API operation. |
arguments.product_url | string | optional | Mercado product URL Format: uri Pattern: ^https?:// |
arguments.rating_max | number | optional | Rating max value used by this API operation. Minimum: 0 Maximum: 5 |
arguments.rating_min | number | optional | Rating min value used by this API operation. Minimum: 0 Maximum: 5 |
arguments.review_count_max | integer | optional | Review count max value used by this API operation. Minimum: 0 |
arguments.review_count_min | integer | optional | Review count min value used by this API operation. Minimum: 0 |
arguments.sales_30d_max | integer | optional | Sales 30d max value used by this API operation. Minimum: 0 |
arguments.sales_30d_min | integer | optional | Sales 30d min value used by this API operation. Minimum: 0 |
arguments.shop_id | string | optional | Mercado shop ID |
arguments.shop_query | string | optional | Shop search query |
arguments.shop_type | string | optional | Shop type value used by this API operation. Allowed: cross_border, local |
arguments.sku_id | string | optional | Mercado product SKU ID |
arguments.sort_by | string | optional | Snapshot result sort field Allowed: sales_30d, historical_total_sales, price, listing_date, rating, review_count, title Default: sales_30d |
arguments.sort_order | string | optional | Sort direction: asc or desc Allowed: asc, desc Default: desc |
arguments.stock_type | string | optional | Stock type value used by this API operation. |
toolName | string | required | Mercado research operation Constant: search_product_snapshots |
Any of option 1 — requires keyword
| Name | Type | Required | Description |
|---|---|---|---|
arguments | any | required | Arguments for the selected operation |
Any of option 2 — requires category_id
| Name | Type | Required | Description |
|---|---|---|---|
arguments | any | required | Arguments for the selected operation |
Any of option 3 — requires sku_id
| Name | Type | Required | Description |
|---|---|---|---|
arguments | any | required | Arguments for the selected operation |
Any of option 4 — requires product_url
| Name | Type | Required | Description |
|---|---|---|---|
arguments | any | required | Arguments for the selected operation |
Any of option 5 — requires shop_id
| Name | Type | Required | Description |
|---|---|---|---|
arguments | any | required | Arguments for the selected operation |
Any of option 6 — requires shop_query
| Name | Type | Required | Description |
|---|---|---|---|
arguments | any | required | Arguments for the selected operation |
toolName: product_sales_trend
| Name | Type | Required | Description |
|---|---|---|---|
arguments | object | required | Arguments for the selected operation |
arguments.days | integer | optional | Sales-trend lookback days Default: 730 Minimum: 1 Maximum: 731 |
arguments.market_code | string | optional | Mercado market code: MLM, MLB, MLA, MLC, or MCO Allowed: MLM, MLB, MLA, MLC, MCO Default: MLM |
arguments.sku_id | string | required | Mercado product SKU ID Minimum length: 1 |
toolName | string | required | Mercado research operation Constant: product_sales_trend |
toolName: image_search_products
| Name | Type | Required | Description |
|---|---|---|---|
arguments | object | required | Arguments for the selected operation |
arguments.image_base64 | string | optional | Base64 image input for image search Minimum length: 1 |
arguments.image_url | string | optional | Public image URL for image search Format: uri Pattern: ^https?:// |
arguments.limit | integer | optional | Maximum number of records Default: 50 Minimum: 1 |
arguments.market_code | string | optional | Mercado market code: MLM, MLB, MLA, MLC, or MCO Allowed: MLM, MLB, MLA, MLC, MCO Default: MLM |
arguments.page | integer | optional | Page number, starting at 1 Default: 1 Minimum: 1 |
toolName | string | required | Mercado research operation Constant: image_search_products |
Any of option 1 — requires image_url
| Name | Type | Required | Description |
|---|---|---|---|
arguments | any | required | Arguments for the selected operation |
Any of option 2 — requires image_base64
| Name | Type | Required | Description |
|---|---|---|---|
arguments | any | required | Arguments for the selected operation |
toolName: review_search
| Name | Type | Required | Description |
|---|---|---|---|
arguments | object | required | Arguments for the selected operation |
arguments.limit | integer | optional | Maximum number of records Default: 20 Minimum: 1 Maximum: 100 |
arguments.market_code | string | optional | Mercado market code: MLM, MLB, MLA, MLC, or MCO Allowed: MLM, MLB, MLA, MLC, MCO Default: MLM |
arguments.page | integer | optional | Page number, starting at 1 Default: 1 Minimum: 1 |
arguments.sku_id | string | required | Mercado product SKU ID Minimum length: 1 |
toolName | string | required | Mercado research operation Constant: review_search |
Code example
{
"arguments": {
"limit": 10,
"market_code": "MLM",
"query": "celulares"
},
"toolName": "search_categories"
}Response example
Platform response envelope. code 0 indicates success or acceptance; data contains the business result.
{
"code": 0,
"cost": "-1",
"data": {
"data": {
"record_count": 1,
"records": [
{
"taxonomy_code": "MLM1055",
"taxonomy_name": "Cell Phones"
}
]
},
"operation": "search_categories",
"total": 1
},
"msg": null,
"time": "2026-01-01 00:00:00",
"traceId": null,
"ts": "0"
}Response fields
| Name | Type | Required | Description |
|---|---|---|---|
code | integer | required | 0 means accepted or successful; nonzero is a platform error. |
cost | string | required | Elapsed milliseconds, never credits; -1 outside web requests. |
data | any | required | Data value used by this API operation. |
msg | string | null | required | Msg value used by this API operation. |
time | string | required | Server local time: yyyy-MM-dd HH:mm:ss. |
traceId | string | null | required | Trace id value used by this API operation. |
ts | string | required | Epoch milliseconds. |
Any of option 1 — requires operation, data
| Name | Type | Required | Description |
|---|---|---|---|
data | object | required | Data value used by this API operation. |
data.charged | any | optional | Charged value used by this API operation. |
data.data | object | required | Data value used by this API operation. |
data.operation | string | required | Operation value used by this API operation. Allowed: search_categories, industry_overview, search_product_snapshots, product_sales_trend, image_search_products, review_search |
data.total | any | optional | Total value used by this API operation. |
Any of option 1
| Name | Type | Required | Description |
|---|---|---|---|
data.charged | boolean | optional | Charged value used by this API operation. |
Any of option 2
| Name | Type | Required | Description |
|---|---|---|---|
data.charged | null | optional | Charged value used by this API operation. |
Any of option 1
| Name | Type | Required | Description |
|---|---|---|---|
data.total | integer | optional | Total value used by this API operation. Minimum: 0 |
Any of option 2
| Name | Type | Required | Description |
|---|---|---|---|
data.total | null | optional | Total value used by this API operation. |
Any of option 2
| Name | Type | Required | Description |
|---|---|---|---|
data | null | required | Data value used by this API operation. |
Responses
| 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. |
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.