Skip to content
Scrappa Get API key
Amazon API 1 credit/request

Amazon Rating Summary API Documentation

GET https://scrappa.co/api/amazon/rating-summary/{asin}

Amazon Rating Summary API Documentation Read the average rating, the total number of ratings and the share of each star level for one ASIN. The star shares add up to 100. This endpoint gives the rating split without reviews text, which Amazon only shows to signed in customers.

Amazon Rating Summary API Documentation 1 credit/request

Endpoint

Request preview
GET
https://scrappa.co/api/amazon/rating-summary/{asin}
Auth header
x-api-key
Cost
1 credit/request
asin = example
Response preview
200 OK
{
    "data": {
        "asin": "0735211299",
        "domain": "US",
        "histogram": {
            "1": 0,
            "2": 0,
            "3": 4,
            "4": 13,
            "5": 83
        },
        "source_url": "https://www.amazon.com/dp/0735211299",
        "total_ratings": 150366,
        "average_rating": 4.8
...

Parameters

Start with the required fields, then add optional filters only when your use case needs them.

Runnable path

1 required parameter needed before sending a request.

1 optional filter available.

asin string Required

Ten character product id in the path. Example: 0735211299.

Example value example
domain string Optional

Amazon marketplace. Supported here: US, DE. Default: US.

Example value example.com

Response Schema

Example response fields are illustrative; inspect the JSON before integrating.

Example response fields

Scan these fields before integrating.

data meta success
JSON Response
200 OK
{
    "data": {
        "asin": "0735211299",
        "domain": "US",
        "histogram": {
            "1": 0,
            "2": 0,
            "3": 4,
            "4": 13,
            "5": 83
        },
        "source_url": "https://www.amazon.com/dp/0735211299",
        "total_ratings": 150366,
        "average_rating": 4.8
    },
    "meta": {
        "cached": false,
        "domain": "US",
        "currency": "USD",
        "language": "en_US",
        "timestamp": "2026-10-31T22:00:00.000000Z",
        "response_time_ms": 4200
    },
    "success": true
}

Errors

Handle these documented responses before retrying or showing customer-facing failures.

404

Not Found

The ASIN does not exist on this marketplace. This response is not billable.

{
    "error": "Not found on Amazon.",
    "success": false
}
503

Service Unavailable

Amazon could not be reached after several tries. This response is not billable. Retry shortly.

{
    "code": "transport_unavailable",
    "error": "Amazon could not be reached right now. Try again shortly. No credits were used.",
    "success": false
}

Generate Code with AI

Copy a ready-made prompt with all the endpoint details, parameters, and example responses. Paste it into ChatGPT, Claude, or any AI assistant to instantly generate working code.

Try It Live

Test this endpoint in our interactive playground with real data.