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

Myntra Search API Documentation

GET https://scrappa.co/api/myntra/search

Myntra Search API searches fashion products on Myntra (India). Each item has the price, the MRP and the discount in percent as numbers in INR, brand, rating, color, gender, article type, sizes with stock, color variants and full size images.

Filter by brand, color, size, price range and sort order. Send brand, color and size exactly as the filters list in the answer shows them, for example Roadster, Black and M. An unknown value returns an empty list. Items outside a price range are removed; with a price filter total_results is an estimate and total_is_estimate says so.

Up to 50 results per page. Myntra shows only the first 500 results of a search: a deeper page returns 422. Page N returns the real page N.

Costs 1 credit per successful request. Empty results and failed requests are free.

Myntra Search API Documentation 1 credit / request

Endpoint

Request preview
GET
https://scrappa.co/api/myntra/search
Auth header
x-api-key
Cost
1 credit / request
query = coffee shops
Response preview
200 OK
{
    "data": {
        "page": 1,
        "items": [
            {
                "id": "36674095",
                "url": "https://www.myntra.com/Tshirts/Puma/Puma-Unisex-TRAIN-ALL-DAY-Essentials-Slim-Fit-dryCELL-Polo-Sports-T-shirt/36674095/buy",
                "name": "Puma Unisex TRAIN ALL DAY Essentials Slim Fit dryCELL Polo Sports T-shirt",
                "year": "2025",
                "brand": "Puma",
                "color": "Navy Blue",
                "price": {
                    "current": 779,
                    "currency": "INR",
...

Parameters

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

Runnable path

1 required parameter needed before sending a request.

8 optional filters available.

query string Required

Search text, 1 to 120 characters, for example men tshirts.

Example value coffee shops
page integer Optional

One-based page number (default 1). The first 500 results can be reached.

Example value 1
per_page integer Optional

Results per page, 1 to 50 (default 50).

Example value 10
sort string Optional

One of price_asc, price_desc, newest, popularity, discount, rating. Rating sort keeps the upstream order, so items without ratings can come first.

Example value relevance
brand string Optional

Brand as the filters list shows it, for example Roadster.

Example value example
color string Optional

Color as the filters list shows it, for example Black.

Example value example
size string Optional

Size as the filters list shows it, for example M.

Example value example
min_price number Optional

Lowest price in INR.

Example value 10
max_price number Optional

Highest price in INR.

Example value 10

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": {
        "page": 1,
        "items": [
            {
                "id": "36674095",
                "url": "https://www.myntra.com/Tshirts/Puma/Puma-Unisex-TRAIN-ALL-DAY-Essentials-Slim-Fit-dryCELL-Polo-Sports-T-shirt/36674095/buy",
                "name": "Puma Unisex TRAIN ALL DAY Essentials Slim Fit dryCELL Polo Sports T-shirt",
                "year": "2025",
                "brand": "Puma",
                "color": "Navy Blue",
                "price": {
                    "current": 779,
                    "currency": "INR",
                    "original": 1499,
                    "discount_label": "(48% OFF)",
                    "discount_percent": 48
                },
                "sizes": [
                    "XXS",
                    "XS",
                    "S",
                    "M",
                    "L",
                    "XL",
                    "XXL",
                    "3XL"
                ],
                "gender": "Unisex",
                "images": [
                    {
                        "url": "https://assets.myntassets.com/assets/images/2025/SEPTEMBER/5/K2LJrBsO_9aae96f530b44065b7bf9af39058882a.jpg",
                        "view": "default"
                    },
                    {
                        "url": "https://assets.myntassets.com/assets/images/2025/SEPTEMBER/5/dJvIVWPq_0f3981286e674047955f289cb21f5e35.jpg",
                        "view": "back"
                    },
                    {
                        "url": "https://assets.myntassets.com/assets/images/2025/SEPTEMBER/5/EUqnEmlx_11d6611269784a2a84a986d522c407c9.jpg",
                        "view": "right"
                    },
                    {
                        "url": "https://assets.myntassets.com/assets/images/2025/SEPTEMBER/5/XbK75Nhs_1349929793a340178f6409b3b7a0d991.jpg",
                        "view": "front"
                    },
                    {
                        "url": "https://assets.myntassets.com/assets/images/2025/SEPTEMBER/5/bjol5lpI_676b3c894f034608affd5406d0fd8db9.jpg",
                        "view": "left"
                    }
                ],
                "rating": {
                    "count": 1139,
                    "average": 4.5
                },
                "season": "Fall",
                "category": "Tshirts",
                "position": 1,
                "inventory": [
                    {
                        "size": "XL",
                        "count": 166,
                        "sku_id": 117256056,
                        "available": true
                    }
                ],
                "description": "Unisex Polo Training T-shirt",
                "article_type": {
                    "typeName": "Tshirts"
                },
                "is_sponsored": false,
                "color_variants": [
                    {
                        "id": "36674095",
                        "image": "https://assets.myntassets.com/assets/images/2025/SEPTEMBER/5/K2LJrBsO_9aae96f530b44065b7bf9af39058882a.jpg",
                        "color_hex": "#3c4477"
                    },
                    {
                        "id": "36674094",
                        "image": "https://assets.myntassets.com/assets/images/2025/SEPTEMBER/5/zKhXXBcj_6285df1967e944a1a0927dc80931184d.jpg",
                        "color_hex": "#36454f"
                    }
                ]
            },
            {
                "id": "12027436",
                "url": "https://www.myntra.com/Lounge-Tshirts/Levis/Levis-Men-Soft-Pure-Cotton-Round-Neck-Half-Sleeve-Tshirt/12027436/buy",
                "name": "Levis Men Soft Pure Cotton Round Neck Half Sleeve Tshirt",
                "year": "2020",
                "brand": "Levis",
                "color": "White",
                "price": {
                    "current": 389,
                    "currency": "INR",
                    "original": 649,
                    "discount_label": "(40% OFF)",
                    "discount_percent": 40.1
                },
                "sizes": [
                    "S",
                    "M",
                    "L",
                    "XL"
                ],
                "gender": "Men",
                "images": [
                    {
                        "url": "https://assets.myntassets.com/assets/images/12027436/2022/9/15/ea90445c-a37b-43ac-948b-8e291ec78dc31663221311972LevisMenWhiteSolidRoundNeckLoungeT-shirt1.jpg",
                        "view": "default"
                    },
                    {
                        "url": "https://assets.myntassets.com/assets/images/12027436/2022/9/15/ec61f604-83bf-4d5e-99cf-8fd4b115e0181663221312019LevisMenWhiteSolidRoundNeckLoungeT-shirt5.jpg",
                        "view": "left"
                    },
                    {
                        "url": "https://assets.myntassets.com/assets/images/12027436/2022/9/15/44fb08ae-efe4-4b60-b0c7-b4923153288d1663221312027LevisMenWhiteSolidRoundNeckLoungeT-shirt6.jpg",
                        "view": "top"
                    },
                    {
                        "url": "https://assets.myntassets.com/assets/images/12027436/2022/9/15/d6a98b6c-e152-4337-a0cf-2f3ab7a28cf01663221311982LevisMenWhiteSolidRoundNeckLoungeT-shirt2.jpg",
                        "view": "front"
                    },
                    {
                        "url": "https://assets.myntassets.com/assets/images/12027436/2022/9/15/4cfe64a6-a51d-422e-86ab-3c088170adb91663221312036LevisMenWhiteSolidRoundNeckLoungeT-shirt7.jpg",
                        "view": "bottom"
                    },
                    {
                        "url": "https://assets.myntassets.com/assets/images/12027436/2022/9/15/bcbbaa26-393a-4684-a8e1-dbd33c34d0dc1663221312010LevisMenWhiteSolidRoundNeckLoungeT-shirt4.jpg",
                        "view": "right"
                    },
                    {
                        "url": "https://assets.myntassets.com/assets/images/12027436/2022/9/15/f0028b78-6bd2-4be8-af63-08373d368abe1663221312002LevisMenWhiteSolidRoundNeckLoungeT-shirt3.jpg",
                        "view": "back"
                    }
                ],
                "rating": {
                    "count": 35578,
                    "average": 4.41
                },
                "season": "Spring",
                "category": "Lounge Tshirts",
                "position": 2,
                "inventory": [
                    {
                        "size": "M",
                        "count": 585,
                        "sku_id": 41875338,
                        "available": true
                    }
                ],
                "description": "Solid Lounge T-shirt",
                "article_type": {
                    "typeName": "Lounge Tshirts"
                },
                "is_sponsored": false,
                "color_variants": [
                    {
                        "id": "12027436",
                        "image": "https://assets.myntassets.com/assets/images/12027436/2022/9/15/ea90445c-a37b-43ac-948b-8e291ec78dc31663221311972LevisMenWhiteSolidRoundNeckLoungeT-shirt1.jpg",
                        "color_hex": "#f2f2f2"
                    },
                    {
                        "id": "12027432",
                        "image": "https://assets.myntassets.com/assets/images/12027432/2022/9/15/09d02049-216d-4adf-917a-89c7585b28f51663221482922LevisMenBlackSolidPureCottonRoundNeckLoungeT-shirt1.jpg",
                        "color_hex": "#36454f"
                    },
                    {
                        "id": "12027428",
                        "image": "https://assets.myntassets.com/assets/images/12027428/2020/11/23/4f6be415-c536-49e5-bc78-534dade9cd2d1606116792652-Levis-Men-Grey-Melange-Solid-Pure-Cotton-V-Neck-Lounge-T-shi-1.jpg",
                        "color_hex": "#9fa8ab"
                    },
                    {
                        "id": "12027424",
                        "image": "https://assets.myntassets.com/assets/images/12027424/2022/9/15/91b7a73b-7707-49ce-9364-05254a39de0d1663221437123LevisMenRedSolidRoundNeckLoungeT-shirts1.jpg",
                        "color_hex": "#d34b56"
                    },
                    {
                        "id": "12027418",
                        "image": "https://assets.myntassets.com/assets/images/12027418/2022/9/15/b5f7623a-cc63-43b2-bed7-1ad9ab3070921663221186524LevisMenNavyBlueSolidRoundNeckLoungeT-shirts1.jpg",
                        "color_hex": "#3c4477"
                    }
                ]
            }
        ],
        "query": "men tshirts",
        "filters": [
            {
                "id": "size_facet",
                "values": [
                    {
                        "id": "3XS",
                        "name": "3XS",
                        "count": 129
                    },
                    {
                        "id": "XXS",
                        "name": "XXS",
                        "count": 8361
                    },
                    {
                        "id": "XS",
                        "name": "XS",
                        "count": 43936
                    }
                ]
            },
            {
                "id": "Color",
                "values": [
                    {
                        "id": "Assorted",
                        "name": "Assorted",
                        "count": 83
                    },
                    {
                        "id": "Beige",
                        "name": "Beige",
                        "count": 11721
                    },
                    {
                        "id": "Black",
                        "name": "Black",
                        "count": 91858
                    }
                ]
            },
            {
                "id": "Brand",
                "values": [
                    {
                        "id": "13Thirty",
                        "name": "13Thirty",
                        "count": 22
                    },
                    {
                        "id": "18th Highstreet",
                        "name": "18th Highstreet",
                        "count": 5
                    },
                    {
                        "id": "1989 STUDIO",
                        "name": "1989 STUDIO",
                        "count": 9
                    }
                ]
            }
        ],
        "per_page": 50,
        "sort_options": [
            "new",
            "price_desc",
            "popularity",
            "discount",
            "price_asc",
            "Customer Rating"
        ],
        "has_next_page": true,
        "total_results": 499135,
        "total_is_estimate": false
    },
    "meta": {
        "credits": 1,
        "billable": true,
        "endpoint_family": "search"
    },
    "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": {
        "page": [
            "Myntra shows only the first 500 results of a search. Use a lower page, or narrow the search with filters."
        ]
    },
    "message": "The request validation failed"
}
503

Upstream Unavailable

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

{
    "meta": {
        "credits": 0,
        "billable": false,
        "retryable": true,
        "endpoint_family": "search"
    },
    "error": {
        "code": "UPSTREAM_UNAVAILABLE",
        "message": "Myntra 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.