# Flipkart Scraper - Products, Prices, Ratings & Reviews (`sumitr_mardy/flipkart-scraper`) Actor

Scrape Flipkart search results by keyword or URL: price, MRP, discount, rating, review count, stock, Flipkart Assured, sponsored flag, key specs and images, plus customer reviews. Up to 1,200 products per search. $0.50 per 1,000 products.

- **URL**: https://apify.com/sumitr_mardy/flipkart-scraper.md
- **Developed by:** [Sumitr Mardy](https://apify.com/sumitr_mardy) (community)
- **Categories:** E-commerce, Lead generation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.35 / 1,000 products

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Flipkart Scraper - Products, Prices, Ratings & Reviews

Scrape **Flipkart** products by keyword or search URL. Type `wireless earbuds`, `iphone 16` or `laptop`, or paste a Flipkart search or category URL from your browser, and get one clean row per product: price, MRP, discount, rating, number of ratings and reviews, stock, Flipkart Assured, sponsored placement, brand, key specs, images and link.

Turn on **customer reviews** to add each product's reviews: rating, title, text, reviewer city, certified buyer, date, helpful votes, the variant bought (colour, storage…) and review photos.

**$0.50 per 1,000 products**, and $0.50 per 1,000 reviews. No search fee, no subscription, no login, no proxy needed.

Built for:

- **Sellers and brands**: track your prices, discounts and ratings against competitors on Flipkart.
- **Price monitoring**: MRP vs selling price, discount % and stock for any category, every day.
- **Market research**: which brands, price points and specs rank in a category, and who is buying ads.
- **Review analysis**: recent or negative reviews of your products or a competitor's, ready for sentiment analysis.

### What you get

| Field | Example |
|---|---|
| `id`, `url` | ACCH2PKWGPDBTHZY, https://www.flipkart.com/…/p/itm66852a194fd16?pid=ACCH2PKWGPDBTHZY |
| `title`, `brand`, `subtitle` | "PTron Bassbuds Vibe w/ 50hrs Playtime…", PTron, "Grey, True Wireless" |
| `category`, `subCategory`, `vertical` | PersonalAudio, PersonalAudio, TrueWireless |
| `price`, `mrp`, `discountPercent`, `discountAmount` | 599, 2899, 79, 2300 (₹) |
| `rating`, `ratingCount`, `reviewCount` | 4.1, 43782, 3197 |
| `inStock`, `availability` | true, IN_STOCK |
| `flipkartAssured`, `sponsored` | true, false |
| `keySpecs` | \["Snapdragon X Processor", "8 GB LPDDR5X RAM", …] |
| `images` | product photo URLs |
| `warranty` | 1 Year Onsite Service |
| `position`, `page` | position in the results, results page |
| `reviews`\* | \[{"rating": 5, "title": "Brilliant", "text": "…", "author": "…", "city": "Orai", "certifiedBuyer": true, "created": "3 months ago", "helpfulCount": 13, "attributes": {"Color": "Silver"}, "images": \[…]}] |
| `searchQuery`, `searchUrl` | the keyword and the Flipkart URL used |
| `status`, `error` | ok, "" |

\* With **Include customer reviews** on.

Every row has every key: numbers are numbers (0 when Flipkart shows nothing), lists are lists, text is text. It exports cleanly to CSV and Excel.

`status` is `ok` for a product (billed). A search that returns nothing gets one free row explaining why:

- `no_results`: Flipkart has no products for that search.
- `blocked`, `failed`: Flipkart did not answer.
- `invalid_input`: not a keyword or a Flipkart search URL (product page URLs are not supported).
- `max_cost_reached`, `free_work_limit`: the run stopped early.

### How to use it

1. Add searches, one per line: keywords (`wireless earbuds`, `samsung galaxy s25`) or a search or category URL copied from flipkart.com.
2. Choose the sort (relevance, popularity, price, newest) and an optional price range in rupees.
3. Set **Max products per search**. Leave it at 100 for a sample.
4. Turn on **Include customer reviews** if you need them, and choose how many per product and in which order (most recent, most helpful, positive or negative first).
5. Start, then download as CSV, Excel or JSON, or connect it to Google Sheets, Zapier or Make.

A pasted search URL keeps every filter you set on Flipkart: brand, rating, Flipkart Assured, RAM, size, discount and so on.

**Track prices daily**: save your searches as a task, schedule it every morning and send the results to Google Sheets.

### Pricing

| Event | Price | When |
|---|---|---|
| `product` | $0.0005 | each product returned |
| `review` | $0.0005 | each review returned, only with **Include customer reviews** |

That is **$0.50 per 1,000 products** and **$0.50 per 1,000 reviews**, cheaper on higher Apify plans. Status rows are free. Apify adds its standard tiny start event per run, and the run stops cleanly at your *Max cost per run*.

### Speed

Measured on Apify at 512 MB:

- **Two searches, everything Flipkart serves**: 1,354 products in 52 seconds.
- **10 products with 50 reviews each**: 450 reviews in 20 seconds.
- **Default input** (wireless earbuds, 100 products): 3 seconds.

The actor sends at most 4 requests at a time, 250 ms apart, with an honest user agent, and reads only public search and review pages.

### Honest limits

- **About 40 pages per search.** Flipkart itself stops there: in our runs, `mobile` gave 820 different products and `wireless earbuds` 534 (grid categories show 40 per page but repeat many). For more, run several searches, for example by price range or brand.
- **Search results only, not the product page.** Product pages are not read, so seller name, full specifications and delivery dates are not included. Key specs come from the results card, where Flipkart shows them (mostly electronics).
- **Sponsored products repeat** across pages; each product is returned once per run, flagged `sponsored`.
- **Fallback results**: for a keyword with no exact match, Flipkart shows related products instead, and so does this actor.
- Prices are what a visitor without a login and pincode sees.

### What can you do with Flipkart data?

- **Monitor competitor prices**: daily price, MRP and discount for every product in your category.
- **Find gaps**: well-rated products with few reviews, or popular products with poor ratings.
- **Watch sponsored placements**: which brands pay for ads on your keywords.
- **Analyse reviews**: export the newest or most negative reviews for sentiment and product feedback.

### How to scrape Flipkart

1. Open the actor and type a keyword, or paste a Flipkart search URL.
2. Pick the sort and price range, and turn on reviews if you need them.
3. Click **Start**. A thousand products take under a minute.
4. Export to CSV, Excel or JSON, or schedule it to run daily.

### How much does it cost to scrape Flipkart?

$0.50 per 1,000 products, and $0.50 per 1,000 reviews. Apify's free plan includes $5 of monthly credit: about 10,000 products a month.

### Is it legal to scrape Flipkart?

The actor reads only public search and review pages that anyone can open without logging in. Reviews include reviewers' display names and cities as Flipkart shows them publicly. Check Flipkart's terms of use and your local law, including India's DPDP Act, before you reuse the data.

### Related scrapers

- [Amazon Product Scraper](https://apify.com/sumitr_mardy/amazon-product-scraper): the same product data from Amazon.
- [Shopify Store Products](https://apify.com/sumitr_mardy/shopify-store-products): every product of any Shopify store.
- [App Reviews Scraper](https://apify.com/sumitr_mardy/app-reviews-scraper): reviews from Google Play and the App Store.

### Use it from AI agents (MCP)

Hosted, with OAuth sign-in:

```json
{
    "mcpServers": {
        "flipkart": {
            "url": "https://mcp.apify.com/?tools=sumitr_mardy/flipkart-scraper"
        }
    }
}
```

With an API token instead of OAuth:

```json
{
    "mcpServers": {
        "flipkart": {
            "url": "https://mcp.apify.com/?tools=sumitr_mardy/flipkart-scraper",
            "headers": { "Authorization": "Bearer YOUR_APIFY_TOKEN" }
        }
    }
}
```

Local stdio:

```json
{
    "mcpServers": {
        "flipkart": {
            "command": "npx",
            "args": ["-y", "@apify/actors-mcp-server", "--actors", "sumitr_mardy/flipkart-scraper"],
            "env": { "APIFY_TOKEN": "YOUR_APIFY_TOKEN" }
        }
    }
}
```

Agent tips: keep `maxItemsPerQuery` small (20–50) for a quick answer; pass several keywords in one call; turn on reviews only when the question is about what buyers say.

### Run it from code

Python:

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("sumitr_mardy/flipkart-scraper").call(run_input={
    "queries": ["wireless earbuds", "smartwatch"],
    "sortBy": "popularity",
    "maxPrice": 3000,
    "maxItemsPerQuery": 200,
})
for x in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(x["price"], x["mrp"], x["rating"], x["title"])
```

cURL (waits for the run and returns the rows):

```bash
curl -X POST "https://api.apify.com/v2/acts/sumitr_mardy~flipkart-scraper/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"queries":["iphone 16"],"maxItemsPerQuery":50}'
```

### FAQ

**Can I use my own search from the Flipkart website?** Yes. Copy the URL of the results page, with any filters, and paste it as a search.

**Can I scrape a single product page?** Not yet: searches and category pages only. Search for the product name instead.

**Does it get all reviews?** Up to 1,000 per product, 10 per page, in the order you choose.

**Is this an official Flipkart API?** No. It is an independent tool that reads Flipkart's public pages. Flipkart is a trademark of Flipkart Internet Private Limited, which does not endorse it.

# Actor input Schema

## `queries` (type: `array`):

One per line: a keyword ("wireless earbuds", "iphone 16") or a Flipkart search or category URL copied from your browser. A pasted URL keeps its own filters and sort; the filters below apply to keywords.

## `maxItemsPerQuery` (type: `integer`):

Flipkart serves at most about 40 pages per search (roughly 500 to 1,000 different products). For more, run several searches, e.g. by price range or brand.

## `sortBy` (type: `string`):

Ignored for pasted URLs.

## `minPrice` (type: `integer`):

Leave empty for no minimum.

## `maxPrice` (type: `integer`):

Leave empty for no maximum.

## `includeReviews` (type: `boolean`):

Also read each product's public reviews pages. Billed per review.

## `maxReviewsPerProduct` (type: `integer`):

10 reviews per page.

## `reviewSort` (type: `string`):

Which reviews come first.

## Actor input object example

```json
{
  "queries": [
    "wireless earbuds"
  ],
  "maxItemsPerQuery": 100,
  "sortBy": "relevance",
  "includeReviews": false,
  "maxReviewsPerProduct": 20,
  "reviewSort": "MOST_RECENT"
}
```

# Actor output Schema

## `dataset` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "queries": [
        "wireless earbuds"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("sumitr_mardy/flipkart-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "queries": ["wireless earbuds"] }

# Run the Actor and wait for it to finish
run = client.actor("sumitr_mardy/flipkart-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "queries": [
    "wireless earbuds"
  ]
}' |
apify call sumitr_mardy/flipkart-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,sumitr_mardy/flipkart-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/41g8ZV1GoMLfRqpRx/builds/QLHN8Au931T6vP0qE/openapi.json
