# Lyko Product API Documentation

<p><strong>Lyko Product API</strong> opens one public Lyko product page. It returns a numeric price and original price with currency, stock state and availability, size, unit, ingredients, certificates, variants, full-size images, rating, rating distribution and the first reviews.</p><p>Send the url from a search answer, or a brand and slug path. <strong>Cost:</strong> 1 credit per request. Failed requests are not billed.</p>

- **Documentation:** [https://scrappa.co/docs/lyko-api/lyko_product](https://scrappa.co/docs/lyko-api/lyko_product)
- **API group:** Lyko API
- **Endpoint:** `GET https://scrappa.co/api/lyko/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 |
| --- | --- | --- | --- |
| `url` | string | No | A lyko.com product url from a search answer. |
| `id` | string | No | A brand and slug path, used when no url is sent. |
| `locale` | string | No | Site path used with id. Default sv. |

## Example response

```json
{
    "data": {
        "ean": "3574661506515",
        "code": "2240-459-0050",
        "brand": "VICHY",
        "price": {
            "current": 199,
            "currency": "SEK",
            "original": 249,
            "discount_percent": 20.08
        },
        "stock": "InStock",
        "images": [
            {
                "url": "https://lyko.com/globalassets/product-images/serum.jpg"
            }
        ],
        "rating": 4.6,
        "display_name": "Mineral 89 Serum",
        "review_count": 812
    },
    "success": true
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
|  | Not found | The product url does not return a product |

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