# Flipkart Reviews Scraper (`wibuild.in/flipkart-reviews-scraper`) Actor

Scrape Flipkart reviews & ratings in seconds. Flipkart product review scraper with star-wise rating count, total ratings, total reviews, review text, helpful votes & verified buyer data. Best for eCommerce research & sentiment analysis.

- **URL**: https://apify.com/wibuild.in/flipkart-reviews-scraper.md
- **Developed by:** [Wibuild](https://apify.com/wibuild.in) (community)
- **Categories:** E-commerce, Automation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.50 / 1,000 reviews

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## Flipkart Reviews Scraper Actor

The **Flipkart Reviews Scraper Actor** collects Flipkart product reviews into clean, analysis-ready JSON.

Provide a Flipkart product URL (or reviews URL) and how many reviews you want.\
The actor returns structured review rows you can export to CSV/Excel or plug into analysis pipelines.

***

### What this actor does

Given a Flipkart product / reviews link, the actor:

1. Collects customer reviews (newest first) up to your `maxreviews` limit
2. Standardizes each review into a consistent schema
3. Extracts product metadata (`product_name`, `product_id`, `listing_id`)
4. Extracts product variant text when available (e.g. `Quantity: 80 ml`)
5. Deduplicates reviews by `review_id`

***

### Inputs

#### 1. `URL` (required)

Flipkart product URL or review URL, for example:

- Product page: `https://www.flipkart.com/.../p/itm...?pid=...&lid=...`
- Reviews page: `https://www.flipkart.com/.../product-reviews/itm...?pid=...&lid=...`

`pid` in the URL is required.

#### 2. `maxreviews` (required)

Maximum number of reviews to collect (minimum `1`).

***

### Output

Each dataset item is one review with these fields:

| Field | Description |
|---|---|
| `product_name` | Product title |
| `product_id` | Flipkart product id (`pid`) |
| `listing_id` | Flipkart listing id (`lid`) |
| `review_id` | Unique review id |
| `product_variant` | Variant text (e.g. `Quantity: 80 ml`) |
| `review_date` | Approximate date (`YYYY-MM-DD`) derived from Flipkart relative text |
| `review_title` | Review title |
| `review_rating` | Star rating (1–5) |
| `review_text` | Full review text |
| `photo_urls` | Comma-separated photo URLs (if any) |
| `video_urls` | Comma-separated video URLs (if any) |
| `customer_name` | Reviewer name |
| `helpful` | Helpful vote count |
| `not_helpful` | Not-helpful vote count |
| `verified_purchase` | Whether review is from a verified/certified buyer |

Example:

```json
{
  "product_name": "DENVER Hamilton EDP- ...",
  "product_id": "PERGT2RWAXHBU6N6",
  "listing_id": "LSTPERGT2RWAXHBU6N64AE3BS",
  "review_id": "a5f6947e-e8ff-4cde-af1c-56555ca32624",
  "product_variant": "Quantity: 80 ml",
  "review_date": "2026-08-09",
  "review_title": "Worth the money",
  "review_rating": 4,
  "review_text": "Best",
  "photo_urls": null,
  "video_urls": null,
  "customer_name": "Yogesh Kapadiya",
  "helpful": 0,
  "not_helpful": 0,
  "verified_purchase": true
}
```

***

### Notes

- Flipkart does not expose exact review timestamps; `review_date` is approximated from relative text like `Today` / `3 days ago`.
- Flipkart may stop returning deeper pages on very large review sets (a platform-side listing limit).

***

# Actor input Schema

## `URL` (type: `string`):

Flipkart product URL (/p/) or product-reviews URL.

## `maxreviews` (type: `integer`):

Maximum number of reviews to scrape.

## Actor input object example

```json
{
  "URL": "https://www.flipkart.com/denver-hamilton-edp-srk-s-favorite-luxury-gift-pack-20ml-x-4-perfume-eau-de-parfum-80-ml/p/itm3363524a5d613?pid=PERGT2RWAXHBU6N6&lid=LSTPERGT2RWAXHBU6N64AE3BS&marketplace=FLIPKART",
  "maxreviews": 50
}
```

# Actor output Schema

## `reviews` (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 = {
    "URL": "https://www.flipkart.com/denver-hamilton-edp-srk-s-favorite-luxury-gift-pack-20ml-x-4-perfume-eau-de-parfum-80-ml/p/itm3363524a5d613?pid=PERGT2RWAXHBU6N6&lid=LSTPERGT2RWAXHBU6N64AE3BS&marketplace=FLIPKART",
    "maxreviews": 50
};

// Run the Actor and wait for it to finish
const run = await client.actor("wibuild.in/flipkart-reviews-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 = {
    "URL": "https://www.flipkart.com/denver-hamilton-edp-srk-s-favorite-luxury-gift-pack-20ml-x-4-perfume-eau-de-parfum-80-ml/p/itm3363524a5d613?pid=PERGT2RWAXHBU6N6&lid=LSTPERGT2RWAXHBU6N64AE3BS&marketplace=FLIPKART",
    "maxreviews": 50,
}

# Run the Actor and wait for it to finish
run = client.actor("wibuild.in/flipkart-reviews-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 '{
  "URL": "https://www.flipkart.com/denver-hamilton-edp-srk-s-favorite-luxury-gift-pack-20ml-x-4-perfume-eau-de-parfum-80-ml/p/itm3363524a5d613?pid=PERGT2RWAXHBU6N6&lid=LSTPERGT2RWAXHBU6N64AE3BS&marketplace=FLIPKART",
  "maxreviews": 50
}' |
apify call wibuild.in/flipkart-reviews-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,wibuild.in/flipkart-reviews-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/r6dMwvT98fuq9bseJ/builds/Dk4WDjPsOQLYVlzWI/openapi.json
