# Knuspr Product API Documentation

<p><strong>Knuspr Product API</strong> returns one public grocery product by its id from search. It adds EUR price, unit price, promotions, full-size image and badges. Nutrition and the public ingredients text are on the composition route.</p><p>Send a numeric <code>id</code>, for example 1470. An unknown id answers 404 and is free. Fields the platform does not publish are left out. Rating and review count are null. Costs 1 credit per request; not found and failed requests are free.</p>

- **Documentation:** [https://scrappa.co/docs/knuspr-api/knuspr_product](https://scrappa.co/docs/knuspr-api/knuspr_product)
- **API group:** Knuspr API
- **Endpoint:** `GET https://scrappa.co/api/knuspr/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 |
| --- | --- | --- | --- |
| `id` | string | No | Numeric id from search, for example 1470. Send either id or ids. |
| `ids` | string | No | Comma separated ids from search, at most 50, for example 1470,2192. |

## Example response

```json
{
    "data": {
        "product": {
            "id": "1470",
            "name": "Alpro Barista Haferdrink",
            "brand": "Alpro",
            "image": "https://cdn.knuspr.de/image.jpg",
            "price": 2.29,
            "rating": null,
            "currency": "EUR",
            "sale_price": 2.29,
            "review_count": null,
            "regular_price": 2.59
        }
    },
    "meta": {
        "credits": 1,
        "billable": true,
        "endpoint_family": "product"
    },
    "success": true
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 422 | Validation Error | The id is missing or invalid. This response is not billable. |
| 404 | Not Found | No product with this id was found. This response is not billable. |
| 503 | Upstream Unavailable | The source could not be reached. This response is not billable. |

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