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
- 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…"
}
]
}{
"url": "https://www.flipkart.com/search?q=headphones",
"mode": "auto",
"extract": "auto",
"proxy_country": "in"
}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.
| Field | What it holds | Example |
|---|---|---|
products[]. (search) |
Flipkart's product ID, the pid in every product URL |
ACCHCJW3ENYUPQAA |
products[]. (search) |
The price in rupees shown on the result card | 1099 |
products[]. (search) |
The MRP, the struck-through price on the card | 2999 |
products[]. (search) |
The "% off" Flipkart prints next to the price | 63 |
products[]. (search) |
Star rating out of 5 | 4 |
products[]. (search) |
Number of ratings behind the star score | 22101 |
products[]. (search) |
The deal tag on the card | Lowest Price Live |
products[]. (search) |
Rank of the listing on the results page | 4 |
product. |
The product ID on a product page | ACCHCJW3ENYUPQAA |
product. |
Brand on the listing | boAt |
pricing. |
The price on the product page | 1199 |
pricing. |
The price Flipkart shows once its offers apply | 1139 |
pricing. |
Lowest monthly EMI shown for the item | 400 |
seller. |
The seller holding the offer | BUZZINDIA |
seller. |
The seller's own rating | 4.4 |
delivery. |
Delivery promise for the shopper's location | Sunday, 1 Nov |
ratings_ |
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
- Create a free Zenrows account and copy your API key from the dashboard.
- 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. - 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.
- Read
parsedfrom the response. Search results live inproducts[], a product page inproduct,pricingandseller. To keep only some fields, list their paths and the response returns just those. - 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))// Node 18+ (built-in fetch)
const params = new URLSearchParams({
apikey: "YOUR_ZENROWS_API_KEY",
url: "https://www.flipkart.com/boat-rockerz-412-60h-battery-40ms-latency-enx-app-support-bluetooth/p/itmb5dd2c5d386eb?pid=ACCHCJW3ENYUPQAA",
mode: "auto",
extract: "auto",
proxy_country: "in",
});
const response = await fetch(`https://api.zenrows.com/v1/?${params}`, {
signal: AbortSignal.timeout(180_000),
});
if (!response.ok) throw new Error(`${response.status}: ${await response.text()}`);
const { parsed } = await response.json();
console.log(parsed.product?.sku, parsed.pricing?.selling_price, parsed.seller?.name);
console.log(parsed.delivery?.estimated_delivery_date);curl "https://api.zenrows.com/v1/?apikey=YOUR_ZENROWS_API_KEY&url=https%3A%2F%2Fwww.flipkart.com%2Fsearch%3Fq%3Dheadphones&mode=auto&extract=auto&proxy_country=in"
# Only the fields you need, from a product page
curl "https://api.zenrows.com/v1/?apikey=YOUR_ZENROWS_API_KEY&url=https%3A%2F%2Fwww.flipkart.com%2Fboat-rockerz-412-60h-battery-40ms-latency-enx-app-support-bluetooth%2Fp%2Fitmb5dd2c5d386eb%3Fpid%3DACCHCJW3ENYUPQAA&mode=auto&extract=auto&proxy_country=in&extract_fields=product.sku%2Cpricing.selling_price%2Cseller.name%2Cratings_summary.average_rating"# pip install zenrows
from zenrows import ZenRowsClient
client = ZenRowsClient("YOUR_ZENROWS_API_KEY")
response = client.get(
"https://www.flipkart.com/search?q=headphones",
params={"mode": "auto", "extract": "auto", "proxy_country": "in"},
)
for item in response.json()["parsed"].get("products", []):
print(item["product_id"], item["name"][:60], item.get("discount_percentage"))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.
| Parameter | Type | Default | Description |
|---|---|---|---|
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_ |
string | all fields | Comma-separated paths to keep, such as pricing.selling_price,seller.name |
proxy_ |
string | any | Two-letter country code. Use in for Flipkart, whose prices, offers and delivery follow a shopper in India |
wait_ |
string | none | A CSS selector to wait for before the page is read |
session_ |
integer | none | Keep the same session for several requests, up to 10 minutes, such as the pages of one search |
{
"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"
}
]
}{
"product": {
"sku": "ACCHCJW3ENYUPQAA",
"name": "boAt Rockerz 412, 60H Battery,40ms Latency,ENx, App Support Bluet…",
"brand": "boAt",
"color": "Active Black",
"country_of_origin": "China",
"canonical_url": "https://www.flipkart.com/boat-rockerz-412-60h-battery-40ms-latency-enx-app-support-bluetooth/p/itmb5dd2c5d386eb",
"primary_image": "https://rukminim2.flixcart.com/image/300/300/xif0q/headphone/w/l/7/-original-imahddyjjbggeeah.jpeg"
},
"pricing": {
"selling_price": 1199,
"effective_price_after_offers": 1139,
"emi_per_month": 400,
"exchange_offer_max": 450,
"protect_promise_fee": 19
},
"seller": {
"name": "BUZZINDIA",
"rating": 4.4,
"tenure": "4 years with Flipkart"
},
"delivery": {
"estimated_delivery_date": "Sunday, 1 Nov",
"shipping_destination_country": "IN"
},
"ratings_summary": {
"average_rating": 4,
"rating_count": 22101,
"review_count": 1818
},
"product_images": [
"https://rukminim2.flixcart.com/image/800/1070/xif0q/headphone/w/l/7/-original-imahddyjjbggeeah.jpeg?q=80",
"https://rukminim2.flixcart.com/image/800/1070/xif0q/headphone/a/i/n/-original-imahddyjjnudywac.jpeg?q=80"
],
"specifications": [
{ "group": "General", "name": "Model ID", "value": "Rockerz 412" },
{ "group": "Connectivity Features", "name": "Bluetooth Version", "value": "5.4" },
{ "group": "Connectivity Features", "name": "Battery Life", "value": "60 hr" }
],
"warranty": {
"summary": "1 year warranty from the date of purchase"
}
}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"# flipkart.jsonl: one {"url": "...", "external_id": "...", "extract": "auto"} per line
zenrows batch create flipkart.jsonl --proxy-country in --wait
zenrows batch results <job-id> --out flipkart-products.jsonlcurl -X POST "https://api.zenrows.com/v1/crawls" \
-H "X-API-Key: YOUR_ZENROWS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"url": "https://www.flipkart.com/search?q=headphones",
"depth": 2,
"max_pages": 200,
"include_patterns": ["/p/itm", "q=headphones"]
}'# Runs every day on Zenrows' side; each run keeps its own results
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": "scheduled",
"status": "closed",
"schedule": {
"rate": {
"every": 1,
"unit": "day"
}
},
"zenrows_params": {
"mode": "auto",
"extract": "auto",
"proxy_country": "in"
},
"tasks": [
{
"url": "https://www.flipkart.com/search?q=headphones",
"external_id": "flipkart"
}
]
}'
# Or at set times: "schedule": { "calendar": { "times_of_day": ["09:00"],
# "cadence": { "weekly": { "days": ["mon", "thu"] } } }, "timezone": "Europe/Madrid" }What teams do with Flipkart data
| Use case | Data they pull | Who 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
pidis the product key. Every product URL carries?pid=and the same value comes back asproducts[].product_idon search andproduct.skuon the product page. Use it as yourexternal_idand to join search and product data. - Use the short product URL. The links in search results carry tracking parameters such as
lid,srno,otrackerandssid. 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_priceanddiscount_percentage. Search a brand or model name to read them for products you already track. - Page through search with the
pageparameter. A search page lists 40 results. Add&page=2and onward to the URL and keep the same session for one query. - Read the price after offers separately.
pricing.effective_price_after_offersis the price once Flipkart's offers apply, next to the listedpricing.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
ratingandrating_countwith a default in your code.
More Flipkart and e-commerce scrapers
-
flipkart.com
Flipkart reviews scraper
Review titles, text, star ratings and certified-buyer flags for any Flipkart product.
-
amazon.com
Amazon scraper
Product titles, prices, ratings, ASINs, sellers and availability from Amazon product and search pages.
-
walmart.com
Walmart scraper
Product listings with prices, item IDs, sellers, ratings and stock status from Walmart.
-
etsy.com
Etsy scraper
Handmade and vintage listings with prices, shop names, ratings, favorites and tags.
-
aliexpress.com
AliExpress scraper
Product listings with prices, store ratings, order counts and shipping options.
-
shopify.com
Shopify scraper
Products, prices, variants, SKUs and collections from any store built on Shopify.
-
allegro.pl
Allegro scraper
Polish marketplace offers with prices, sellers, ratings, sold counts and delivery options.
-
wayfair.com
Wayfair scraper
Furniture and home products with prices, ratings, dimensions and shipping times.
-
homedepot.com
Home Depot scraper
Home improvement products with prices, model numbers, ratings and store availability.
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
sellergroup. 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'sparsedkey holds the search results or the product as a Python dictionary. Thezenrowspackage 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
parsedand the original page inhtml. 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.