Skip to content
Scrappa Get API key
X-Kom API 1 credit / request

X-Kom Product Reviews API Documentation

GET https://scrappa.co/api/xkom/reviews

X-Kom Product Reviews API Documentation List the reviews of one X-Kom product by its numeric id. Each review has an id, author, title, body, 1 to 5 rating, ISO 8601 date, confirmed-purchase flag and vote counts. The response also carries the rating histogram. Page 2 returns different review ids. Cost: 1 credit per successful request with results. Failed and empty responses are not billed.

X-Kom Product Reviews API Documentation 1 credit / request

Endpoint

Request preview
GET
https://scrappa.co/api/xkom/reviews
Auth header
x-api-key
Cost
1 credit / request
id = 1234567890
Response preview
200 OK
{
    "data": {
        "reviews": [
            {
                "id": 99001,
                "body": "Polecam",
                "title": "Dobry produkt",
                "author": "Jan",
                "rating": 5,
                "votes_up": 3,
                "created_at": "2026-10-12T09:30:00.000Z",
                "votes_down": 0,
                "rating_scale": "1-5",
                "registered_author": false,
...

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.

id integer Required

Numeric product id from the search or categories route. Example: 1175277.

Example value 1234567890
page integer Optional

Page number from 1. A page past the end returns an empty list.

Example value 1

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": {
        "reviews": [
            {
                "id": 99001,
                "body": "Polecam",
                "title": "Dobry produkt",
                "author": "Jan",
                "rating": 5,
                "votes_up": 3,
                "created_at": "2026-10-12T09:30:00.000Z",
                "votes_down": 0,
                "rating_scale": "1-5",
                "registered_author": false,
                "confirmed_purchase": true
            }
        ],
        "pagination": {
            "has_next": true,
            "per_page": 1,
            "total_pages": 26,
            "current_page": 1,
            "total_results": 389
        },
        "product_id": 1175277,
        "rating_statistics": [
            {
                "rank": 5,
                "count": 120
            }
        ]
    },
    "meta": {
        "credits": 1,
        "billable": true,
        "endpoint_family": "reviews"
    },
    "success": true
}

Errors

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

422

Validation Error

The product id is missing or invalid. Not billed.

{
    "errors": {
        "id": [
            "Send the numeric product id from a search or categories result."
        ]
    },
    "message": "The request validation failed"
}
502

Upstream Unavailable

X-Kom could not be reached. Retry. Not billed.

{
    "meta": {
        "billable": false
    },
    "error": {
        "code": "UPSTREAM_UNAVAILABLE",
        "message": "X-Kom is temporarily unavailable. Please retry."
    },
    "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.