# Interdiscount Product API Documentation

<p><strong>Interdiscount Product API Documentation</strong> Read one public Interdiscount Switzerland product by its 10-digit id from search or the id route. Returns CHF price, original price and discount when both exist, rating, review count, full-size image URLs and specifications. One request costs 1 credit. Failed requests are not billed. Not affiliated with Interdiscount.</p>

- **Documentation:** [https://scrappa.co/docs/interdiscount-api/interdiscount_product](https://scrappa.co/docs/interdiscount-api/interdiscount_product)
- **API group:** Interdiscount API
- **Endpoint:** `GET https://scrappa.co/api/interdiscount/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 |
| --- | --- | --- | --- |
| `code` | string | Yes | 10-digit public product id. |
| `lang` | string | No | Locale: de, fr or it. |

## Example response

```json
{
    "data": {
        "code": "0014559723",
        "name": "Example phone",
        "discount": 13.34,
        "imageUrl": "https://www.interdiscount.ch/static-shops/products/720/0014559723.jpg",
        "currentPrice": {
            "amount": 1299,
            "currency": "CHF"
        },
        "averageRating": 3,
        "originalPrice": {
            "amount": 1499,
            "currency": "CHF"
        },
        "numberOfReviews": 2
    },
    "meta": {
        "credits": 1,
        "billable": true,
        "endpoint_family": "product"
    },
    "success": true
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 404 | Not Found | No product with this id. 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)
