# Flipkart Scraper 🛒 products, prices, MRP, ratings (`tagadanar/flipkart-scraper`) Actor

Scrape Flipkart India search and category listings by keyword or URL: product ID, title, brand, price, MRP, discount, rating, ratings and reviews count, key specs, images, sponsored and Assured flags. Sort, price and rating filters. No browser, no proxy to set up. $1.20 per 1,000 products.

- **URL**: https://apify.com/tagadanar/flipkart-scraper.md
- **Developed by:** [Tagada Data](https://apify.com/tagadanar) (community)
- **Categories:** E-commerce, Automation, AI
- **Features:** Limited permissions
- **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

Turn any Flipkart India search or category listing into a clean table of products. Type a keyword (or paste a Flipkart search or category URL) and get one row per product: Flipkart product ID, title, brand, selling price, MRP, discount, star rating, ratings and reviews count, key specs, images, the Sponsored and Flipkart Assured flags, and the product's position in the listing. Use Flipkart's own sort and price and rating filters.

**$1.20 per 1,000 products on Free ($0.84 on Gold), plus $0.001 per run. Platform usage is included.** No API key, no login, no proxy to set up.

### What you get

One flat row per product. Fields the card does not show are null.

| Field | What it is |
| --- | --- |
| `productId` | Flipkart product ID (FSN), e.g. `COMGZUYDGFJGHZR4` |
| `title` | Product title as listed |
| `brand` | Brand: the card's brand line, or the Brand filter value the title starts with |
| `price` | Selling price in ₹ |
| `mrp` | Struck-through MRP in ₹ (null when no MRP is shown) |
| `discountPercent` | Discount off MRP, % |
| `currency` | Always `INR` |
| `rating` | Average stars out of 5 (null when the card shows no rating) |
| `ratingCount`, `reviewCount` | Number of ratings and written reviews |
| `isAssured` | Flipkart Assured badge (null on fashion grids, which do not show it) |
| `isSponsored` | Card labelled Sponsored (an ad) |
| `stockStatus` | e.g. `IN_STOCK` (when the card says) |
| `subtitle` | Variant line: size, colour, screen size... |
| `keySpecs` | Specification bullets shown on the card (electronics) |
| `category`, `subCategory`, `vertical` | Flipkart's own category labels |
| `warranty` | Warranty summary when shown |
| `url` | Product page URL |
| `imageUrl`, `imageUrls` | Main image and all card images (832 px) |
| `listingId` | Flipkart listing ID |
| `position`, `page` | Rank in the listing (as Flipkart numbers it) and the page it was on |
| `searchQuery` | The keyword that found it (null for pasted URLs) |
| `sourceUrl` | The listing page it was read from |
| `retrievedAt` | When the row was fetched (ISO 8601) |

Electronics listings (phones, laptops, TVs) show ratings, key specs and the Assured badge on the card. Fashion and home grids (shoes, clothing) show the brand, price, MRP and discount, but no rating on the card, so those fields are null there.

### Who uses it

- **Sellers and brands on Flipkart**: track your prices, MRP and discount against competitors on the keywords that matter, and see who buys the Sponsored slots.
- **Price and assortment analysts**: build a daily snapshot of a category (best sellers, price bands, rating counts) for India's largest marketplace.
- **Market researchers and AI agents**: get structured Flipkart product data for a keyword without running a browser.

### Examples

Prefill: the first two pages for one keyword.

```json
{"queries":["laptop"],"maxResults":48}
```

Several keywords, cheapest first, between ₹30,000 and ₹40,000, rated 4★ and above:

```json
{"queries":["laptop","tablet"],"sort":"price_asc","minPrice":30000,"maxPrice":40000,"minRating":"4","maxResults":200}
```

A category page pasted from your browser (filters picked on Flipkart are kept), without the Sponsored cards:

```json
{"startUrls":["https://www.flipkart.com/laptops/pr?sid=6bo,b5g"],"skipSponsored":true,"maxResults":100}
```

### Results, zeros and errors

- Flipkart shows 24 product cards per page on list layouts and 40 on grid layouts; the actor reads page after page until it reaches your maximum or the end of the listing.
- The same product is delivered once per run, even if several keywords or pages show it.
- A search Flipkart answers with "Sorry, no results found!" is reported as "no match" and costs only the $0.001 start.
- If Flipkart refuses requests (its "all of India is here" busy page), the actor waits and tries once more, then stops that search and says so in the status. You pay only for the products delivered; a refused search is never reported as "no match".
- Invalid input (no keyword or URL, a non-Flipkart URL, a minimum price above the maximum) ends the run right away with an "Input error: ..." message and only the $0.001 start charge.

### Pricing

- $0.001 per run (start).
- $1.20 per 1,000 products on Free, with lower prices on higher Apify plans ($0.84 per 1,000 on Gold). Platform usage is included.
- Sponsored cards skipped with `skipSponsored` are not charged.

Set a maximum charge per run in Apify if you want a hard ceiling; the actor stops at it and says so in the status.

### FAQ

**Does it open each product page?** No. It reads the search and category listings, which already carry the price, MRP, rating, specs and images shown on the card. That keeps it fast and cheap. Full specification tables, sellers and reviews from product pages are not included.

**Which prices do I get?** The prices Flipkart shows to a visitor without a delivery pincode, in Indian rupees. Bank and exchange offers are not applied.

**How many products can I get per keyword?** Up to 2,000 per keyword or URL, as far as Flipkart pages the listing.

**Can I filter by brand?** Pick the brand (or any other filter) on Flipkart, then paste the URL into `startUrls`: the filters in the URL are kept.

**Can the same product come back twice?** No. Each product is delivered and charged once per run. Flipkart sometimes shows a product twice in one listing, as a Sponsored card and as a regular card: you get the first one. With `skipSponsored` you get the regular card.

**What does "position" mean?** The rank Flipkart gives the card in the listing, counting Sponsored cards, so you can see where a product shows up for a keyword.

### Data use

Data comes from Flipkart's public search and category pages, as any visitor sees them. Product listings are business information, not personal data. Use the data in line with Flipkart's terms and the laws that apply to you. This actor is independent and not affiliated with Flipkart.

# Changelog

This Actor's version history is a separate document: https://apify.com/tagadanar/flipkart-scraper/changelog.md

# Actor input Schema

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

What you would type in the Flipkart search box, one keyword per line (for example <code>laptop</code>, <code>running shoes men</code>, <code>iphone 15</code>). Each keyword is searched separately. Up to 50 keywords and URLs per run.

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

Optional. Paste Flipkart listing URLs: a search page (<code>https://www.flipkart.com/search?q=...</code>) or a category page (<code>https://www.flipkart.com/laptops/pr?sid=6bo,b5g</code>). Filters you picked on Flipkart (brand, price, rating...) are kept. Single product pages are not supported.

## `maxResults` (type: `integer`):

Stop each keyword or URL after this many products. Flipkart shows 24 to 40 products per page. Default 100, max 2,000.

## `sort` (type: `string`):

Flipkart's own sort order. A sort already set in a pasted URL wins.

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

Optional. Only products from this price, in Indian rupees (Flipkart's own price filter).

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

Optional. Only products up to this price, in Indian rupees (Flipkart's own price filter).

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

Optional. Flipkart's own rating filter: only products rated this many stars and above.

## `skipSponsored` (type: `boolean`):

Leave out the cards Flipkart marks as Sponsored (ads). They are not charged. By default they are kept and flagged with isSponsored.

## Actor input object example

```json
{
  "queries": [
    "laptop"
  ],
  "maxResults": 48,
  "skipSponsored": false
}
```

# Actor output Schema

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

One item per product card in the default dataset.

# 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": [
        "laptop"
    ],
    "maxResults": 48
};

// Run the Actor and wait for it to finish
const run = await client.actor("tagadanar/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": ["laptop"],
    "maxResults": 48,
}

# Run the Actor and wait for it to finish
run = client.actor("tagadanar/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": [
    "laptop"
  ],
  "maxResults": 48
}' |
apify call tagadanar/flipkart-scraper --silent --output-dataset

```

## MCP server setup

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