APIs / Marketplaces / Myntra

1 credit per call3 endpoints19 datapoints

Myntra API

Myntra API for fashion product search by brand, colour, size and price, product details and reviews filtered by rating as JSON. 1 credit per successful call.

Myntra
GET/v1/myntra/search?query=men+tshirts
{
  "success": true,
  "data": {
    "query": "men tshirts",
    "page": 1,
    "per_page": 50,
    "total_is_estimate": false,
    "items": [
      {
        "position": 1,
        "id": "12027436",
        "name": "Levis Men Soft Pure Cotton Round Neck Half Sleeve Tshirt",
        "brand": "Levis",
        "description": "Solid Lounge T-shirt",
        "url": "https://www.myntra.com/Lounge-Tshirts/Levis/Levis-Men-Soft-Pure-Cotton-Round-Neck-Half-Sleeve-Tshirt/12027436/buy",
        "price": {
          "current": 389,
          "original": 649,
          "discount_percent": 40.1,
          "discount_label": "(40% OFF)",
          "currency": "INR"
        },
        "rating": {
          "average": 4.41,
          "count": 36055
        },
        "gender": "Men",
        "category": "Lounge Tshirts",
        "article_type": {
          "typeName": "Lounge Tshirts"
        },
        "color": "White",
        "season": "Spring",
        "year": "2020",
        "images": [
          {
            "view": "default",
            "url": "https://assets.myntassets.com/assets/images/12027436/2022/9/15/ea90445c-a37b-43ac-948b-8e291ec78dc31663221311972LevisMenWhiteSolidRoundNeckLoungeT-shirt1.jpg"
          },
          {
            "view": "left",
            "url": "https://assets.myntassets.com/assets/images/12027436/2022/9/15/ec61f604-83bf-4d5e-99cf-8fd4b115e0181663221312019LevisMenWhiteSolidRoundNeckLoungeT-shirt5.jpg"
          },
          {
            "view": "bottom",
            "url": "https://assets.myntassets.com/assets/images/12027436/2022/9/15/4cfe64a6-a51d-422e-86ab-3c088170adb91663221312036LevisMenWhiteSolidRoundNeckLoungeT-shirt7.jpg"
          }
        ],
        "sizes": [
          "S",
          "M",
          "L"
        ],
        "inventory": [
          {
            "sku_id": 41875338,
            "size": "M",
            "available": true,
            "count": 404
          }
        ],
        "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": "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"
          }
        ],
        "is_sponsored": false
      },
      {
        "position": 2,
        "id": "36468833",
        "name": "U.S. Polo Assn. Men Pure Cotton Comfort Fit Lounge T-Shirt",
        "brand": "U.S. Polo Assn.",
        "description": "Men Comfort Fit Lounge T-Shirt",
        "url": "https://www.myntra.com/Lounge-Tshirts/U.S.+Polo+Assn./US-Polo-Assn-Men-Pure-Cotton-Comfort-Fit-Lounge-T-Shirt/36468833/buy",
        "price": {
          "current": 756,
          "original": 849,
          "discount_percent": 11,
          "discount_label": "(11% OFF)",
          "currency": "INR"
        },
        "rating": {
          "average": 4.37,
          "count": 2535
        },
        "gender": "Men",
        "category": "Lounge Tshirts",
        "article_type": {
          "typeName": "Lounge Tshirts"
        },
        "color": "Green",
        "season": "Fall",
        "year": "2025",
        "images": [
          {
            "view": "default",
            "url": "https://assets.myntassets.com/assets/images/2025/AUGUST/19/72HUAS4c_cb743c317bd64db2922fcbb58431a525.jpg"
          },
          {
            "view": "top",
            "url": "https://assets.myntassets.com/assets/images/2025/AUGUST/26/n0xBSquJ_c36746e6d91d445b98e9ec1bb67bdbed.jpg"
          },
          {
            "view": "front",
            "url": "https://assets.myntassets.com/assets/images/2025/AUGUST/19/4cl1gsXt_c1cc7b9a153343e8b47554fd71600478.jpg"
          }
        ],
        "sizes": [
          "S",
          "M",
          "L"
        ],
        "inventory": [
          {
            "sku_id": 116526402,
            "size": "M",
            "available": true,
            "count": 27
          }
        ],
        "color_variants": [
          {
            "id": "36468833",
            "image": "https://assets.myntassets.com/assets/images/2025/AUGUST/19/72HUAS4c_cb743c317bd64db2922fcbb58431a525.jpg",
            "color_hex": "#5eb160"
          },
          {
            "id": "36468836",
            "image": "https://assets.myntassets.com/assets/images/2025/AUGUST/19/cIJIvxQw_f1772f4810ea4ccb9d8662bf41aa439e.jpg",
            "color_hex": "#ede6b9"
          },
          {
            "id": "36468832",
            "image": "https://assets.myntassets.com/assets/images/2025/AUGUST/19/JI5sEDiX_d5d13d754c9f40d4a116a7965e313f17.jpg",
            "color_hex": "#8b4513"
          }
        ],
        "is_sponsored": false
      },
      {
        "position": 3,
        "id": "12027432",
        "name": "Levis Men Soft Pure Cotton Round Neck Half Sleeve Tshirt",
        "brand": "Levis",
        "description": "Solid Lounge T-shirt",
        "url": "https://www.myntra.com/Lounge-Tshirts/Levis/Levis-Men-Soft-Pure-Cotton-Round-Neck-Half-Sleeve-Tshirt/12027432/buy",
        "price": {
          "current": 421,
          "original": 649,
          "discount_percent": 35.1,
          "discount_label": "(35% OFF)",
          "currency": "INR"
        },
        "rating": {
          "average": 4.41,
          "count": 36055
        },
        "gender": "Men",
        "category": "Lounge Tshirts",
        "article_type": {
          "typeName": "Lounge Tshirts"
        },
        "color": "Black",
        "season": "Spring",
        "year": "2020",
        "images": [
          {
            "view": "default",
            "url": "https://assets.myntassets.com/assets/images/12027432/2022/9/15/09d02049-216d-4adf-917a-89c7585b28f51663221482922LevisMenBlackSolidPureCottonRoundNeckLoungeT-shirt1.jpg"
          },
          {
            "view": "front",
            "url": "https://assets.myntassets.com/assets/images/12027432/2022/9/15/592071bc-190e-40f9-ae3c-f05b87877f031663221482932LevisMenBlackSolidPureCottonRoundNeckLoungeT-shirt2.jpg"
          },
          {
            "view": "right",
            "url": "https://assets.myntassets.com/assets/images/12027432/2022/9/15/b220b085-62f7-4cb6-bec0-672949e488ea1663221482959LevisMenBlackSolidPureCottonRoundNeckLoungeT-shirt4.jpg"
          }
        ],
        "sizes": [
          "S",
          "M",
          "L"
        ],
        "inventory": [
          {
            "sku_id": 41875318,
            "size": "S",
            "available": true,
            "count": 171
          }
        ],
        "color_variants": [
          {
            "id": "12027432",
            "image": "https://assets.myntassets.com/assets/images/12027432/2022/9/15/09d02049-216d-4adf-917a-89c7585b28f51663221482922LevisMenBlackSolidPureCottonRoundNeckLoungeT-shirt1.jpg",
            "color_hex": "#36454f"
          },
          {
            "id": "12027436",
            "image": "https://assets.myntassets.com/assets/images/12027436/2022/9/15/ea90445c-a37b-43ac-948b-8e291ec78dc31663221311972LevisMenWhiteSolidRoundNeckLoungeT-shirt1.jpg",
            "color_hex": "#f2f2f2"
          },
          {
            "id": "12027418",
            "image": "https://assets.myntassets.com/assets/images/12027418/2022/9/15/b5f7623a-cc63-43b2-bed7-1ad9ab3070921663221186524LevisMenNavyBlueSolidRoundNeckLoungeT-shirts1.jpg",
            "color_hex": "#3c4477"
          }
        ],
        "is_sponsored": false
      }
    ],
    "total_results": 489120,
    "has_next_page": true,
    "filters": [
      {
        "id": "size_facet",
        "values": [
          {
            "id": "3XS",
            "name": "3XS",
            "count": 131
          },
          {
            "id": "XXS",
            "name": "XXS",
            "count": 9232
          },
          {
            "id": "XS",
            "name": "XS",
            "count": 44629
          }
        ]
      },
      {
        "id": "Color",
        "values": [
          {
            "id": "Assorted",
            "name": "Assorted",
            "count": 82
          },
          {
            "id": "Beige",
            "name": "Beige",
            "count": 11298
          },
          {
            "id": "Black",
            "name": "Black",
            "count": 89256
          }
        ]
      },
      {
        "id": "Brand",
        "values": [
          {
            "id": "13Thirty",
            "name": "13Thirty",
            "count": 22
          },
          {
            "id": "18th Highstreet",
            "name": "18th Highstreet",
            "count": 5
          },
          {
            "id": "224DOT",
            "name": "224DOT",
            "count": 21
          }
        ]
      }
    ],
    "sort_options": [
      "new",
      "price_desc",
      "popularity"
    ]
  },
  "meta": {
    "endpoint_family": "search",
    "request_id": "req_2d74f350a7e04213aa3171021d1d51fd",
    "credits_charged": 1,
    "credits_remaining": 1922
  }
}
200 OKJSONX-Credits-Used: 1
Recorded from our API and shortened.

