Flipkart Products Scraper

Scrape Flipkart product listings for prices, discounts, ratings, availability, offers, images, product IDs, and seller/catalog data.

Data fields

FieldTypeDescription
statusstringWhether this row contains an extracted product or a transparent direct-URL error.
errorstring | nullFailure message for an uncharged error row.
warningsarrayNon-fatal enrichment warnings.
sourceMethodstringStructured source used to produce the row.
querystring | nullSearch query that produced the product, if any.
inputTypestringWhether the product came from search or a direct product URL.
positioninteger | nullOverall search result position.
pageinteger | nullSearch results page number.

Input preview

searchQueriesSearch queries
productUrlsProduct URLs
maxItemsMaximum products
pageLimitMaximum search pages per query
sortBySort search results by
includeProductDetailsFetch product detail pages

API and agents

This actor can be run through Apify API, datasets, webhooks, schedules, and the official Apify MCP server.

How this actor works

See example inputs, outputs, API usage, and practical limits before running this actor on Apify.

Open Apify page

Scrape Flipkart product search results and product pages for ecommerce monitoring, price tracking, catalog research, and marketplace analysis. The Actor exports structured Flipkart product rows with prices, discounts, ratings, availability, product URLs, images, and scrape status so you can analyze marketplace data in JSON, CSV, Excel, or through the Apify API.

What does this Flipkart scraper do?

This Actor accepts Flipkart search terms, direct Flipkart product URLs, or both. It visits the public Flipkart pages, extracts product listing and product-page signals, and saves normalized product records to the default dataset. Use it when you need repeatable Flipkart product data without building your own crawler, proxy handling, output schema, or Apify integration.

Who is it for?

  • Ecommerce analysts tracking Flipkart prices, discounts, ratings, and availability.
  • Marketplace sellers researching competing products and category positioning.
  • Retail teams monitoring catalog coverage and product detail changes.
  • Agencies building dashboards or alerts for Indian ecommerce categories.
  • Developers who need a structured Flipkart dataset for internal workflows.

Example inputs

Search Flipkart listings

{
  "searchQueries": ["wireless earbuds"],
  "maxItems": 20,
  "pageLimit": 2,
  "includeProductDetails": false
}

Scrape direct product URLs

{
  "productUrls": [
    { "url": "https://www.flipkart.com/realme-buds-t110-rma2306-ai-enc-calls-38-hours-playback-deep-bass-bluetooth/p/itma5620a39a816e?pid=ACCH4HY6GRGJYUU8" }
  ],
  "maxItems": 10
}

Combine searches and URLs

{
  "searchQueries": ["laptop backpack", "running shoes"],
  "productUrls": [
    { "url": "https://www.flipkart.com/realme-buds-t110-rma2306-ai-enc-calls-38-hours-playback-deep-bass-bluetooth/p/itma5620a39a816e?pid=ACCH4HY6GRGJYUU8" }
  ],
  "maxItems": 50,
  "pageLimit": 2,
  "sortBy": "relevance"
}

Input options

  • searchQueries — Flipkart search keywords to scrape.
  • productUrls — direct HTTPS Flipkart product URLs.
  • maxItems — maximum number of product rows to save across the run.
  • pageLimit — maximum Flipkart search pages per query.
  • sortBy — optional search sorting mode.
  • includeProductDetails — optionally visit product detail pages for enrichment.
  • requestTimeoutSecs — per-request timeout.
  • proxyConfiguration — optional Apify Proxy settings.

Output data

Each dataset item includes query, inputType, status, error, warnings, sourceMethod, position, page, rankOnPage, title, productUrl, pid, price, originalPrice, currency, discount, rating, ratingCount, reviewCount, availability, brand, sellerName, offers, imageUrl, categoryBreadcrumbs, sourceUrl, and scrapedAt.

Rows with status: "ok" contain extracted product data. Rows with status: "error" let you audit URLs that could not be read during the run.

API usage

Run this Actor from the Apify API or client libraries by passing the same JSON input shown in the examples above. After the run succeeds, read the default dataset to consume product rows in JSON, CSV, Excel, or through the dataset items API.

Node.js

import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor('fetch_cat/flipkart-products-scraper').call({
  searchQueries: ['wireless earbuds'],
  maxItems: 20,
  pageLimit: 2
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);

Python

from apify_client import ApifyClient

client = ApifyClient('YOUR_APIFY_TOKEN')
run = client.actor('fetch_cat/flipkart-products-scraper').call(run_input={
    'searchQueries': ['wireless earbuds'],
    'maxItems': 20,
    'pageLimit': 2,
})
items = client.dataset(run['defaultDatasetId']).list_items().items
print(items)

cURL

curl -X POST "https://api.apify.com/v2/acts/fetch_cat~flipkart-products-scraper/runs?token=$APIFY_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{"searchQueries":["wireless earbuds"],"maxItems":20,"pageLimit":2}'

MCP usage

You can use this Actor through Apify MCP-compatible tools by selecting fetch_cat/flipkart-products-scraper and providing the same JSON input. This is useful for agent workflows that need current Flipkart product prices, availability, and product URLs as structured context.

Install the Apify MCP server in Claude Desktop or another MCP client with a command such as:

claude mcp add apify -- npx -y @apify/actors-mcp-server --actors fetch_cat/flipkart-products-scraper

A JSON MCP server configuration can look like this:

{
  "mcpServers": {
    "apify": {
      "command": "npx",
      "args": ["-y", "@apify/actors-mcp-server", "--actors", "fetch_cat/flipkart-products-scraper"],
      "env": {
        "APIFY_TOKEN": "YOUR_APIFY_TOKEN"
      }
    }
  }
}

Example prompts for MCP clients:

  • "Run the Flipkart Products Scraper for wireless earbuds and summarize the cheapest products."
  • "Scrape this Flipkart product URL and tell me the current price, rating, and availability."
  • "Collect the first 20 laptop backpack listings from Flipkart and return a CSV-ready table."

Tips for reliable runs

Flipkart may challenge automated traffic, especially from datacenter IP ranges. If direct requests produce empty or error rows, enable Apify Proxy. Residential Indian proxy exits are recommended for production monitoring. Keep includeProductDetails disabled when listing-level data is enough, because product-page enrichment requires more requests.

Limitations

Flipkart page layout, availability text, and offer labels can change. Some public pages omit seller, rating, review, or availability information. The Actor saves warnings and error rows so you can separate unavailable data from successfully extracted products.

Legality and responsible use

This Actor extracts publicly available Flipkart pages. You are responsible for using the data lawfully, respecting applicable terms, and ensuring that your use case complies with privacy, consumer protection, and marketplace rules. Avoid collecting personal data or using the output for prohibited purposes.

Support

If a run does not return the product data you expected, share the run URL and input with support. Include whether you used direct connections or Apify Proxy so the issue can be reproduced quickly.

Common questions

Search-intent answers for buyers comparing Apify actors, API alternatives, and scheduled data workflows.

Can I export Flipkart Products Scraper results to CSV, JSON, Excel, or API?

Yes. Apify datasets support JSON, CSV, Excel, XML, RSS, API access, webhooks, and scheduled exports.

Can this work as an API alternative?

Yes. Use the Apify Actor API for runs and the dataset API for results. The focused MCP URL also exposes this actor for agent workflows.

Does this page replace the Apify actor page?

No. This catalog helps discovery and comparison. Running, billing, storage, and support continue through Apify.