# Flipkart Scraper - Products, Prices, MRP, Ratings & Stock (`get_anything/flipkart-scraper`) Actor

Scrape Flipkart India search & category pages by keyword (English/Hindi) or URL: price, MRP, discount, rating + 1-5 star breakdown, reviews, specs, stock, Flipkart Assured, best-seller badge, offers, images. Monitor mode: only new products, price drops & restocks. No login.

- **URL**: https://apify.com/get_anything/flipkart-scraper.md
- **Developed by:** [Get Anything](https://apify.com/get_anything) (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 $0.84 / 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, MRP, Ratings & Stock

Scrape **Flipkart India search and category pages** by keyword or URL and get every product card as clean data:

- 💰 **Selling price, MRP, discount % and discount amount** in rupees.
- ⭐ **Rating, rating count, review count** and the full **1-5 star breakdown** (how many 1★, 2★... 5★ ratings).
- 📦 **Stock status** (`IN_STOCK`, out of stock, coming soon) and low-stock notes like *"Only 2 left"*.
- 🏷️ **Flipkart Assured**, **best-seller badge**, bank and exchange offers, warranty.
- 📋 **Key specs** (RAM/ROM, display, camera, processor...), brand, category, all product images.
- 🔁 **Monitor mode:** schedule it and get only **new products, price drops/increases and restocks** since the last run.

Search in **English or Hindi** (`iphone 16`, `running shoes`, `मोबाइल`), sort by popularity, price or newest, filter by price band, rating, stock and Flipkart Assured, or paste a search/category URL to keep the filters you set on Flipkart. Up to ~1,000 products per search. No login, no cookies, no API key.

**हिंदी में:** Flipkart के सर्च और कैटेगरी पेज से प्रोडक्ट डेटा निकालें: कीमत, MRP, डिस्काउंट, रेटिंग (1-5 स्टार ब्रेकडाउन), रिव्यू, स्पेसिफिकेशन, स्टॉक, Flipkart Assured, ऑफ़र और इमेज। मॉनिटर मोड केवल नए प्रोडक्ट, कीमत में बदलाव और रीस्टॉक दिखाता है। लॉगिन की ज़रूरत नहीं।

### What you can do with it

- **Price monitoring for brands and sellers:** track your and your competitors' Flipkart prices daily and get price drops and restocks as they happen.
- **MAP / MRP compliance:** compare selling price vs MRP across every listing of your brand.
- **Market research for India e-commerce:** how many products, at what prices, with what ratings, per category.
- **Assortment and stock tracking:** spot out-of-stock competitors and low-stock items.
- **Review & rating analysis:** the star breakdown shows rating quality, not just the average.
- **AI agents and LLMs:** ask an assistant for the best-rated phones under ₹20,000 and it calls this Actor for live data.

### Input

| Field | Description |
|---|---|
| `searchKeywords` | What to search, one per line. English or Hindi. |
| `startUrls` | Optional Flipkart search URLs (`flipkart.com/search?q=...`) or category URLs (`flipkart.com/mobiles/pr?sid=tyy,4io`). Filters in the URL are kept. |
| `maxResultsPerSearch` | Default 40. Up to ~1,000. `0` = all. |
| `sortBy` | `relevance`, `popularity`, `price-low`, `price-high`, `newest`. |
| `minPrice` / `maxPrice` | Price band in rupees. |
| `minRating` | Skip products rated below 3, 3.5, 4 or 4.5 stars. |
| `inStockOnly` | Skip out-of-stock and coming-soon products. |
| `assuredOnly` | Keep only Flipkart Assured products. |
| `onlyChanges` | Monitor mode: return only new products, price changes and stock changes since the last run. |

```json
{
  "searchKeywords": ["smartphone 5g", "मोबाइल"],
  "sortBy": "popularity",
  "minPrice": 10000,
  "maxPrice": 20000,
  "minRating": "4",
  "inStockOnly": true,
  "maxResultsPerSearch": 100
}
```

### Output

```json
{
  "resultType": "product",
  "productId": "MOBHQV9YCUG4ZQZK",
  "listingId": "LSTMOBHQV9YCUG4ZQZKUTWGGY",
  "title": "Apple iPhone 17 (Black, 256 GB)",
  "brand": "Apple",
  "url": "https://www.flipkart.com/apple-iphone-17-black-256-gb/p/itmc61b40459dd98?pid=MOBHQV9YCUG4ZQZK",
  "price": 91999,
  "mrp": 99900,
  "discountPercent": 7,
  "discountAmount": 7901,
  "currency": "INR",
  "rating": 4.6,
  "ratingCount": 46759,
  "reviewCount": 3099,
  "ratingBreakdown": { "1star": 1928, "2star": 462, "3star": 1194, "4star": 6061, "5star": 37114 },
  "inStock": true,
  "availability": "IN_STOCK",
  "stockNote": null,
  "flipkartAssured": true,
  "badge": "BESTSELLER",
  "offers": ["Upto ₹61,050 Off on Exchange", "Bank Offer"],
  "keySpecs": ["256 GB ROM", "16.0 cm (6.3 inch) Super Retina XDR Display", "48MP + 48MP | 18MP Front Camera", "A19 Chip, 6 Core Processor"],
  "warranty": "Apple One (1) Year Limited Warranty",
  "category": "Mobile",
  "subCategory": "Handset",
  "image": "https://rukmini1.flixcart.com/image/832/832/xif0q/mobile/2/p/o/-original-imahqvad9pbyujab.jpeg?q=70",
  "images": ["..."],
  "searchQuery": "iphone",
  "page": 1,
  "position": 1,
  "totalResults": 429
}
```

In monitor mode each row also has `changeTypes` (`new`, `price_drop`, `price_increase`, `back_in_stock`, `out_of_stock`) and `previousPrice`.

### Use it from ChatGPT, Claude & AI agents

This Actor works as a tool for AI assistants through the **Apify MCP server**:

- **Claude, ChatGPT, Cursor, VS Code, Windsurf:** add this MCP server URL as a connector and sign in with your Apify account:

  ```
  https://mcp.apify.com/?tools=get_anything/flipkart-scraper
  ```

- **Claude Desktop / Cursor config:**

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

- **REST / GPT Actions / LangChain:** `POST https://api.apify.com/v2/acts/get_anything~flipkart-scraper/run-sync-get-dataset-items?token=YOUR_TOKEN`

Then ask, for example: *"Find the 20 best-rated 5G phones on Flipkart between ₹10,000 and ₹20,000 that are in stock, with their MRP and discount."*

### How much will it cost?

You pay per product returned, plus a tiny start fee. No subscription.

| Run | Products | Approx. cost |
|---|---|---|
| Quick check of one search | 40 | ~$0.05 |
| 5 keywords × 100 products | 500 | ~$0.60 |
| Daily price monitor, 10 searches, monitor mode | only changed products | a few cents a day |

Bronze, Silver and Gold Apify plans get lower per-product prices. In monitor mode you only pay for the new or changed products that are returned. See the Pricing tab for exact rates.

### FAQ

**Do I need a Flipkart account?** No. It reads the same search pages any visitor sees.

**Why is `mrp` sometimes empty?** When a product has no crossed-out MRP (sold at full price), `mrp` is `null` and there is no discount.

**Can I get full product pages, seller details or reviews text?** Not in this version. It covers search and category listing data: price, MRP, rating breakdown, specs, stock and badges.

**How many products per search?** Flipkart serves about 40 pages per search (24-40 products each), so up to ~1,000. Split broad searches by price band or category to get more.

**Do I need a proxy?** The default Apify proxy is recommended. If Flipkart doesn't serve a page, it is fetched again from a fresh IP.

### Changelog

- **0.1 (2026-10-30):** First release: keyword (English/Hindi) and URL search, sort, price/rating/stock/Assured filters, star breakdown, monitor mode.

### Related actors

- [Amazon Products & Best Sellers Scraper (21 marketplaces incl. Amazon.in)](https://apify.com/get_anything/amazon-ae-scraper)
- [AliExpress Scraper - Products, Prices, Orders Sold & Ratings](https://apify.com/get_anything/aliexpress-scraper)
- [Shopify Store Scraper - Products, Prices & Store Leads](https://apify.com/get_anything/shopify-store-scraper)
- [Noon Scraper - UAE, Saudi & Egypt E-commerce](https://apify.com/get_anything/noon-scraper)

### ⭐ Like this Actor?

If it saved you time, please [leave a quick rating](https://apify.com/get_anything/flipkart-scraper/reviews). It helps other people find it, and it keeps it maintained. Found a bug or need a field? Open an [issue](https://apify.com/get_anything/flipkart-scraper/issues) and I'll respond quickly.

### 🤝 Support & custom scrapers

Need help, a missing field, or a scraper for a site that isn't covered? Email <get.anything2026@gmail.com> or message me on [LinkedIn](https://ae.linkedin.com/in/get-anything-341a34447).

More scrapers for jobs, real estate, e-commerce and AI data: [getanything-site.vercel.app](https://getanything-site.vercel.app)

# Actor input Schema

## `searchKeywords` (type: `array`):

What to search on Flipkart, one per line. English or Hindi ('iphone 16', 'running shoes', 'मोबाइल').

## `startUrls` (type: `array`):

Optional. Paste Flipkart search URLs (flipkart.com/search?q=...) or category URLs (flipkart.com/mobiles/pr?sid=tyy,4io) to keep the filters you set on the site. Sort and price inputs below are ignored for these.

## `maxResultsPerSearch` (type: `integer`):

How many products to return per keyword or URL. Flipkart shows 24-40 per page and up to ~1,000 per search. 0 = all.

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

Order of results for keyword searches.

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

Optional. Only products at or above this price in rupees.

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

Optional. Only products at or below this price in rupees.

## `minRating` (type: `string`):

Optional. Skip products rated below this.

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

Skip products that are out of stock or coming soon.

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

Keep only products with the Flipkart Assured badge.

## `onlyChanges` (type: `boolean`):

Remember each search's products and return only products that are new, whose price went up or down (with previousPrice), or that came back in / went out of stock since the last run. The first run returns everything as 'new'. Schedule it daily for price tracking.

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

Apify Proxy keeps runs reliable: if Flipkart does not serve a page, it is retried from a fresh IP.

## Actor input object example

```json
{
  "searchKeywords": [
    "iphone"
  ],
  "maxResultsPerSearch": 20,
  "sortBy": "relevance",
  "minRating": "0",
  "inStockOnly": false,
  "assuredOnly": false,
  "onlyChanges": false,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `results` (type: `string`):

One item per Flipkart product from the searches.

# 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 = {
    "searchKeywords": [
        "iphone"
    ],
    "maxResultsPerSearch": 20,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("get_anything/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 = {
    "searchKeywords": ["iphone"],
    "maxResultsPerSearch": 20,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("get_anything/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 '{
  "searchKeywords": [
    "iphone"
  ],
  "maxResultsPerSearch": 20,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call get_anything/flipkart-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,get_anything/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/dPej21yn3cxKJk9WP/builds/V05wk2PzYFwbpPFnC/openapi.json
