# Flipkart Products, Prices & Reviews Scraper (`wyle/flipkart-all-in-one-scraper`) Actor

Pull Flipkart India products, prices, discounts, specifications, and customer reviews by keyword, URL, or Product ID. Choose fast product cards, review-only runs, or combined enrichment.

- **URL**: https://apify.com/wyle/flipkart-all-in-one-scraper.md
- **Developed by:** [Willy Lengkong](https://apify.com/wyle) (community)
- **Categories:** E-commerce, Lead generation, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
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 Products, Prices & Reviews Scraper

Extract product listings, INR selling prices, MRP, discounts, 1–5 star rating histograms, key specifications, Flipkart Assured badges, high-resolution images, and certified buyer reviews from Flipkart India. Built to run fast without browser overhead and with no login required.

### Modes

| Mode | Input | What you get |
|---|---|---|
| Products (`scrapeMode: "products"`) | `queries` (keywords, search, category, or `/p/` URLs) | Fast catalog records (24–40 products per page) with price, MRP, discounts, star distribution, specs, stock status, and HD images. |
| Products + Reviews (`scrapeMode: "products_with_reviews"`) | `queries` | Enriches each product record with up to `maxReviewsPerProduct` verified customer reviews in `topReviews`. |
| Reviews Stream (`scrapeMode: "reviews_only"`) | `queries` (keywords or `/product-reviews/` URLs) | Outputs one dataset row per customer review (`recordType: "review"`) with reviewer location, certified buyer status, upvotes, and photos. |

### Supported Countries

| Code | Domain |
|---|---|
| `IN` | `www.flipkart.com` |

### Data Modes & Proxy Tips

- **No Login Required**: Extracts public Flipkart India catalog and review data without account credentials or cookies.
- **Fast Mode vs Review Modes**: Use `products` mode for maximum speed when you only need pricing, specs, and rating histograms. Switch to `products_with_reviews` or `reviews_only` when you need full written buyer reviews (`maxReviewsPerProduct` up to `500` per product).
- **Proxy Recommendations**: Works out of the box without proxies (`useApifyProxy: false`); if running very large multi-query jobs (`maxItems` up to `2000` per query), India (`IN`) Residential Proxies can be enabled as a fallback.

### Use Cases

- **India Price & Discount Intelligence**: Track live selling prices (`price`), `mrp`, and `discountPercent` across electronics, appliances, and consumer goods.
- **Voice-of-Customer (VoC) & Sentiment Analysis**: Use `reviews_only` mode to collect certified buyer reviews, helpfulness votes, and city/state distribution across India.
- **Catalog & Assortment Benchmarking**: Filter by `minPrice`, `maxPrice`, `minRating`, `assuredOnly`, and `inStockOnly` to audit competitor assortments.
- **AI Product Knowledge & Comparison**: Feed structured `keySpecs`, `starDistribution`, and warranty summaries into shopping assistants or analytics pipelines.

### Input Parameters

| Parameter | Type | Default | Description |
|---|---|---|---|
| `queries` | `Array` | `["iphone 15", "samsung galaxy s24"]` | Search keywords or Flipkart Search, Category, Product (`/p/`), or Reviews (`/product-reviews/`) URLs. |
| `scrapeMode` | `String` | `"products"` | Extraction mode: `"products"`, `"products_with_reviews"`, or `"reviews_only"`. |
| `sortBy` | `String` | `"popularity"` | Sort order: `"popularity"`, `"relevance"`, `"price_asc"`, `"price_desc"`, or `"recency_desc"`. |
| `minPrice` | `Integer` | `0` | Optional minimum product price in INR (`0` = no minimum). |
| `maxPrice` | `Integer` | `0` | Optional maximum product price in INR (`0` = no maximum). |
| `minRating` | `Number` | `0` | Optional minimum star rating (`0`–`5`, e.g., `4.0`). |
| `assuredOnly` | `Boolean` | `false` | Return only products with the Flipkart Assured badge. |
| `inStockOnly` | `Boolean` | `false` | Exclude out-of-stock products. |
| `maxReviewsPerProduct` | `Integer` | `10` | Maximum customer reviews per product in review modes (`1`–`500`). |
| `maxItems` | `Integer` | `40` | Maximum products (or reviews in `reviews_only` mode) per query or URL (`1`–`2000`). |
| `proxyConfiguration` | `Object` | `{"useApifyProxy": false}` | Optional Apify Proxy configuration (`IN` residential optional for high-volume runs). |

### Sample Output

#### Product Record (`scrapeMode: "products"`)

```json
{
  "recordType": "product",
  "productId": "MOBHQV9YR4CBTD9D",
  "listingId": "LSTMOBHQV9YR4CBTD9DPLROKI",
  "title": "Apple iPhone 15 (Black, 128 GB)",
  "brand": "Apple",
  "category": "Mobile",
  "subCategory": "Handset",
  "price": 69999,
  "mrp": 74900,
  "discountAmount": 4901,
  "discountPercent": 6,
  "currency": "INR",
  "priceFormatted": "₹69,999",
  "ratingAverage": 4.6,
  "ratingCount": 250205,
  "reviewCount": 9892,
  "starDistribution": {
    "1_star": 11128,
    "2_star": 3685,
    "3_star": 7568,
    "4_star": 33038,
    "5_star": 194786
  },
  "inStock": true,
  "availabilityState": "IN_STOCK",
  "isFlipkartAssured": true,
  "deliveryCharge": 0,
  "keySpecs": [
    "128 GB ROM",
    "15.49 cm (6.1 inch) Super Retina XDR Display",
    "48MP + 12MP | 12MP Front Camera"
  ],
  "warrantySummary": "1 year warranty for phone and 1 year warranty for in Box Accessories.",
  "primaryImageUrl": "https://rukmini1.flixcart.com/image/832/832/xif0q/mobile/s/p/z/-original-imahqvadjn9nthhu.jpeg?q=90",
  "imageCount": 9,
  "images": [
    "https://rukmini1.flixcart.com/image/832/832/xif0q/mobile/s/p/z/-original-imahqvadjn9nthhu.jpeg?q=90",
    "https://rukmini1.flixcart.com/image/832/832/xif0q/mobile/o/v/q/-original-imahgget5za5whzd.jpeg?q=90"
  ],
  "topReviews": [],
  "reviewId": "SUMMARY-MOBHQV9YR4CBTD9D",
  "reviewTitle": "4.6★ (250,205 Ratings, 9,892 Reviews)",
  "reviewText": "128 GB ROM | 15.49 cm (6.1 inch) Super Retina XDR Display | 48MP + 12MP | 12MP Front Camera",
  "reviewerName": "Apple Official Listing",
  "reviewerLocation": "India",
  "isCertifiedBuyer": true,
  "reviewDate": "Active Listing",
  "helpfulUpvotes": 250205,
  "productUrl": "https://www.flipkart.com/apple-iphone-15-black-128-gb/p/itm3234701b0863a?pid=MOBHQV9YR4CBTD9D",
  "reviewsUrl": "https://www.flipkart.com/apple-iphone-15-black-128-gb/product-reviews/itm3234701b0863a?pid=MOBHQV9YR4CBTD9D",
  "searchQuery": "iphone 15",
  "scrapedAt": "2026-11-08T10:02:00Z"
}
```

#### Customer Review Record (`scrapeMode: "reviews_only"`)

```json
{
  "recordType": "review",
  "productId": "MOBHQV9YR4CBTD9D",
  "listingId": "LSTMOBHQV9YR4CBTD9DPLROKI",
  "title": "Apple iPhone 15 (Black, 128 GB)",
  "brand": "Apple",
  "category": "Mobile",
  "subCategory": "Handset",
  "price": 69999,
  "mrp": 74900,
  "discountAmount": 4901,
  "discountPercent": 6,
  "currency": "INR",
  "priceFormatted": "₹69,999",
  "ratingAverage": 4.0,
  "ratingCount": 250205,
  "reviewCount": 9892,
  "starDistribution": {
    "1_star": 11128,
    "2_star": 3685,
    "3_star": 7568,
    "4_star": 33038,
    "5_star": 194786
  },
  "inStock": true,
  "availabilityState": "IN_STOCK",
  "isFlipkartAssured": true,
  "deliveryCharge": 0,
  "keySpecs": [
    "128 GB ROM",
    "15.49 cm (6.1 inch) Super Retina XDR Display"
  ],
  "warrantySummary": "1 year warranty for phone and 1 year warranty for in Box Accessories.",
  "primaryImageUrl": "https://rukmini1.flixcart.com/image/832/832/xif0q/mobile/s/p/z/-original-imahqvadjn9nthhu.jpeg?q=90",
  "imageCount": 9,
  "images": [
    "https://rukmini1.flixcart.com/image/832/832/xif0q/mobile/s/p/z/-original-imahqvadjn9nthhu.jpeg?q=90"
  ],
  "topReviews": [
    {
      "reviewId": "32476059-7fa1-4f77-bdff-98f82e0151bf",
      "rating": 4,
      "title": "Value-for-money",
      "text": "Nice photo and great battery backup",
      "author": "Kesab Pradhan",
      "isCertifiedBuyer": true,
      "location": "Mumbai, Maharashtra",
      "created": "Aug, 2024",
      "helpfulUpvotes": 1350,
      "totalVotes": 1623,
      "images": []
    }
  ],
  "reviewId": "32476059-7fa1-4f77-bdff-98f82e0151bf",
  "reviewTitle": "Value-for-money",
  "reviewText": "Nice photo and great battery backup",
  "reviewerName": "Kesab Pradhan",
  "reviewerLocation": "Mumbai, Maharashtra",
  "isCertifiedBuyer": true,
  "reviewDate": "Aug, 2024",
  "helpfulUpvotes": 1350,
  "productUrl": "https://www.flipkart.com/apple-iphone-15-black-128-gb/p/itm3234701b0863a?pid=MOBHQV9YR4CBTD9D",
  "reviewsUrl": "https://www.flipkart.com/apple-iphone-15-black-128-gb/product-reviews/itm3234701b0863a?pid=MOBHQV9YR4CBTD9D",
  "searchQuery": "iphone 15",
  "scrapedAt": "2026-11-08T10:02:00Z"
}
```

# Actor input Schema

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

Enter product search keywords (e.g., 'iphone 15', 'macbook air m3', 'samsung galaxy s24') or direct Flipkart Search, Category, Product ('/p/itm...'), or Reviews ('/product-reviews/itm...') URLs.

## `scrapeMode` (type: `string`):

Choose 'products' for fast product catalog extraction (24-40 items per page), 'products_with_reviews' to enrich each product with its top customer reviews, or 'reviews_only' to output 1 dataset row per customer review.

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

Sort order for Flipkart product search queries.

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

Optional minimum product price in INR (0 = no minimum).

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

Optional maximum product price in INR (0 = no maximum).

## `minRating` (type: `number`):

Optional minimum product star rating filter (e.g., 4.0). Set 0 for all ratings.

## `assuredOnly` (type: `boolean`):

When enabled, only returns products carrying the official Flipkart Assured badge.

## `inStockOnly` (type: `boolean`):

When enabled, filters out out-of-stock products.

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

When 'scrapeMode' is 'products_with_reviews' or 'reviews_only', maximum number of customer reviews to fetch per product.

## `maxItems` (type: `integer`):

Maximum number of products (or reviews in 'reviews_only' mode) to extract per query or URL.

## `proxyConfiguration` (type: `object`):

Optional Apify Proxy configuration. Works out of the box without proxies; India residential proxies can be enabled for high-volume runs.

## Actor input object example

```json
{
  "queries": [
    "iphone 15",
    "samsung galaxy s24"
  ],
  "scrapeMode": "products",
  "sortBy": "popularity",
  "minPrice": 0,
  "maxPrice": 0,
  "minRating": 0,
  "assuredOnly": false,
  "inStockOnly": false,
  "maxReviewsPerProduct": 10,
  "maxItems": 40,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `results` (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": [
        "iphone 15",
        "samsung galaxy s24"
    ],
    "scrapeMode": "products",
    "maxItems": 40
};

// Run the Actor and wait for it to finish
const run = await client.actor("wyle/flipkart-all-in-one-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": [
        "iphone 15",
        "samsung galaxy s24",
    ],
    "scrapeMode": "products",
    "maxItems": 40,
}

# Run the Actor and wait for it to finish
run = client.actor("wyle/flipkart-all-in-one-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": [
    "iphone 15",
    "samsung galaxy s24"
  ],
  "scrapeMode": "products",
  "maxItems": 40
}' |
apify call wyle/flipkart-all-in-one-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,wyle/flipkart-all-in-one-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/F1BhF6gi36xoztlmO/builds/0NTKEePtyCzfXtBSE/openapi.json
