SerpBase
Back to Blog

Myntra API: Search Results as JSON

Myntra has no public API. One POST returns its search results as JSON: brand, product, link, product ID, MRP in INR, rating and images. Tested on two queries.

November 26, 2026
By SerpBase Team2 min read

Short answer: Myntra has no public API, but one POST to /myntra/search returns its search results for a keyword as JSON — brand, product name, link, product ID, MRP in INR, rating, rating count and images.

Myntra is one of India's largest online fashion stores, and its catalogue is only exposed to partners. For assortment research, brand share on a keyword or rank tracking, the search page is what you need.

The request

curl -X POST 'https://api.serpbase.dev/myntra/search' \
  -H 'Content-Type: application/json' \
  -H 'X-API-Key: YOUR_API_KEY' \
  -d '{"query":"shoes"}'

What comes back

We ran this on 26 November 2026. shoes returned 32 products in about 5 seconds, with pagination.total_results of 282824. A second test, {"query":"kurta","page":2}, returned 33 products in about 5 seconds out of 188286.

Each item in products has:

FieldWhat it holds
positionOrder on the page, starting at 1 on every page
idMyntra's product (style) ID
brand, titleBrand and product name
urlProduct page on myntra.com
list_priceMRP: amount, currency (INR), display
rating, reviews_countAverage rating and number of ratings
mediaProduct images (10 on the first result)

Python: brand share on a keyword

import collections, time, requests

brands = collections.Counter()
for page in (1, 2, 3):
    r = requests.post(
        "https://api.serpbase.dev/myntra/search",
        headers={"X-API-Key": "YOUR_API_KEY"},
        json={"query": "kurta", "page": page},
        timeout=60,
    ).json()
    if r["status"] != 0:
        print("page", page, "failed:", r.get("error"))
        continue
    brands.update(p["brand"] for p in r["products"])
    time.sleep(1)

for brand, n in brands.most_common(10):
    print(n, brand)

Things that trip people up

  • list_price is the MRP, not what the shopper pays. One product listed at 3,699 in search was selling at 994 on its product page the same day. For the selling price call the Myntra product endpoint with the item's url.
  • A rating of 0 means unrated. New items come back with rating: 0 and reviews_count: "0". Exclude them from averages.
  • rating is a long decimal such as 4.315268516540527. Round it yourself.
  • Paging is by page number only. page works; a cursor or a page-size override does not. Expect a little over 30 products per page.
  • position restarts on each page. For an overall rank, add the items from earlier pages.
  • Counts are strings: "3838", "282824".

Related endpoints

For another Indian store see the Flipkart product endpoint. For marketplaces in the US there are Amazon search and Walmart search.

Cost and limits

Each request costs 2 credits; failed requests are not charged. The response is always HTTP 200 with a status field: 0 means success, anything else comes with an error string. Credits cost $0.25–$0.50 per 1,000 depending on the plan, and new accounts get 500 free credits without a card.