ecommerce.mercado-market-intelligence
Use this skill to query Mercado Libre public market intelligence. Read references/api.md before constructing a request.
Request contract
- Endpoint:
POST /api/v1/tools/research/damai/call
- Required:
toolName and operation-specific arguments.
- Optional: documented market, filters, dates, pagination, image, and sort fields for the selected tool.
- For local image input, run
scripts/upload_image.py and use only the confirmed publicUrl returned by the Skill Asset workflow.
- Send only documented fields; reject unknown fields before network access.
Minimal example:
{"toolName":"search_categories","arguments":{"market_code":"MLM","query":"celulares","limit":10}}
Workflow
- Confirm the requested public entity, market, operation, filters, and expected cost.
- Validate parameters against the API reference. Send only documented business fields.
- Run
python scripts/damai_mercado_market_intelligence.py '<JSON parameters>' --no-cache once. Do not probe alternate products, markets, pages, or operations after a paid failure without user approval.
- Preserve the full response file. Distinguish the Nexscope transport envelope from the inner business response and report
traceId on errors.
- Summarize only returned facts. Preserve missing values as unknown and identify the requested market and operation.
Cost
Do not reuse the source Skill's point value. This operation consumes Nexscope credits. Preserve X-Cost-Token and X-Cost-Credit from the response headers as server-reported billing metadata. The exact charge is unknown before the first live response.
Error and credit handling
- HTTP 401 means Nexscope authentication failed. Verify
NEXSCOPE_API_KEY and NEXSCOPE_PROXY_BASE; do not ask the user to paste credentials into chat or operation JSON.
- HTTP 402 means the account lacks credits. Stop the workflow and direct the user to the access-help page below.
- Marketplace authorization failures require the platform-specific account or token to be renewed. Do not substitute a different store, region, or creator automatically.
- For ambiguous network failures, report whether the attempted operation was a read or mutation. Never repeat a mutation without reconciling its upstream state.
Response handling
For the research HTTP response, require a numeric outer code equal to 0 before using data. Nonzero codes are platform failures; display outer msg without interpreting its wording as a retry instruction. Nexscope preserves upstream messages and translates Chinese to English; successful responses may have msg: null. HTTP 200 alone and nested business code / status do not replace the platform check. See references/api.md for response paths and task-specific states.
Package scripts that unwrap the response keep the platform code and msg under _nexscope; their remaining fields are the business payload. _nexscope.cost is elapsed time, not credits.
Authentication
Set the NEXSCOPE_API_KEY environment variable. If credentials are missing or expire, visit https://www.nexscope.ai/help/skills-external-access?co-from=skillNS to top up credits.
Presenting results
- Lead with the requested entity, market, operation, and the most decision-relevant returned fields.
- Preserve source currencies, units, identifiers, dates, and missing values; do not invent conversions or defaults.
- Keep the full JSON artifact and present compact tables for repeated records when useful.
- Report the server-reported
X-Cost-Token, X-Cost-Credit, and trace ID from the saved billing metadata.
Boundaries and privacy
- This migration is public-data and read-only. Do not invoke seller-console, store-authorized, favorite-write, or account mutation operations.
- One explicit request per call. Do not silently change entity, market, date, operation, or page after an error.
- Redact credentials, signed URLs, cookies, and internal account identifiers from user-facing output and saved request examples.
- Do not claim live, ZIP-install, or production validation unless the matching evidence exists in
references/testing.md.
References
- Read references/api.md for the complete parameter, response, and error contract.
- Read references/testing.md before executing a live request or claiming a validation level.
API Key request rate
All Nexscope API Keys belonging to the same user share one request-rate allowance for public API execution. The allowance is measured over any rolling 1-second window. Your RPS depends on your account entitlements; do not assume every user has a fixed 1 RPS. A single Skill operation may make multiple public API requests, and each request uses this allowance.
If an execution request returns HTTP 429 with outer code 13012, the request-rate allowance was exceeded. Honor the returned Retry-After before considering another request. Outer code 13013 means the concurrent-request limit was exceeded, not the rate limit; honor its Retry-After when supplied. Inspect the response and reconcile state before retrying. Never automatically replay a write operation or a request whose outcome is unclear.
1---2name: ecommerce-mercado-market-intelligence3description: Query Mercado Libre public market intelligence through the Nexscope research proxy. Use when the user requests this public marketplace or patent data; do not use for seller-console or store-authorized operations.4metadata:5 source: https://skillmd.com/skills/nexscope-ai/ecommerce-mercado-market-intelligence6---78# ecommerce.mercado-market-intelligence910Use this skill to query Mercado Libre public market intelligence. Read [references/api.md](references/api.md) before constructing a request.111213## Request contract1415- Endpoint: `POST /api/v1/tools/research/damai/call`16- Required: `toolName` and operation-specific `arguments`.17- Optional: documented market, filters, dates, pagination, image, and sort fields for the selected tool.18- For local image input, run `scripts/upload_image.py` and use only the confirmed `publicUrl` returned by the Skill Asset workflow.19- Send only documented fields; reject unknown fields before network access.2021Minimal example:2223```json24{"toolName":"search_categories","arguments":{"market_code":"MLM","query":"celulares","limit":10}}25```2627## Workflow28291. Confirm the requested public entity, market, operation, filters, and expected cost.302. Validate parameters against the API reference. Send only documented business fields.313. Run `python scripts/damai_mercado_market_intelligence.py '<JSON parameters>' --no-cache` once. Do not probe alternate products, markets, pages, or operations after a paid failure without user approval.324. Preserve the full response file. Distinguish the Nexscope transport envelope from the inner business response and report `traceId` on errors.335. Summarize only returned facts. Preserve missing values as unknown and identify the requested market and operation.3435## Cost3637Do not reuse the source Skill's point value. This operation consumes Nexscope credits. Preserve `X-Cost-Token` and `X-Cost-Credit` from the response headers as server-reported billing metadata. The exact charge is unknown before the first live response.3839## Error and credit handling4041- HTTP 401 means Nexscope authentication failed. Verify `NEXSCOPE_API_KEY` and `NEXSCOPE_PROXY_BASE`; do not ask the user to paste credentials into chat or operation JSON.42- HTTP 402 means the account lacks credits. Stop the workflow and direct the user to the access-help page below.43- Marketplace authorization failures require the platform-specific account or token to be renewed. Do not substitute a different store, region, or creator automatically.44- For ambiguous network failures, report whether the attempted operation was a read or mutation. Never repeat a mutation without reconciling its upstream state.4546## Response handling4748For the research HTTP response, require a numeric outer `code` equal to `0` before using `data`. Nonzero codes are platform failures; display outer `msg` without interpreting its wording as a retry instruction. Nexscope preserves upstream messages and translates Chinese to English; successful responses may have `msg: null`. HTTP 200 alone and nested business `code` / `status` do not replace the platform check. See `references/api.md` for response paths and task-specific states.4950Package scripts that unwrap the response keep the platform `code` and `msg` under `_nexscope`; their remaining fields are the business payload. `_nexscope.cost` is elapsed time, not credits.5152## Authentication5354Set the `NEXSCOPE_API_KEY` environment variable. If credentials are missing or expire, visit [https://www.nexscope.ai/help/skills-external-access?co-from=skillNS](https://www.nexscope.ai/help/skills-external-access?co-from=skillNS) to top up credits.5556## Presenting results5758- Lead with the requested entity, market, operation, and the most decision-relevant returned fields.59- Preserve source currencies, units, identifiers, dates, and missing values; do not invent conversions or defaults.60- Keep the full JSON artifact and present compact tables for repeated records when useful.61- Report the server-reported `X-Cost-Token`, `X-Cost-Credit`, and trace ID from the saved billing metadata.6263## Boundaries and privacy6465- This migration is public-data and read-only. Do not invoke seller-console, store-authorized, favorite-write, or account mutation operations.66- One explicit request per call. Do not silently change entity, market, date, operation, or page after an error.67- Redact credentials, signed URLs, cookies, and internal account identifiers from user-facing output and saved request examples.68- Do not claim live, ZIP-install, or production validation unless the matching evidence exists in `references/testing.md`.6970## References7172- Read [references/api.md](references/api.md) for the complete parameter, response, and error contract.73- Read [references/testing.md](references/testing.md) before executing a live request or claiming a validation level.7475## API Key request rate7677All Nexscope API Keys belonging to the same user share one request-rate allowance for public API execution. The allowance is measured over any rolling 1-second window. Your RPS depends on your account entitlements; do not assume every user has a fixed 1 RPS. A single Skill operation may make multiple public API requests, and each request uses this allowance.7879If an execution request returns HTTP 429 with outer code `13012`, the request-rate allowance was exceeded. Honor the returned `Retry-After` before considering another request. Outer code `13013` means the concurrent-request limit was exceeded, not the rate limit; honor its `Retry-After` when supplied. Inspect the response and reconcile state before retrying. Never automatically replay a write operation or a request whose outcome is unclear.