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

Trendyol Product API Documentation

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

Trendyol Product API returns one product: price in TRY with original price and discount, sizes with stock and barcode and the price of each size, brand, gender, category path, color, full size images, description, rating, review count, favorite count, free shipping flag, stock limits and the seller id, name and score.

Send id (the product number from search) or url (a Trendyol product link). The data comes from the Turkish storefront, so prices are always TRY. A product that does not exist returns 404.

Costs 1 credit per successful request. Failed requests are free.

Trendyol Product API Documentation 1 credit / request

Endpoint

Request preview
GET
https://scrappa.co/api/trendyol/product
Auth header
x-api-key
Cost
1 credit / request
Response preview
200 OK
{
    "data": {
        "product": {
            "id": "1167699402",
            "url": "https://www.trendyol.com/blue-street/kadin-kollari-bol-vucuda-oturan-slim-kisa-elbise-p-1167699402",
            "name": "Kad\u0131n Kollar\u0131 Bol V\u00fccuda Oturan Slim K\u0131sa Elbise",
            "brand": {
                "id": 2391838,
                "name": "BLUE STREET"
            },
            "color": "Siyah",
            "price": {
                "current": 689,
                "currency": "TRY",
...

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.

2 optional filters available.

id string Optional

Product number from search, 4 to 12 digits, for example 1167699402. Send id or url.

Example value 1234567890
url string Optional
Open example

A product page link on trendyol.com that ends with -p- and the product number. Send id or url.

Example value https://example.com/product

Response Schema

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

Example response fields

Scan these fields before integrating.

data meta success
JSON Response
200 OK
{
    "data": {
        "product": {
            "id": "1167699402",
            "url": "https://www.trendyol.com/blue-street/kadin-kollari-bol-vucuda-oturan-slim-kisa-elbise-p-1167699402",
            "name": "Kad\u0131n Kollar\u0131 Bol V\u00fccuda Oturan Slim K\u0131sa Elbise",
            "brand": {
                "id": 2391838,
                "name": "BLUE STREET"
            },
            "color": "Siyah",
            "price": {
                "current": 689,
                "currency": "TRY",
                "original": 737.99,
                "discount_percent": 6.6
            },
            "stock": {
                "status": 1,
                "is_running_out": false,
                "max_sale_limit": 11,
                "running_out_quantity": 0
            },
            "gender": "Kad\u0131n",
            "images": [
                "https://cdn.dsmcdn.com/ty1891/prod/QC_PREP/20260711/13/29d94a5d-fad0-3506-a05f-867e74c48a98/1_org_zoom.jpg",
                "https://cdn.dsmcdn.com/ty1898/prod/QC_PREP/20260711/13/6a737cfb-face-3029-99dd-013b254bf1a6/1_org_zoom.jpg",
                "https://cdn.dsmcdn.com/ty1906/prod/QC_PREP/20260711/13/7f3e5b33-ec8a-31b8-99de-bb5988c7cef9/1_org_zoom.jpg",
                "https://cdn.dsmcdn.com/ty1900/prod/QC_PREP/20260711/13/88eb96e4-56db-351c-90e7-f76428d504a9/1_org_zoom.jpg",
                "https://cdn.dsmcdn.com/ty1934/prod/QC_PREP/20260711/13/9df4af63-7e9a-3180-af89-e4f8669f93ee/1_org_zoom.jpg"
            ],
            "rating": {
                "count": 32,
                "average": 3.4375,
                "review_count": 19
            },
            "seller": {
                "id": 1297286,
                "name": "BRIGELLE",
                "score": 8.4
            },
            "category": {
                "id": 1182,
                "name": "Elbise",
                "path": [
                    "Giyim",
                    "Elbise"
                ]
            },
            "in_stock": true,
            "variants": [
                {
                    "size": "S",
                    "price": 689,
                    "barcode": "8697451201046",
                    "currency": "TRY",
                    "in_stock": true,
                    "item_number": 1635976967
                },
                {
                    "size": "M",
                    "price": 689,
                    "barcode": "8697451201045",
                    "currency": "TRY",
                    "in_stock": true,
                    "item_number": 1635976970
                },
                {
                    "size": "L",
                    "price": 689,
                    "barcode": "8697451201044",
                    "currency": "TRY",
                    "in_stock": true,
                    "item_number": 1635976968
                }
            ],
            "description": "K\u0131sa elbise\n%100 Polyester",
            "free_shipping": true,
            "favorite_count": 24777
        }
    },
    "meta": {
        "credits": 10,
        "billable": true,
        "endpoint_family": "product"
    },
    "success": true
}

Errors

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

422

Validation Error

A required parameter or a value is invalid. This response is not billable.

{
    "errors": {
        "id": [
            "The id is the product number from search, e.g. 1167699402."
        ]
    },
    "message": "The request validation failed"
}
404

Not Found

The product does not exist on Trendyol. This response is not billable.

{
    "meta": {
        "credits": 0,
        "billable": false,
        "retryable": false,
        "endpoint_family": "product"
    },
    "error": {
        "code": "NOT_FOUND",
        "message": "The requested product was not found."
    },
    "success": false
}
503

Upstream Unavailable

Trendyol could not be reached after several tries. This response is not billable. Retry shortly.

{
    "meta": {
        "credits": 0,
        "billable": false,
        "retryable": true,
        "endpoint_family": "product"
    },
    "error": {
        "code": "UPSTREAM_UNAVAILABLE",
        "message": "Trendyol could not be reached. Please retry shortly."
    },
    "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.