# Costco Reviews Summary API Documentation

<p><strong>Costco Reviews Summary API</strong> returns the average rating, the number of reviews per star, the recommendation counts and the dates of the first and last review. A product without reviews returns zero counts and is free. The counts cover all ratings of the product, also ratings without text. Costs 1 credit per successful request.</p>

- **Documentation:** [https://scrappa.co/docs/costco-api/costco_reviews_summary](https://scrappa.co/docs/costco-api/costco_reviews_summary)
- **API group:** Costco API
- **Endpoint:** `GET https://scrappa.co/api/costco/reviews-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 |
| --- | --- | --- | --- |
| `product_id` | string | Yes | Product id from search, 4 to 12 digits. |
| `country` | string | No | us (default) or ca. Use ca for product ids from costco.ca. |

## Example response

```json
{
    "data": {
        "country": "us",
        "product_id": "4000203457",
        "photo_count": 22,
        "recommended": 91,
        "total_reviews": 245,
        "average_rating": 4.077551020408163,
        "last_review_at": "2026-10-24T16:04:47.000+00:00",
        "first_review_at": "2023-10-08T23:41:37.000+00:00",
        "not_recommended": 54,
        "rating_distribution": {
            "1": 32,
            "2": 16,
            "3": 12,
            "4": 26,
            "5": 159
        }
    },
    "meta": {
        "credits": 1,
        "billable": true,
        "endpoint_family": "reviews_summary"
    },
    "success": true
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 422 | Validation Error | A required parameter or a value is invalid. This response is not billable. |
| 404 | Not Found | The product, item or warehouse does not exist. This response is not billable. |
| 503 | Upstream Unavailable | Costco could not be reached after several tries. This response is not billable. Retry shortly. |

## 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)