Sample data

What one call returns

A recorded run of search: the fields and shapes you will get, shortened to 3 items.

#positionintegeridstringnamestringbrandstringdescriptionstringurlurlpriceobjectratingobjectgenderstringcategorystringarticle_typeobjectcolorstringseasonstringyearstringimagesobject[]sizesstring[]inventoryobject[]color_variantsobject[]is_sponsoredboolean
1112027436Levis Men Soft Pure Cotton Round Neck Half Sleeve TshirtLevisSolid Lounge T-shirthttps://www.myntra.com/Lounge-Tshirts/Levis/Levis-Men-Soft-Pure-Cotton-Round-Neck-Half-Sleeve-Tshirt/12027436/buy{5 fields}{2 fields}MenLounge Tshirts{1 fields}WhiteSpring2020[3 items][3 items][1 item][3 items]false
2236468833U.S. Polo Assn. Men Pure Cotton Comfort Fit Lounge T-ShirtU.S. Polo Assn.Men Comfort Fit Lounge T-Shirthttps://www.myntra.com/Lounge-Tshirts/U.S.+Polo+Assn./US-Polo-Assn-Men-Pure-Cotton-Comfort-Fit-Lounge-T-Shirt/36468833/buy{5 fields}{2 fields}MenLounge Tshirts{1 fields}GreenFall2025[3 items][3 items][1 item][3 items]false
3312027432Levis Men Soft Pure Cotton Round Neck Half Sleeve TshirtLevisSolid Lounge T-shirthttps://www.myntra.com/Lounge-Tshirts/Levis/Levis-Men-Soft-Pure-Cotton-Round-Neck-Half-Sleeve-Tshirt/12027432/buy{5 fields}{2 fields}MenLounge Tshirts{1 fields}BlackSpring2020[3 items][3 items][1 item][3 items]false

