Flipkart Scraper avatar

Flipkart Scraper

Pricing

from $2.00 / 1,000 results

Go to Apify Store
Flipkart Scraper

Flipkart Scraper

Scrapes Flipkart product listings — price, discount, rating, reviews and specifications — from India's largest online marketplace.

Pricing

from $2.00 / 1,000 results

Rating

0.0

(0)

Developer

Mina

Mina

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

8 days ago

Last modified

Features

Limited permissions

Share

What does Flipkart Scraper do?

Flipkart Scraper collects product listings from Flipkart, one of India's biggest online marketplaces. For each product you get the product name, the variant line (size, colour, weight), the price in rupees and the price before the discount, the discount as a percentage and an amount, the star rating, the number of ratings and the number of reviews, the key specifications, stock status, product photos and the link to the product page.

You paste the link of any Flipkart search or category page, with whatever filters and sort order you set on the site, and the Actor reads it page by page. Try it with the prefilled input: open the Actor, click Start, and 20 laptops plus 20 running shoes sorted from the lowest price land in the same table. Because it runs on the Apify platform, you also get API access, scheduled runs, integrations (Google Sheets, Make, Zapier, webhooks), run monitoring and Apify Proxy built in, so there is nothing to set up to read Flipkart.

Why scrape Flipkart?

  • Price monitoring: track what your products and your competitors' cost on Flipkart, and run the same link on a schedule to build a price history.
  • Discount tracking: see how deeply each product is discounted, as a percentage and in rupees, and catch price drops.
  • Category research: find the best-rated products in a category, how many shoppers rated them, and what they charge.
  • Assortment and variant analysis: compare the variants (size, colour, configuration) a category offers, with their key specifications.
  • Catalog enrichment: get names, specifications, photos and links for your own catalog or price comparison site.

How to scrape Flipkart

  1. Open Flipkart and search, or open a category.
  2. Narrow it down with the filters on the page, such as brand, price range, rating, discount or availability, and pick a sort order if you want one.
  3. Copy the address from your browser's address bar.
  4. Paste it into Flipkart search links, one link per line.
  5. Set Max results per search (200 by default; the prefilled input uses 20).
  6. Click Start, then download the products when the run finishes.

Input

Everything is set on the Input tab. In JSON, the input looks like this:

{
"search_urls": [
"https://www.flipkart.com/search?q=laptop",
"https://www.flipkart.com/search?q=running+shoes&sort=price_asc"
],
"max_results_per_search": 20,
"proxy_country": "IN"
}
FieldTypeDefaultWhat it does
search_urlsarray of stringsemptyFlipkart search links: search or category links from flipkart.com, one per line, starting with https://. Every filter and sort order in the link is kept on every page. At least one link is needed.
max_results_per_searchinteger200Max results per search: products to save for each link, from 1 up. A link is followed for at most 200 pages.
proxy_countrystringINProxy country: two-letter country code of the residential proxy every page is requested through. India suits Flipkart best. UK is read as GB, and a code that is not two letters is ignored in favour of IN.

The same link pasted twice runs once. A line that is not a Flipkart search or category link is skipped and listed in the FAILED_INPUTS record with the reason.

Output

One row per product, in Flipkart's order. A real row from the prefilled laptop search, with long values shortened and the photo list cut to two:

{
"id": "COMGZUYDGFJGHZR4",
"name": "Samsung Galaxy Book4 Metal Intel Core i5 13th Gen 1335U - (16 GB/512 GB SSD/Windows 11 Home) NP750XGJ Thin and Light Laptop",
"brand": null,
"variant": "15.6 Inch, Gray, 1.55 Kg, With MS Office",
"price": 62990,
"original_price": 82789,
"currency": "INR",
"discount_percent": 23,
"discount_amount": 19799,
"rating": 4.4,
"rating_count": 20432,
"review_count": 2200,
"category": "computer",
"key_specs": [
"Intel Core i5 Processor (13th Gen)",
"16 GB LPDDR4X RAM",
"64 bit Windows 11 Operating System",
"512 GB SSD",
"39.62 cm (15.6 Inch) Display"
],
"availability": "In Stock",
"in_stock": true,
"image": "http://rukmini1.flixcart.com/image/832/832/xif0q/minutes_enrichment_original/…-COMGZUYDGFJGHZR4_0.jpg?q=70",
"images": [
"http://rukmini1.flixcart.com/image/832/832/xif0q/minutes_enrichment_original/…-COMGZUYDGFJGHZR4_0.jpg?q=70",
"http://rukmini1.flixcart.com/image/832/832/xif0q/computer/7/a/b/-original-imahzcakenyvmk9j.jpeg?q=70"
],
"url": "https://www.flipkart.com/samsung-galaxy-book4-metal-…/p/itm1df5212efb9fc?pid=COMGZUYDGFJGHZR4",
"position": 1,
"search_url": "https://www.flipkart.com/search?q=laptop"
}

