Crawl: the most reliable web crawler APISee what’s new
Zenrows
Talk to sales Start free

Flipkart scraper

The Zenrows Flipkart scraper turns Flipkart search and product URLs into structured JSON: product ID, name, selling price, MRP, discount percentage, rating, rating count, seller name and rating, delivery date and specifications. Fetch in Adaptive Stealth Mode opens the page from India and Extract returns the fields. Run it from an API call, the CLI or an AI agent.

Site
flipkart.com
Returns
Prices, MRP, discounts, ratings, sellers and specs
Runs on
Fetch, Extract, Batch, Crawl
Updated
{
  "page_context": {
    "canonical_url": "https://www.flipkart.com/search?q=headphones",
    "page_title": "Headphones- Buy Products Online at Best Price in India - All Categories | Flipkart.com"
  },
  "products": [
    {
      "list_position": 1,
      "product_id": "ACCHE5CSYGVG5H97",
      "name": "TRIGGR Trinity 2 with Dual Pairing, ENC, Fast Charge, 50H Battery, Rubber Finish, v5.3 Bluetooth",
      "selling_price": 699,
      "original_price": 2999,
      "discount_percentage": 76,
      "rating": 3.9,
      "rating_count": 34335,
      "offer_label": "Top Discount of the Sale",
      "product_url": "/triggr-trinity-2-dual-pairing-enc-fast-charge-50h-battery-rubber-finish-v5-3-bluetooth/p/itmf187255153195?pid=ACCHE5CSYGVG5H97&lid=LSTACCHE5CSYGVG5H973JEXVM…",
      "image_url": "https://rukminim2.flixcart.com/image/612/612/xif0q/headphone/d/x/r/-original-imahew8jzbryezuj.jpeg?q=70"
    },
    {
      "list_position": 4,
      "product_id": "ACCHCJW3ENYUPQAA",
      "name": "boAt Rockerz 412, 60H Battery,40ms Latency,ENx, App Support Bluetooth",
      "selling_price": 1099,
      "original_price": 2999,
      "discount_percentage": 63,
      "rating": 4,
      "rating_count": 22101,
      "offer_label": "Lowest Price Live",
      "product_url": "/boat-rockerz-412-60h-battery-40ms-latency-enx-app-support-bluetooth/p/itmb5dd2c5d386eb?pid=ACCHCJW3ENYUPQAA…"
    }
  ]
}

Request and output of a live call to a Flipkart search page from India on Oct 29, 2026, trimmed to two of the 40 results on the page. A field is returned when the page shows it.

What data can you scrape from Flipkart?

Flipkart search pages and product pages come back as their own groups of fields.

Search results carry the price, the MRP and the discount for every listing on the page; product pages add the seller, the delivery date, the offers and the full specification table. These are the fields pricing and catalog teams read most, with the path where each lives in the JSON.

FieldWhat it holdsExample
products[].product_id (search) Flipkart's product ID, the pid in every product URL ACCHCJW3ENYUPQAA
products[].selling_price (search) The price in rupees shown on the result card 1099
products[].original_price (search) The MRP, the struck-through price on the card 2999
products[].discount_percentage (search) The "% off" Flipkart prints next to the price 63
products[].rating (search) Star rating out of 5 4
products[].rating_count (search) Number of ratings behind the star score 22101
products[].offer_label (search) The deal tag on the card Lowest Price Live
products[].list_position (search) Rank of the listing on the results page 4
product.sku The product ID on a product page ACCHCJW3ENYUPQAA
product.brand Brand on the listing boAt
pricing.selling_price The price on the product page 1199
pricing.effective_price_after_offers The price Flipkart shows once its offers apply 1139
pricing.emi_per_month Lowest monthly EMI shown for the item 400
seller.name The seller holding the offer BUZZINDIA
seller.rating The seller's own rating 4.4
delivery.estimated_delivery_date Delivery promise for the shopper's location Sunday, 1 Nov
ratings_summary.review_count Written reviews, next to the rating count 1818
specifications[] Group, name and value of every spec row { "group": "Connectivity Features", … }

How to scrape Flipkart with Zenrows

  1. Create a free Zenrows account and copy your API key from the dashboard.
  2. Pick the Flipkart URL. A search (/search?q=…) returns the price, MRP and discount of every listing on the page. A product page (/…/p/itm…?pid=…) returns the seller, delivery, offers and specs for one item.
  3. Send it from India with the default configuration: Adaptive Stealth Mode to open the page and Extract to return the fields. Flipkart is an Indian store, and its prices, offers and delivery dates are shown for a shopper in India.
  4. Read parsed from the response. Search results live in products[], a product page in product, pricing and seller. To keep only some fields, list their paths and the response returns just those.
  5. Run your product IDs in Batch once one URL returns what you need, and schedule the job to build a daily price history.
