# Trovaprezzi Product Details API Documentation

`GET /api/trovaprezzi/product` returns details for a path from search or autocomplete. Includes full-size images, numeric rating and review count, a price band, specs, variants and public shop offers. Pass `page` above 1 for more offers; a 410 gives an empty offer list.

- **Documentation:** [https://scrappa.co/docs/trovaprezzi-api/trovaprezzi_product](https://scrappa.co/docs/trovaprezzi-api/trovaprezzi_product)
- **API group:** Trovaprezzi API
- **Endpoint:** `GET https://scrappa.co/api/trovaprezzi/product`

## 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 |
| --- | --- | --- | --- |
| `path` | string | Yes | Product path from search or autocomplete, passed unchanged. |
| `page` | integer | No | Offer page, starting at 1. Defaults to 1. |
| `offers` | integer | No | Maximum offers to return, 1 to 20. Defaults to 20. |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/trovaprezzi/product?path=%2Finformatica%2Fprezzi-scheda-prodotto%2Fapple_airtag"
```

## Example response

```json
{
    "success": true,
    "path": "/informatica/prezzi-scheda-prodotto/apple_airtag",
    "page": 1,
    "product": {
        "name": "Apple AirTag",
        "brand": "Apple",
        "images": [
            "https://s1.trovaprezzi.it/apple_airtag.jpg"
        ],
        "rating": 4.5,
        "review_count": 120,
        "price": {
            "min": 29.9,
            "max": 34.9,
            "currency": "EUR"
        },
        "variant_slug": "apple_airtag",
        "offers": [
            {
                "shop": "ExampleShop",
                "price": 29.9,
                "currency": "EUR",
                "availability": "available",
                "shipping": true
            }
        ]
    },
    "meta": {
        "duration_ms": 720,
        "billable": true
    }
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 422 | Validation Error | One or more query parameters failed validation. |
| 503 | Upstream Unavailable | Trovaprezzi returned a challenged, empty or malformed response through the approved pool. |

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