You can download the dataset in various formats such as JSON, HTML, CSV, or Excel, or read it through the Apify API.

Flipkart data fields

FieldTypeDescription
idstringFlipkart's product id (the pid in product links).
namestring or nullProduct name as Flipkart lists it.
brandstring or nullThe separate brand line Flipkart shows on fashion listings. Null on most other products, whose brand is part of the name.
variantstring or nullThe variant line under the name, such as size, colour and weight.
pricenumber or nullThe price being charged. Null when Flipkart hides the price or shows none, never 0.
original_pricenumber or nullThe struck-through price before the discount.
currencystringINR.
discount_percentnumber or nullThe discount as a percentage, as Flipkart states it.
discount_amountnumber or nullThe discount in rupees, as Flipkart states it.
ratingnumber or nullAverage star rating out of 5.
rating_countinteger or nullNumber of star ratings.
review_countinteger or nullNumber of written reviews, which Flipkart counts separately from ratings.
categorystring or nullFlipkart's product type, such as computer.
key_specsarray of stringsThe key specifications the listing highlights. Empty when it shows none.
availabilitystring or nullStock status as Flipkart gives it, such as In Stock or Out Of Stock.
in_stockbooleanTrue only when the status is In Stock.
imagestring or nullThe first product photo.
imagesarray of stringsAll product photos on the listing, as 832 × 832 links.
urlstring or nullProduct page link.
positionintegerRank of the product within its link, from 1. A product already seen in the same link is skipped.
search_urlstringThe link the product was found through.

How much does it cost to scrape Flipkart?

You pay per product saved to the dataset; see the Pricing tab for the exact price. Each run also has a tiny Actor start charge, one per GB of memory. Links that give no products save no rows, so they are never charged as results. The number of products you can be charged for is at most Max results per search times the number of links, so set the limit to what you need. The Actor stops by itself when a run reaches the maximum cost you set for it.

Tips for scraping Flipkart

  • Filter and sort on Flipkart first. The Actor keeps every filter and the sort order in the link, so narrowing the search on the site gets you exactly the products you want and nothing you would pay for and throw away.
  • Mind the page size. Flipkart shows about 24 products per page, so a limit of 200 means about 9 pages for each link.
  • Ratings and reviews are different numbers. Many more shoppers leave a star rating than write a review, so rating_count is usually far higher than review_count.
  • Expect a steady pace, not a burst. Links are read one after another, with a pause of a second or two between pages. When Flipkart refuses a page or sends one without listings, it gets up to 5 tries in all, each from a fresh proxy address.
  • Build a price history by saving the input as a task and scheduling it daily or weekly.

FAQ, disclaimers, and support

Is it legal to scrape Flipkart? The Actor reads only the public search pages Flipkart shows to anyone without logging in: product names, prices, ratings and specifications. It does not collect personal data. Web data scraping is legal in many cases, but if you are unsure, consult a lawyer.

Why do fashion products have fewer fields? Flipkart describes fashion listings more briefly than electronics. Shoes and clothing carry a brand line but usually no star rating, product type or specification list, because the site does not put those on the listing. Electronics usually carry all of them but no separate brand line.

Why did a link give nothing? It is listed in the FAILED_INPUTS record of the run's key-value store with the reason: the line is not a Flipkart search or category link, the page does not exist, no product could be read from the page, or no page with listings came back after every retry. Nothing is charged for such a link. The run is marked failed only when no products came back and every link hit an error.

Known limitations. The Actor reads the listings on search and category pages, not the product pages themselves, so it has no seller names, seller offers, delivery dates, full specification tables or review texts.

Found a bug or need another field? Open an issue on the Issues tab and it will be looked at. Need a custom scraper or a different output format? Get in touch through the Issues tab too.