SerpBase

API reference · E-commerce

Myntra Product Details

Read one Myntra product from its /buy URL. Keep product lookup separate from the Myntra search endpoint.

POSThttps://api.serpbase.dev/myntra/product
2 creditsOpen in Playground

Example

BASH
curl -X POST 'https://api.serpbase.dev/myntra/product' \
  -H "Content-Type: application/json" \
  -H 'X-API-Key: YOUR_API_KEY' \
  --max-time 60 \
  -d '{"url":"https://www.myntra.com/casual-shoes/hrx+by+hrithik+roshan/hrx-by-hrithik-roshan-unisex-round-toe-lace-ups-sneakers/32064729/buy"}'
Response · real, shortened
{
  "status": 0,
  "credits_charged": 2,
  "request_id": "r-4b27fe8a36d9ac303a5da7dd",
  "product_id": "myntra_product",
  "action": "product",
  "product": {
    "brand": "HRX by Hrithik Roshan",
    "country_of_origin": "India",
    "id": "32064729",
    "link": "https://www.myntra.com/casual-shoes/hrx+by+hrithik+roshan/hrx-by-hrithik-roshan-unisex-round-toe-lac…",
    "list_price": {
      "amount": "3399",
      "currency": "INR",
      "display": "3399"
    },
    "media": [
      {
        "image_url": "http://assets.myntassets.com/h_($height),q_($qualityPercentage),w_($width)/v1/assets/images/2026/JUL…",
        "type": "image",
        "url": "http://assets.myntassets.com/h_($height),q_($qualityPercentage),w_($width)/v1/assets/images/2026/JUL…"
      }
    ],
    "title": "HRX by Hrithik Roshan Unisex Round Toe Lace-Ups Sneakers",
    "url": "https://www.myntra.com/casual-shoes/hrx+by+hrithik+roshan/hrx-by-hrithik-roshan-unisex-round-toe-lac…",
    "variants": [
      {
        "id": "103246801",
        "in_stock": true,
        "inventory": [
          {
            "available_count": "16",
            "country_of_origin": "India",
            "discount_id": "32064729:1020918394",
            "expiry_date": "0",
            "frg_list_url": "https://www.myntra.com/free-gift-list?baseStyleId=32064729&sellerPartnerId=22530&skuId=103246801&src=pdp",
            "list_price": {
              "amount": "3399",
              "currency": "INR",
              "display": "3399"
            },
            "manufacturer_info": "SOBTI FOOTWEAR, F-70 site c, upsidc industrial area, sikandra, agra, (U.P) - 282007",
            "packer_info": "SOBTI FOOTWEAR, F-70 site c, upsidc industrial area, sikandra, agra, (U.P) - 282007",
            "price": {
              "amount": "827",
              "currency": "INR",
              "display": "827"
            },
            "procurement_time_days": 1,
            "sellable_inventory_count": "16",
            "seller": {
              "id": "22530"
            },
            "supply_type": "ON_HAND",
            "warehouse_refs": [
              "28817"
            ]
          }
        ],
        "type": "size",
        "value": "3"
      }
    ]
  },
  "source": "myntra",
  "url": "https://www.myntra.com/casual-shoes/hrx+by+hrithik+roshan/hrx-by-hrithik-roshan-unisex-round-toe-lac…"
}

Parameters

format
"json" | "markdown"
json (default) returns the parsed result.
More

markdown returns the same result as Markdown text (text/markdown) for language models: no envelope, no duplicate alias fields, no inline images. Same credits; failures keep the JSON envelope.

url
string
Example: "https://www.myntra.com/casual-shoes/hrx+by+hrithik+roshan/hrx-by-hrithik-roshan-unisex-round-toe-lace-ups-sneakers/32064729/buy"
country
string
Public alias for locale.country.
More

Use one spelling at a time; the API validates the parameters and values supported by this product.

cursor
string
Public alias for pagination.cursor.
More

Use one spelling at a time; the API validates the parameters and values supported by this product.

device
string
Public alias for options.device.
More

Use one spelling at a time; the API validates the parameters and values supported by this product.

gl
string
Public alias for locale.country.
More

Use one spelling at a time; the API validates the parameters and values supported by this product.

hl
string
Public alias for locale.language.
More

Use one spelling at a time; the API validates the parameters and values supported by this product.

html
boolean
Public alias for include_html.
More

Use one spelling at a time; the API validates the parameters and values supported by this product.

language
string
Public alias for locale.language.
More

Use one spelling at a time; the API validates the parameters and values supported by this product.

limit
integer
Public alias for pagination.limit.
More

Use one spelling at a time; the API validates the parameters and values supported by this product.

markdown
boolean
Public alias for include_markdown.
More

Use one spelling at a time; the API validates the parameters and values supported by this product.

mobile
boolean
Public alias for options.device.
More

Use one spelling at a time; the API validates the parameters and values supported by this product.

num
integer
Public alias for pagination.limit.
More

Use one spelling at a time; the API validates the parameters and values supported by this product.

page
integer
Public alias for pagination.page.
More

Use one spelling at a time; the API validates the parameters and values supported by this product.

q
string
Public alias for query.
More

Use one spelling at a time; the API validates the parameters and values supported by this product.

The sample shows example parameters, not the complete request contract. Known fields are validated by the API; additional parameters are allowed.

What comes back

The fields are those in the response above; every endpoint also carries status, credits_charged and request_id.

If it fails

A failed request has a non-zero status and an error, and is not charged. The ones you will see here:

1000A parameter is missing or wrongFix the request
1020No credits leftTop up
1029Over your requests per secondWait Retry-After seconds
1502 · 1504The source could not be read this timeRetry
All status codes →