Recorded from our API · 3 items shown · 19 datapoints per itemGET /v1/myntra/search?query=men+tshirts

19 datapoints

Identity

  • idstring
  • namestring
  • brandstring
  • categorystring
  • article_typeobject

Contact

  • urlurl

Reputation

  • ratingobject
  • imagesobject[]

Price

  • priceobject

Other

  • positioninteger
  • descriptionstring
  • genderstring
  • colorstring
  • seasonstring
  • yearstring
  • sizesstring[]
  • inventoryobject[]
  • color_variantsobject[]
  • is_sponsoredboolean

Playground

Run this API

cURLshell
curl "https://api.perceptlayer.com/v1/myntra/search?query=men+tshirts" \
  -H "X-API-Key: $API_KEY"

Myntra · 3 endpoints

Endpoints

Every endpoint takes the same key. Open one for its parameters and an example request.

EndpointRequired parametersCost
GET/v1/myntra/product
none+2 optional
1 credit
GET/v1/myntra/reviews
id+4 optional
1 credit
GET/v1/myntra/search
query+8 optional
1 credit

Overview

About the Myntra API

What you can get

The Myntra API returns Myntra shop data as JSON through 3 endpoints.

  • Search: search takes a query, with page, per_page, sort (price_asc, price_desc, newest, popularity, discount or rating), brand, color, size, min_price and max_price.
  • Products: product takes an id or a product url.
  • Reviews: reviews takes an id, with page, per_page, rating and sort (relevance, newest or lowest_rating).

The recorded search for "men tshirts" returns items, each with position, id, name, brand, description, url, price (current, original, discount_percent, discount_label and currency), rating (average and count), gender, category, color, images, sizes, inventory, color_variants and is_sponsored. It also returns total_results (489120 in that recording), has_next_page, filters and sort_options.

How a call works

Search, then look up: GET /v1/myntra/search?query=men tshirts&sort=discount with your key in the X-API-Key header. Each result carries an id; product and reviews take that id. Check has_next_page before asking for the next page. Every successful call costs 1 credit; failed calls cost nothing.

MarketplacesJSONRESTMCP

More marketplaces APIs

Use cases

Track Myntra prices and discounts for a product list

Use the Myntra API to track Myntra prices and discounts for a product list

Rank a query's products by discount with `sort=discount`

Use the Myntra API to rank a query's products by discount with `sort=discount`

Watch sizes and inventory for products you sell

Use the Myntra API to watch sizes and inventory for products you sell

Read low-rated reviews first with `sort=lowest_rating`

Use the Myntra API to read low-rated reviews first with `sort=lowest_rating`

FAQ

Questions

How much does the Myntra API cost?

Each successful call costs one credit, and each search or reviews page is one call. New accounts get free credits to start, and credit packs bring the price down as you scale.

Can I filter reviews by rating?

Yes. Pass `rating` to `reviews`, or sort with `sort=lowest_rating` or `sort=newest`.

Do I need a Myntra account?

No. You call this Myntra API with your Perceptlayer key in the `X-API-Key` header, with no Myntra login.

What format are responses in?

Every endpoint returns JSON, with no HTML parsing on your side.

Should I build a Myntra scraper instead?

You can, but a Myntra scraper is code you maintain: page changes break it, requests get blocked, and Myntra's terms govern how you collect data. The Myntra API gives you 3 endpoints of named JSON fields for 1 credit per successful call, and failed calls cost nothing. A scraper makes sense only for data these endpoints don't return, so check the response in the playground on this page first.

Try the Myntra API with 100 free credits

No credit card. Failed calls are never billed.