# Mercado Libre Review Summary API Documentation

Returns the review summary of an item or catalogue product: average rating, number of ratings, the share of each star level, the number of written opinions and the quality attributes buyers rate. An id without opinions returns amount 0 and no average. Failed requests (404, 422, 503) are never billed. A valid answer with zero rows is a successful, billable 200.

- **Documentation:** [https://scrappa.co/docs/mercadolibre-api/mercadolibre_review_summary](https://scrappa.co/docs/mercadolibre-api/mercadolibre_review_summary)
- **API group:** Mercado Libre API
- **Endpoint:** `GET https://scrappa.co/api/mercadolibre/review-summary`

## Authentication

Send your Scrappa API key in the `X-API-KEY` request header. Paid endpoints also support accountless x402 payments when called without an API key.

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `site` | string | Yes | Country site id: MLA (Argentina), MLB (Brazil), MLM (Mexico), MLC (Chile), MCO (Colombia), MPE (Peru), MLU (Uruguay), MEC (Ecuador) or MLV (Venezuela). |
| `id` | string | Yes | Item id or catalogue product id. |
| `id_type` | string | No | item or product. Defaults to item. |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/mercadolibre/review-summary?site=MLA&id=MLA3965765480&id_type=item"
```

## Example response

```json
{
    "success": true,
    "data": {
        "object_type": "product",
        "average": 4.7,
        "amount": 3468,
        "levels": [
            {
                "stars": 5,
                "count": 2880,
                "percentage": 83.04
            },
            {
                "stars": 4,
                "count": 335,
                "percentage": 9.66
            }
        ],
        "reviews_with_comment": 2438,
        "total_opinions": "2.438 comentarios",
        "attributes": []
    },
    "meta": {
        "endpoint_family": "review_summary",
        "billable": true
    }
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 404 | Not Found | The item, category or store does not exist on this site. This response is not billable. |
| 422 | Validation Error | A parameter is invalid: unknown site, an id that does not belong to the site, a limit out of range, rating other than 1 to 5, or a zip code of another country. This response is not billable. |
| 503 | Service Unavailable | The service could not obtain a complete result from Mercado Libre. This response is not billable. |

## More Scrappa resources

- [API documentation](https://scrappa.co/docs)
- [Full LLM-readable API reference](https://scrappa.co/llms-full.txt)
- [OpenAPI specification](https://scrappa.co/docs/api.json)
- [Pricing](https://scrappa.co/pricing)
