Mercado Libre Product Search
POST /api/v1/mercadolibre/products/search
Search Mercado Libre by keyword in a Latin American country and get matching listings with titles, prices in local currency, discounts, installments, ratings, sellers, shipping and images.
Overview
Search Mercado Libre by keyword in a Latin American country and get matching listings with titles, prices in local currency, discounts, installments, ratings, sellers, shipping and images.
POST /api/v1/mercadolibre/products/search
Method: POST Path: /api/v1/mercadolibre/products/search Category: E-Commerce
Request Parameters
Endpoint Parameters
| Name | Type | Requirement | Description |
|---|---|---|---|
| limit | integer | Optional | Maximum number of search results to return (up to 50). |
| location | string | Optional | Two-letter code of the Mercado Libre country site to search (default AR). One of AR, MX, BR, CO, CL, PE, UY, EC. |
| query | string | Required | Search keywords, e.g. "iphone" |
Request Example
Mercado Libre Product Search Request Examples
curl -X POST "https://api.dataguru.cc/api/v1/mercadolibre/products/search" \ -H "Authorization: Api-Key YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{"limit": "24", "location": "AR", "query": "example"}'
Response Example
200 OK
Typical 200 OK JSON response structure with envelope metadata.
{ "query": "string", "country": "string", "site": "string", "total_results": 0, "returned_results": 0, "results": [ { "item_id": "1234567890", "product_id": "1234567890", "title": "string", "url": "https://example.com/...", "price": { "current_price": 0.0, "original_price": 0.0, "discount_percent": 0.0, "currency": "USD", "installments": "string" }, "rating": 0.0, "seller": "string", "official_store": false, "image": "string", "shipping": "string", "promotions": [ "string" ], "sold_quantity": 0, "category_id": "1234567890", "sponsored": false } ], "_metadata": { "request_id": "3f6c1a2e-8b4d-4c1e-9a7f-2d5e6b7c8d9e", "execution_time_ms": 842, "endpoint": "Mercado Libre Product Search", "mode": "live", "format": "json", "timestamp": "2026-01-01T12:00:00+00:00" } }
Response Schema
Fields returned in a successful response. Nested fields use dot notation and `[]` marks items of a list. Fields that are not required can be missing or `null` when the source does not provide them. Every response also includes a `_metadata` block.
Response Fields
| Field | Type | Required | Description |
|---|---|---|---|
| query | string | Yes | Original search keyword or term queried. |
| country | string | Yes | Two-letter code of the Mercado Libre country site searched, e.g. 'AR'. |
| site | string | No | Domain of the Mercado Libre country site, e.g. 'mercadolibre.com.ar'. |
| total_results | integer | Yes | Estimated total number of matching listings on Mercado Libre. |
| returned_results | integer | Yes | Number of listings parsed and returned in this response. |
| results | array<object> | Yes | List of listings matching the query. |
| results[].item_id | string | Yes | Mercado Libre listing identifier, e.g. 'MLA2396564888'. |
| results[].product_id | string | null | No | Catalog product identifier when the listing belongs to a catalog product. |
| results[].title | string | Yes | Listing title. |
| results[].url | string | null | Yes | Full product page URL. |
| results[].price | object | Yes | Pricing information object. |
| results[].price.current_price | number | null | No | Current selling price in local currency. |
| results[].price.original_price | number | null | No | Price before discount, if the listing is discounted. |
| results[].price.discount_percent | number | null | No | Discount percentage off the original price. |
| results[].price.currency | string | No | Three-letter currency code, e.g. 'ARS', 'MXN', 'BRL'. |
| results[].price.installments | string | null | No | Installment offer text, e.g. 'Mismo precio 12 cuotas de $ 191,666'. |
| results[].rating | number | null | No | Average review score on a 5.0 scale. |
| results[].seller | string | null | No | Seller or official store name shown on the listing. |
| results[].official_store | boolean | No | True if the listing is sold by an official store. |
| results[].image | string | null | No | Primary listing image URL. |
| results[].shipping | string | null | No | Shipping and delivery text, e.g. 'Llega gratis maƱana'. |
| results[].promotions | array<string> | No | Promotion texts such as coupons. |
| results[].sold_quantity | integer | null | No | Approximate number of units sold, when shown. |
| results[].category_id | string | null | No | Mercado Libre category identifier. |
| results[].sponsored | boolean | No | True if the listing is a sponsored placement. |
Asynchronous Requests
Long-running requests can be processed in the background. Add `?async=true` (or the `Prefer: respond-async` header) to receive a `job_id` immediately, then poll the job until its status is `COMPLETED`.
Async Workflow
curl -X POST "https://api.dataguru.cc/api/v1/mercadolibre/products/search?async=true" \ -H "Authorization: Api-Key YOUR_API_KEY" # 202 Accepted { "success": true, "status": "SUBMITTED", "job_id": "0ca215ce-244f-4b28-b481-dc1b551983c8", "status_url": "/api/v1/jobs/0ca215ce-244f-4b28-b481-dc1b551983c8/" }
Batch Processing
To run many requests at half price, upload them as a CSV file: one row per request, with the parameter names above as the header row. Rows run in the background within 24 hours (up to 7 days for large files) and each successful row costs 50% of the price below. Poll /api/v1/batches/{batch_id}/ for progress and download results.json when it has finished. See the Batch Processing guide for details.
Batch Workflow
query,limit,location example,24,AR
Pricing & Rate Limits
Endpoint Pricing
$0.0012 / per successful request (USD)
Consumed per successful call: 1 request unit(s), 1 credit(s).
Endpoint Rate Limits
Common Errors
Common HTTP Errors
| Status | Code | Description |
|---|---|---|
| 400 | VALIDATION_ERROR | A required parameter is missing or malformed. |
| 401 | UNAUTHORIZED | Missing or invalid API key. |
| 402 | INSUFFICIENT_BALANCE | Your balance cannot cover this request. |
| 403 | ENDPOINT_DISABLED | This endpoint is currently unavailable. |
| 405 | METHOD_NOT_ALLOWED | The endpoint was called with the wrong HTTP method. |
| 429 | RATE_LIMIT_EXCEEDED | Too many requests. See the Retry-After header. |
| 502 | PROVIDER_ERROR | The upstream data source failed. Retry with exponential backoff. |