# Alternate Product Reviews API Documentation

`GET /api/alternate/reviews` returns the first review page of a product. Pass the `id` from a search result unchanged, or a product link.

## What you get

Each review has `id`, `date` as ISO 8601, numeric `rating`, `title`, `text`, `author`, `pros`, `cons` and `verified`. `total` is the reported review count, `average_rating` the reported average. `page_size` is only the number of reviews returned. A page is never mislabelled: only page 1 exists. `page=2` or higher returns a structured 422 and costs no credits. If the product reports reviews but the page shape is not recognised, the request fails as `parser_drift` and costs no credits.

## Credits

A successful request costs **1 credit**. Errors, challenges and `404` answers cost nothing. The response shows the charge in `meta.credits_charged`.

- **Documentation:** [https://scrappa.co/docs/alternate-api/alternate_reviews](https://scrappa.co/docs/alternate-api/alternate_reviews)
- **API group:** Alternate API
- **Endpoint:** `GET https://scrappa.co/api/alternate/reviews`

## 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 |
| --- | --- | --- | --- |
| `id` | string | No | Product id from a search result. Use this or url. |
| `url` | string | No | Product link on alternate.de. Use this or id. |
| `page` | integer | No | Only page 1 is available. |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/alternate/reviews?id=100152872&page=1"
```

## Example response

```json
{
    "success": true,
    "product_id": "100152872",
    "reviews": [
        {
            "id": "review-1",
            "date": "2026-04-18T00:00:00Z",
            "rating": 5,
            "title": null,
            "text": "Works as expected.",
            "author": "N 100",
            "pros": [],
            "cons": [],
            "verified": true
        }
    ],
    "page": 1,
    "page_size": 1,
    "has_more": false,
    "total": 39,
    "average_rating": 4.5,
    "meta": {
        "endpoint_family": "alternate-reviews",
        "billable": true,
        "attempts": 1,
        "credits_charged": 1
    }
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 422 | Review Page Not Available | Only the first review page is public (`unsupported_page`). A later page is rejected instead of repeating page one under a new number. Non-billable. |
| 404 | Not Found | The storefront has no product with that id or link (`not_found`). Non-billable. |
| 422 | Validation Error | A query parameter is missing, unknown, conflicting or unusable. Unknown parameters are rejected, never ignored. Non-billable. |
| 503 | Upstream Unavailable | The storefront could not be reached, answered with a challenge, or changed its page shape (`upstream_blocked`, `upstream_unavailable`, `parser_drift`). Retryable and never billed. Clients are never rate limited. |

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