# pip install requests
import json
import requests

params = {
    "apikey": "YOUR_ZENROWS_API_KEY",
    "url": "https://www.flipkart.com/search?q=headphones",
    "mode": "auto",          # Adaptive Stealth Mode
    "extract": "auto",       # structured JSON
    "proxy_country": "in",   # Flipkart prices and offers for shoppers in India
}
response = requests.get("https://api.zenrows.com/v1/", params=params, timeout=180)
response.raise_for_status()

data = response.json()["parsed"]
for item in data.get("products", []):
    print(
        item["list_position"],
        item["product_id"],
        item.get("selling_price"),
        item.get("original_price"),
        item.get("discount_percentage"),
        item.get("rating"),
    )
print(json.dumps(data, indent=2))

Input

The scraper takes one Flipkart URL per request with the options below.

A Batch job applies the same settings to every task, so a catalog of a few thousand products is a list of URLs plus one configuration.

ParameterTypeDefaultDescription
url string required A Flipkart search (/search?q=…), category listing or product page (/…/p/itm…?pid=…)
mode string auto Adaptive Stealth Mode: starts with the lightest setup and adds rendering and protected-site handling only when the page needs them
extract string auto Returns the page's fields as JSON in parsed, next to the raw html
extract_fields string all fields Comma-separated paths to keep, such as pricing.selling_price,seller.name
proxy_country string any Two-letter country code. Use in for Flipkart, whose prices, offers and delivery follow a shopper in India
wait_for string none A CSS selector to wait for before the page is read
session_id integer none Keep the same session for several requests, up to 10 minutes, such as the pages of one search
Batch input
{
  "type": "regular",
  "status": "closed",
  "zenrows_params": {
    "mode": "auto",
    "extract": "auto",
    "proxy_country": "in"
  },
  "tasks": [
    { "url": "https://www.flipkart.com/boat-rockerz-412-60h-battery-40ms-latency-enx-app-support-bluetooth/p/itmb5dd2c5d386eb?pid=ACCHCJW3ENYUPQAA", "external_id": "ACCHCJW3ENYUPQAA" },
    { "url": "https://www.flipkart.com/ptron-studio-pro-w-dual-device-pairing-65hrs-playtime-ai-enc-calls-pristine-sound-bluetooth/p/itmecc0e012b8381?pid=ACCHGBHAD28ZGGPH", "external_id": "ACCHGBHAD28ZGGPH" },
    { "url": "https://www.flipkart.com/search?q=headphones", "external_id": "search-headphones" }
  ]
}

Output

Every response is JSON with two keys: html, the page as Flipkart served it, and parsed, the structured record. The groups inside parsed follow the page type: a search page returns page_context and a products list, a product page returns the item, its pricing, seller, delivery, ratings and specifications. Both samples below are trimmed outputs of live requests from India on Oct 29, 2026.

Need a spreadsheet? Load parsed into pandas with pd.json_normalize(...) and write CSV or Excel. Need the page for an LLM? Ask for Markdown instead of JSON.

{
  "page_context": {
    "canonical_url": "https://www.flipkart.com/search?q=headphones",
    "page_title": "Headphones- Buy Products Online at Best Price in India - All Categories | Flipkart.com"
  },
  "products": [
    {
      "list_position": 2,
      "product_id": "ACCHGBHAD28ZGGPH",
      "name": "PTron Studio Pro w/ Dual-device Pairing, 65hrs Playtime, AI-ENC Calls, Pristine Sound Bluetooth",
      "variant_description": "PTron Studio Pro w/ Dual-device Pairing, 65hrs Playtime, AI-ENC Calls, Pristine Sound Bluetooth",
      "selling_price": 749,
      "original_price": 2599,
      "discount_percentage": 71,
      "rating": 3.9,
      "rating_count": 5887,
      "offer_label": "Bank Offer",
      "product_url": "/ptron-studio-pro-w-dual-device-pairing-65hrs-playtime-ai-enc-calls-pristine-sound-bluetooth/p/itmecc0e012b8381?pid=ACCHGBHAD28ZGGPH…",
      "image_url": "https://rukminim2.flixcart.com/image/612/612/xif0q/headphone/v/o/0/-enriched-transparent-original-imahgzhfbh2k2n3u.png?q=70"
    },
    {
      "list_position": 6,
      "product_id": "ACCHNVN7XECZV5WU",
      "name": "PHILIPS TAH4050-GR Bluetooth & Wired",
      "variant_description": "PHILIPS TAH4050-GR Bluetooth & Wired",
      "selling_price": 1299,
      "original_price": 3999,
      "discount_percentage": 67,
      "rating": 4,
      "rating_count": 457,
      "offer_label": "Top Discount of the Sale",
      "product_url": "/philips-tah4050-gr-bluetooth-wired/p/itmbf47de5aa253f?pid=ACCHNVN7XECZV5WU…",
      "image_url": "https://rukminim2.flixcart.com/image/612/612/xif0q/headphone/e/8/2/-original-imahzegqzbngszpt.jpeg?q=70"
    }
  ]
}

