Skip to content
Scrappa Get API key
Lyko API 1 credit / request

Lyko Product API Documentation

GET https://scrappa.co/api/lyko/product

Lyko Product API 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.

Send the url from a search answer, or a brand and slug path. Cost: 1 credit per request. Failed requests are not billed.

Lyko Product API Documentation 1 credit / request

Endpoint

Request preview
GET
https://scrappa.co/api/lyko/product
Auth header
x-api-key
Cost
1 credit / request
Response preview
200 OK
{
    "data": {
        "ean": "3574661506515",
        "code": "2240-459-0050",
        "brand": "VICHY",
        "price": {
            "current": 199,
            "currency": "SEK",
            "original": 249,
            "discount_percent": 20.08
        },
        "stock": "InStock",
        "images": [
            {
...

Parameters

Start with the required fields, then add optional filters only when your use case needs them.

Runnable path

This endpoint has no required query parameters.

3 optional filters available.

url string Optional
Open example

A lyko.com product url from a search answer.

Example value https://example.com/product
id string Optional

A brand and slug path, used when no url is sent.

Example value 1234567890
locale string Optional

Site path used with id. Default sv.

Example value en-US

Response Schema

Example response fields are illustrative; inspect the JSON before integrating.

Example response fields

Scan these fields before integrating.

data success
JSON Response
200 OK
{
    "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

Handle these documented responses before retrying or showing customer-facing failures.

Not found

The product url does not return a product

{
    "meta": {
        "billable": false
    },
    "error": {
        "code": "NOT_FOUND",
        "message": "The requested resource was not found."
    },
    "success": false
}

Generate Code with AI

Copy a ready-made prompt with all the endpoint details, parameters, and example responses. Paste it into ChatGPT, Claude, or any AI assistant to instantly generate working code.

Try It Live

Test this endpoint in our interactive playground with real data.