# Flipkart Product Scraper 🛍️ (`easyapi/flipkart-product-scraper`) Actor

Scrape product data from Flipkart search results, including prices, images, titles, and detailed product information. Perfect for price monitoring, market research, and competitive analysis.

- **URL**: https://apify.com/easyapi/flipkart-product-scraper.md
- **Developed by:** [EasyApi](https://apify.com/easyapi) (community)
- **Categories:** E-commerce, Lead generation, Integrations
- **Stats:** 316 total users, 44 monthly users, 97.7% runs succeeded, 2 bookmarks
- **User rating**: 4.45 out of 5 stars

## Pricing

from $2.99 / 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.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#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 Product Scraper 🛍️

Powerful and efficient scraper for extracting detailed product information from Flipkart search results. Get comprehensive product data including prices, images, descriptions, and more!

### Features ✨

- 🔍 Scrape products from any Flipkart search URL
- 💰 Get real-time pricing and discount information
- 🖼️ Extract all product images and videos
- 📊 Collect detailed product analytics data
- 🏷️ Capture product categories and subcategories
- ⚡ Fast and efficient with built-in proxy support
- 🤖 Anti-blocking measures implemented
- 📱 Works with all product categories

### Input Parameters 📝

- `searchUrls`: Array of Flipkart search URLs to scrape
- `maxItems`: Maximum number of products to scrape (default: 50)
- `proxyConfiguration`: Optional proxy settings

### Output Data 📊

The actor outputs detailed product information including:

- Product title and brand
- Current and original prices
- Discount information
- Product images and videos
- Category information
- Product flags (chat availability, wishlist, etc.)
- Product analytics data
- Buyability status
- Timestamp of data collection

### Use Cases 🎯

- Price monitoring and tracking
- Market research and analysis
- Competition monitoring
- Product catalog building
- Inventory tracking
- E-commerce analytics

### Tips 💡

- Use specific search URLs for better results
- Adjust `maxItems` based on your needs
- Consider using proxies for large-scale scraping

#### Input Example

A full explanation of an input example in JSON.

```json
{
    "searchUrls": [
        "https://www.flipkart.com/search?q=watch&otracker=search&otracker1=search&marketplace=FLIPKART&as-show=on&as=off&p%5B%5D=facets.brand%255B%255D%3DTitan"
    ],
    "maxItems": 50
}
```

#### Output sample

The results will be wrapped into a dataset which you can always find in the **Storage** tab. Here's an excerpt from the data you'd get if you apply the input parameters above:

And here is the same data but in JSON. You can choose in which format to download your data: JSON, JSONL, Excel spreadsheet, HTML table, CSV, or XML.

```json
[
    {
        "searchUrl": "https://www.flipkart.com/search?q=watch&otracker=search&otracker1=search&marketplace=FLIPKART&as-show=on&as=off&p%5B%5D=facets.brand%255B%255D%3DTitan",
        "productData": {
            "analyticsData": {
                "category": "Watch",
                "subCategory": "Watch",
                "superCategory": "Watch",
                "vertical": "KidsWristWatch"
            },
            "baseUrl": "/selloria-kids-g-sport-look-band-shock-chronograph-resistance-digital-watch-boys/p/itmefbaa2361193f?pid=WATFURH7GWFX32G3",
            "buyability": {
                "intent": "positive",
                "message": null,
                "showMessage": false
            },
            "flags": {
                "enableChat": true,
                "enableCompare": false,
                "enableFlipkartAdvantage": true,
                "enableOfferTag": true,
                "enableVisualDiscovery": false,
                "enableWishlist": true,
                "showSecondaryTitle": true,
                "swatchAvailableOnBrowsePage": true
            },
            "id": "WATFURH7GWFX32G3",
            "listingId": "LSTWATFURH7GWFX32G3WO73JV",
            "media": {
                "images": [
                    {
                        "url": "http://rukmini1.flixcart.com/image/%7B@width%7D/%7B@height%7D/xif0q/watch/d/n/r/1-resistance-luminous-taostry-boys-girls-original-imah62t5dkhrqtet.jpeg?q={@quality}"
                    },
                    {
                        "url": "http://rukmini1.flixcart.com/image/%7B@width%7D/%7B@height%7D/xif0q/watch/e/b/8/1-resistance-luminous-taostry-boys-girls-original-imah62t5prcmrgpg.jpeg?q={@quality}"
                    },
                    {
                        "url": "http://rukmini1.flixcart.com/image/%7B@width%7D/%7B@height%7D/xif0q/watch/c/v/i/1-resistance-luminous-taostry-boys-girls-original-imah62t57qhfawng.jpeg?q={@quality}"
                    },
                    {
                        "url": "http://rukmini1.flixcart.com/image/%7B@width%7D/%7B@height%7D/xif0q/watch/i/3/n/1-brand-a-digital-watch-shockproof-multi-functional-automatic-original-imah4m5cgvpjke8e.jpeg?q={@quality}"
                    },
                    {
                        "url": "http://rukmini1.flixcart.com/image/%7B@width%7D/%7B@height%7D/xif0q/watch/o/p/p/1-resistance-luminous-taostry-boys-girls-original-imah62t5wwyckwjh.jpeg?q={@quality}"
                    },
                    {
                        "url": "http://rukmini1.flixcart.com/image/%7B@width%7D/%7B@height%7D/xif0q/watch/e/n/h/1-stylish-digital-watch-for-boy-and-men-shurai-boys-original-imahy9xbdgvm6gwv.jpeg?q={@quality}"
                    },
                    {
                        "url": "http://rukmini1.flixcart.com/image/%7B@width%7D/%7B@height%7D/xif0q/watch/h/r/4/1-resistance-luminous-selloria-boys-original-imah7ktgbwwvwaqk.jpeg?q={@quality}"
                    },
                    {
                        "url": "http://rukmini1.flixcart.com/image/%7B@width%7D/%7B@height%7D/xif0q/watch/r/g/t/1-resistance-luminous-taostry-boys-girls-original-imah62t5cz6hgt9d.jpeg?q={@quality}"
                    },
                    {
                        "url": "http://rukmini1.flixcart.com/image/%7B@width%7D/%7B@height%7D/xif0q/watch/b/d/1/1-resistance-luminous-taostry-boys-girls-original-imah62t5ezu5cmyh.jpeg?q={@quality}"
                    },
                    {
                        "url": "http://rukmini1.flixcart.com/image/%7B@width%7D/%7B@height%7D/xif0q/watch/k/i/x/1-resistance-luminous-selloria-boys-original-imah7ktgakn9xayk.jpeg?q={@quality}"
                    },
                    {
                        "url": "http://rukmini1.flixcart.com/image/%7B@width%7D/%7B@height%7D/xif0q/watch/g/a/x/1-resistance-luminous-selloria-boys-original-imah7ktgacw3gfub.jpeg?q={@quality}"
                    },
                    {
                        "url": "http://rukmini1.flixcart.com/image/%7B@width%7D/%7B@height%7D/xif0q/watch/8/e/7/1-brand-a-digital-watch-shockproof-multi-functional-automatic-original-imah4m46kr8mfkts.jpeg?q={@quality}"
                    }
                ],
                "videos": [
                    {
                        "height": null,
                        "videoId": "Jgk1yRF8B18",
                        "videoProvider": "YOUTUBE",
                        "videoType": "THUMBNAIL",
                        "width": null
                    }
                ]
            },
            "pricing": {
                "discountAmount": 620,
                "plusPriceInfo": {
                    "type": "FormattedMessageValue",
                    "data": [
                        {
                            "type": "FormattedRichTextData",
                            "value": {
                                "type": "RichTextValue",
                                "style": {
                                    "color": "#000000",
                                    "fontSize": 12,
                                    "fontWeight": "normal"
                                },
                                "text": "Free delivery"
                            }
                        }
                    ]
                },
                "priceTags": null,
                "prices": [
                    {
                        "value": 799,
                        "strikeOff": true
                    },
                    {
                        "value": 179,
                        "strikeOff": false
                    }
                ],
                "showDiscountAsAmount": false,
                "totalDiscount": 77
            },
            "titles": {
                "newTitle": "KIDS-G-SPORT LOOK BAND SHOCK CHRONOGRAPH RESISTANCE Digital Watch  - For Boys RESISTANCE LUMINOUS",
                "superTitle": "selloria",
                "title": "selloria KIDS-G-SPORT LOOK BAND SHOCK CHRONOGRAPH RESISTANCE Digital Watch  - For Boys"
            },
            "vertical": "watch"
        },
        "scrapedAt": "2025-02-12T03:47:25.793Z"
    },
    ...
]
```

### Related Actors

- 🛍️ [Flipkart Review Scraper](https://apify.com/easyapi/flipkart-review-scraper) - Extract detailed product reviews and ratings from Flipkart with customer feedback and sentiment data
- 🛍️ [Myntra Product Scraper](https://apify.com/easyapi/myntra-product-scraper) - Extract detailed product information from India's leading fashion marketplace
- 🛍️ [AJIO Product Scraper](https://apify.com/easyapi/ajio-product-scraper) - Get comprehensive data from AJIO's fashion marketplace including prices and discounts
- 🛍️ [Meesho Product Detail Scraper](https://apify.com/easyapi/meesho-product-detail-scraper) - Scrape detailed product information from Meesho.com with prices and seller details
- 🛍️ [Meesho Product Search Scraper](https://apify.com/easyapi/meesho-product-search-scraper) - Extract product listings from Meesho search results with comprehensive data
- 🏥 [Netmeds Product Scraper](https://apify.com/easyapi/netmeds-product-scraper) - Extract detailed product information from India's leading online pharmacy
- 🛍️ [Nike Product Scraper](https://apify.com/easyapi/nike-product-scraper) - Extract product data including prices, colors and detailed product information
- 🛒 [Costco Product Search Scraper](https://apify.com/easyapi/costco-product-search-scraper) - Scrape product data with prices, descriptions and availability information
- 🛍️ [Hobby Lobby Products Scraper](https://apify.com/easyapi/hobby-lobby-products-scraper) - Extract detailed product information including prices and variants
- 🛍️ [Lidl Product Scraper](https://apify.com/easyapi/lidl-product-scraper) - Scrape product data including prices, images and stock information
- 🛍️ [Zara Product Scraper](https://apify.com/easyapi/zara-product-scraper) - Extract detailed product information from Zara's online store
- 🛍️ [Jumia Product Scraper](https://apify.com/easyapi/jumia-product-scraper) - Scrape product listings with detailed information and seller details
- 🛍️ [Weekday Product Scraper](https://apify.com/easyapi/weekday-product-scraper) - Extract product data including prices, variants and availability
- 🛍️ [Tokopedia Product Scraper](https://apify.com/easyapi/tokopedia-product-scraper) - Scrape product data with prices and shop details from Tokopedia
- 🛍️ [TradeIndia Product Scraper](https://apify.com/easyapi/tradeindia-product-scraper) - Extract B2B product listings with detailed information and pricing

# Actor input Schema

## `searchUrls` (type: `array`):

List of Flipkart search URLs to scrape

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

Maximum number of products to scrape

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

Proxy settings for the scraper

## Actor input object example

```json
{
  "searchUrls": [
    "https://www.flipkart.com/search?q=watch&otracker=search&otracker1=search&marketplace=FLIPKART&as-show=on&as=off&p%5B%5D=facets.brand%255B%255D%3DTitan"
  ],
  "maxItems": 20,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("easyapi/flipkart-product-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 = {}

# Run the Actor and wait for it to finish
run = client.actor("easyapi/flipkart-product-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 '{}' |
apify call easyapi/flipkart-product-scraper --silent --output-dataset

```

## MCP server setup

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