Connect the MCP server (Claude Code)

claude mcp add zenrows -e ZENROWS_API_KEY=YOUR_ZENROWS_API_KEY -- npx -y @zenrows/mcp

MCP config (Cursor, Claude Desktop, Windsurf)

{
  "mcpServers": {
    "zenrows": {
      "command": "npx",
      "args": ["-y", "@zenrows/mcp"],
      "env": { "ZENROWS_API_KEY": "YOUR_ZENROWS_API_KEY" }
    }
  }
}

Or run the CLI

npx -y @zenrows/cli init
zenrows extract "https://www.flipkart.com/search?q=headphones" --proxy-country in

Then ask your agent

Use Zenrows to search Flipkart for "headphones" from India, then return the
first 20 results as a table with product ID, name, selling price, MRP,
discount and rating, sorted by discount, highest first.

Scrape Flipkart from your coding agent

Claude Code, Cursor, Codex and any MCP client can scrape Flipkart from a prompt.

The agent sends the same Fetch and Extract request as the code above, so it reads the same JSON and can compare prices, MRP and sellers across listings for you. Connect the Zenrows MCP server once, or install the CLI and let the agent run it in the terminal.

Scrape Flipkart at scale with Batch and Crawl

Batch runs a list of Flipkart URLs as one job, with your own ID on each result. Use the product ID as the external_id and run the job every morning to record selling price, MRP, discount, seller and delivery date for every product you track. During sale events, when prices change through the day, run it more often.

Crawl finds the product URLs for you. Start it on a search or category listing, keep the links that contain /p/itm, and it returns every product page it reaches. Send the product IDs it finds to Batch for the daily run.

Scheduled jobs run the same Batch job on a timetable, on Zenrows' side: every few hours, once a day, at set times on chosen days, or once at a future date. Each run keeps its own results, a webhook can tell your app when a run finishes, and you can pause or resume the schedule at any time, with no cron server to keep alive.

curl -X POST "https://async.api.zenrows.com/v1/jobs" \
  -H "X-API-Key: YOUR_ZENROWS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "type": "regular",
    "status": "closed",
    "zenrows_params": { "mode": "auto", "extract": "auto", "proxy_country": "in" },
    "tasks": [
      { "url": "https://www.flipkart.com/boat-rockerz-412-60h-battery-40ms-latency-enx-app-support-bluetooth/p/itmb5dd2c5d386eb?pid=ACCHCJW3ENYUPQAA", "external_id": "ACCHCJW3ENYUPQAA" },
      { "url": "https://www.flipkart.com/philips-tah4050-gr-bluetooth-wired/p/itmbf47de5aa253f?pid=ACCHNVN7XECZV5WU", "external_id": "ACCHNVN7XECZV5WU" }
    ]
  }'

# Read the results when the job finishes
curl "https://async.api.zenrows.com/v1/jobs/JOB_ID/results?status=successful" \
  -H "X-API-Key: YOUR_ZENROWS_API_KEY"

What teams do with Flipkart data

Use caseData they pullWho runs it
Competitor price monitoring in India Selling price, MRP and discount per product ID, every day D2C brands and ecommerce pricing teams
Sale event tracking Discount, offer label and price after offers during sale weeks Category managers and marketplace agencies
Seller and MAP compliance Seller name, seller rating and the price each seller lists Brand protection and channel teams
Search rank and digital shelf List position, deal tag and rating for a keyword Consumer brands and retail media agencies
Catalog and spec matching Brand, model ID and the specification table Price comparison sites and data teams
Ratings and demand signals Rating, rating count and review count over time Product, market research and investment analysts

Tips for scraping Flipkart

  • Request from India. Flipkart prices in rupees for Indian shoppers, and its offers and delivery dates depend on the location, so send every request with India as the country.
  • The pid is the product key. Every product URL carries ?pid= and the same value comes back as products[].product_id on search and product.sku on the product page. Use it as your external_id and to join search and product data.
  • Use the short product URL. The links in search results carry tracking parameters such as lid, srno, otracker and ssid. Keep the path plus ?pid=…, which opens the same product.
  • MRP and discount come from search. The result card shows the MRP and the "% off" next to the price, which arrive as original_price and discount_percentage. Search a brand or model name to read them for products you already track.
  • Page through search with the page parameter. A search page lists 40 results. Add &page=2 and onward to the URL and keep the same session for one query.
  • Read the price after offers separately. pricing.effective_price_after_offers is the price once Flipkart's offers apply, next to the listed pricing.selling_price. Store both if you report the price a shopper ends up paying.
  • Some listings have no rating yet. Seven of the 40 results in the sample showed no stars, so read rating and rating_count with a default in your code.

Frequently asked questions

  • Collecting publicly available data from Flipkart, such as prices, MRP, discounts, product details and ratings shown to every visitor, is common practice for price monitoring and market research. Reviews can include buyers' names, and personal data is protected by laws such as India's Digital Personal Data Protection Act, the GDPR and the CCPA, so collect only what you have a legitimate reason to use. Check Flipkart's terms for your use case and ask your lawyer if you are unsure.

  • Flipkart offers APIs to its partners. The Marketplace Seller APIs let registered sellers manage their own listings, prices, orders and inventory, and the affiliate program has offered product feeds to approved affiliates. Access depends on Flipkart approving your account, and neither is built to return any search or product page on demand with the seller, offers and delivery date a shopper sees, which is why teams use a scraper for competitor data.

  • Search results (/search?q=…), category listings and product pages (/…/p/itm…?pid=…) on flipkart.com. Send the URL as it appears in your browser, from India.

  • Yes. A search page returns the selling price, the MRP and the discount percentage of every listing on the page, plus its deal tag. A product page returns the selling price, the price after offers, the lowest EMI and the exchange offer for one item. Run both in Batch for a daily record.

  • Yes. The product page returns the seller holding the offer, the seller's rating and how long the seller has been on Flipkart, in the seller group. Scrape the same product daily to see when the seller changes.

  • Search and product pages return the average rating and the rating count, and the product page adds the number of written reviews. Run your product URLs in Batch to follow how the rating and the number of ratings move over time.

  • Send a GET request to https://api.zenrows.com/v1/ with your API key, the Flipkart URL, Adaptive Stealth Mode and Extract turned on, and India as the country, as in the Python example above. The response's parsed key holds the search results or the product as a Python dictionary. The zenrows package on PyPI wraps the same request.

  • Send one URL per request, or a whole list as a Batch job that runs the URLs in parallel and keeps your own ID on each result. One Batch job accepts more than 10,000 URLs, sent inline or as a CSV file.

  • Yes. Connect the Zenrows MCP server to Claude, Cursor, Codex or any MCP client, or give your agent the Zenrows CLI. Ask for the products or searches you want in plain language and the agent calls Fetch and Extract for you.

  • Yes. Create a scheduled Batch job with your Flipkart URLs and the same settings as a single request, and Zenrows runs it on its side: every few hours, once a day, at set times on chosen days, or once at a future date. Each run keeps its own results, a webhook can notify your app when a run finishes, and the schedule can be paused or resumed at any time.

  • Zenrows works with n8n, Make, Zapier, Clay, Dify, LangChain, LlamaIndex, CrewAI and Mastra, plus the Python, Node.js and Go SDKs and any HTTP client. Send results to Google Sheets, a database or a data warehouse from the workflow tool you already use. See the integrations page for the full list.

  • JSON by default, with the structured record in parsed and the original page in html. Prices arrive as numbers in rupees, ready to compare. You can also ask for the page as Markdown or plain text, which is what most LLM and RAG pipelines want.

  • Yes. Scrape the Flipkart product and the matching amazon.in listing with the same request format and India as the country, then join them on brand and model. The Amazon price scraper returns Amazon prices per country.

Turn the live web into usable data.

Start building free 5,000 credits/month, always