# Flipkart Seller Scraper (`gitlab/flipkart-seller-scraper`) Actor

Read public Flipkart product seller comparisons: actual seller names, prices, separate product and seller ratings, conditional delivery, policies and published offer terms. Accept product URLs or direct all-sellers URLs with one global result cap.

- **URL**: https://apify.com/gitlab/flipkart-seller-scraper.md
- **Developed by:** [Gitlab](https://apify.com/gitlab) (community)
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.99 / 1,000 result items

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?

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 Seller Scraper — public comparison

Read the actual public “All Sellers” comparison for Flipkart products. Product mode first verifies the product's canonical page and explicit Product FSN, then follows its actual matching “See other sellers” link. Direct mode accepts a public `/sellers?pid=...` URL. The Actor never constructs a seller route from a random product/recommendation ID found elsewhere in page scripts.

```json
{
  "mode": "sellersPageUrl",
  "sellersPageUrls": ["https://www.flipkart.com/sellers?pid=ACCHKBKZXE5FSZVH"],
  "maxItems": 10,
  "maxConcurrency": 1,
  "proxyConfiguration": { "useApifyProxy": false, "apifyProxyCountry": "IN" }
}
```

For `mode: "productUrl"`, provide `productUrls`. The input form prefills ten real product URLs from a previous public search, so a run can collect up to ten current seller rows across products. These URLs are seeds only: names, prices, ratings and seller records are always read afresh. Inactive-mode URL prefills are ignored. Duplicate product FSNs and identical product/seller/price rows are removed globally. A product can have fewer than ten sellers, or publish an empty comparison; that limitation is retained in `source_summary`, never filled with invented vendors or the publisher's contact information.

`maxItems` is an integer from 1 to 500, default 10, and caps every input product together. `maxConcurrency` is a compatibility ceiling from 1 to 10, default 1; this controller currently uses one page sequentially so the cap and source-verification stop apply globally. Product URLs must be genuine `/p/itm...` pages. Direct seller URLs require a complete 16-character source FSN. A seller URL in product mode and malformed IDs are input errors, rather than empty-success runs.

Comparison output includes the product FSN/name/link, source header product rating/rating count, seller name/rating, literal price/struck-through comparison price/discount, exact delivery text and published policy/offer terms. Product ratings are scoped to the product header and kept separate from the seller's rating. Product review counts and availability are added only from matching product metadata when product mode visits that page; review counts are not substituted for rating counts. Availability metadata can differ from the presence of a priced comparison row, and both source observations are preserved.

Unknown COD, EMI, no-cost EMI and Assured classifications remain null. Explicit negative text produces false and an actual badge/positive statement produces true. Absence of a badge or an EMI paragraph does not establish false. Return and replacement policies remain literal source text. Delivery is the source's conditional statement, not a promise calculated for an unspecified address. No pincode, eligibility, card, bank or customer details are invented.

`featuredOffers` retains all directly displayed offers; `featuredOffer` retains the first for compatibility. `allOffers` contains distinct terms present in the public document, including the already-loaded expanded offer section. `moreOffersCount` preserves the source's “N more offers”. `totalOffers` adds that count to the directly displayed entries, while `capturedOffersCount` reports the number of distinct texts actually captured. For example, two displayed offers plus “24 more offers” means a source total of 26, rather than 24. Conditional bank terms stay intact. An ordinary “Get extra ... off” discount is not labelled an exchange offer.

The Actor uses native Playwright Chrome without user-agent/fingerprint injection or guessed network endpoints. Configured Apify/custom proxies are honored locally and on the platform. Actual verification or login stops further source requests. No cart, purchase, order, login, contact, coupon redemption or challenge action is performed. Actual HTML, access states, canonical Product metadata, comparison rows and empty-source summaries are saved under `product_*`, `comparison_*` and `source_summary` in the local key-value store. Parsed seller rows and their HTML are captured in the same DOM read.

Run locally using `apify run`. Offline saved-source checks remain separate from fresh datasets. Dependencies are pinned and locked; Docker uses the matching Playwright Chrome image and `npm ci`. Local testing performs no deployment.

This Actor reads product-specific seller offers, not a standalone seller storefront or private profile. Seller identity is the exact name published in each comparison row. It does not invent stock status from a price or comparison row.

# Changelog

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

# Actor input Schema

## `mode` (type: `string`):

Product mode follows only the actual matching public all-sellers link; direct mode reads an actual sellers URL. Inactive mode URL prefills are ignored.

## `productUrls` (type: `array`):

Real public product pages. Ten current source-discovered URLs are prefilled to allow up to ten genuine seller rows across products; the global maxItems cap still applies. No cached product data is output.

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

Global unique seller-offer result cap across every input product/page, default 10.

## `sellersPageUrls` (type: `array`):

Actual public /sellers?pid=... URLs, with the complete source 16-character product FSN. Used only in sellersPageUrl mode.

## `maxConcurrency` (type: `integer`):

Compatibility concurrency ceiling. This source controller currently uses one page sequentially so caps and verification stops apply globally.

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

Direct by default; configured Apify or custom proxies are honored locally and on the platform. Actual verification or login stops extraction.

## Actor input object example

```json
{
  "mode": "productUrl",
  "productUrls": [
    "https://www.flipkart.com/triggr-arcus-one-60h-battery-4-mic-enc-dual-pairing-rubber-grip-13mm-drivers-v6-0-bluetooth/p/itmc75b69ddbd3df?pid=ACCHKBKZXE5FSZVH&lid=LSTACCHKBKZXE5FSZVHJAEZSJ",
    "https://www.flipkart.com/aroma-nb119b-badshah-40-hours-playtime-neckband-bluetooth/p/itm45cdcb3a95f2f?pid=ACCG2TC8SURNPZAA&lid=LSTACCG2TC8SURNPZAAEIAOTI",
    "https://www.flipkart.com/footloose-p47-wireless-bluetooth-headphones-mic-fm-sd-card-hands-foldable-design-gaming/p/itm167c9b8d474b1?pid=ACCHQCHHNUJYSGU4&lid=LSTACCHQCHHNUJYSGU4NL8UQN",
    "https://www.flipkart.com/worricow-wireless-bluetooth-headphone-over-ear-headset-microphone-stereo-3-5mm-audio/p/itmf22d6268b54bf?pid=ACCGM2BFXNKTD3FG&lid=LSTACCGM2BFXNKTD3FGPITV3Y",
    "https://www.flipkart.com/vaslas-p47-foldable-bluetooth-headphone/p/itm7c737af6de449?pid=ACCHPQFRD6HU88ZG&lid=LSTACCHPQFRD6HU88ZG5J8BN7",
    "https://www.flipkart.com/noise-buds-vs102-elite-50hr-playtime-enc-quad-mic-chrome-finish-flybird-design-bluetooth/p/itmd21bac81f0954?pid=ACCHFCF2G2NAQU8V&lid=LSTACCHFCF2G2NAQU8VMO1SCO",
    "https://www.flipkart.com/shreevistaar-headphones-soft-protein-leather-ear-pads-bluetooth/p/itmeebda10432c9f?pid=ACCHR59M8QY6SDRT&lid=LSTACCHR59M8QY6SDRTEQIVEA",
    "https://www.flipkart.com/footloose-branded-new-wireless-headphones-hd-bass-sound-foldable-design-built-in-mic-bluetooth-gaming/p/itm3c125fc7f2bd0?pid=ACCHZMBT9WYEK5RS&lid=LSTACCHZMBT9WYEK5RSJXIFHN",
    "https://www.flipkart.com/boat-rockerz-411-40h-battery-40ms-latency-stream-ad-free-music-via-app-bt-v5-4-bluetooth/p/itmf824790d6dde3?pid=ACCHCJW33SSHZY9H&lid=LSTACCHCJW33SSHZY9HXPKHWI",
    "https://www.flipkart.com/worricow-best-buy-bluetooth-headphones-mic-volume-control-stereo-fm-sd-card-support/p/itm26b5bdd5af80d?pid=ACCHP9HC2WC86RCF&lid=LSTACCHP9HC2WC86RCFQ6X67T"
  ],
  "maxItems": 10,
  "sellersPageUrls": [
    "https://www.flipkart.com/sellers?pid=ACCHKBKZXE5FSZVH"
  ],
  "maxConcurrency": 1,
  "proxyConfiguration": {
    "useApifyProxy": false,
    "apifyProxyCountry": "IN"
  }
}
```

# Actor output Schema

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

Dataset containing the records extracted by this Actor.

# 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 = {
    "mode": "productUrl",
    "productUrls": [
        "https://www.flipkart.com/triggr-arcus-one-60h-battery-4-mic-enc-dual-pairing-rubber-grip-13mm-drivers-v6-0-bluetooth/p/itmc75b69ddbd3df?pid=ACCHKBKZXE5FSZVH&lid=LSTACCHKBKZXE5FSZVHJAEZSJ",
        "https://www.flipkart.com/aroma-nb119b-badshah-40-hours-playtime-neckband-bluetooth/p/itm45cdcb3a95f2f?pid=ACCG2TC8SURNPZAA&lid=LSTACCG2TC8SURNPZAAEIAOTI",
        "https://www.flipkart.com/footloose-p47-wireless-bluetooth-headphones-mic-fm-sd-card-hands-foldable-design-gaming/p/itm167c9b8d474b1?pid=ACCHQCHHNUJYSGU4&lid=LSTACCHQCHHNUJYSGU4NL8UQN",
        "https://www.flipkart.com/worricow-wireless-bluetooth-headphone-over-ear-headset-microphone-stereo-3-5mm-audio/p/itmf22d6268b54bf?pid=ACCGM2BFXNKTD3FG&lid=LSTACCGM2BFXNKTD3FGPITV3Y",
        "https://www.flipkart.com/vaslas-p47-foldable-bluetooth-headphone/p/itm7c737af6de449?pid=ACCHPQFRD6HU88ZG&lid=LSTACCHPQFRD6HU88ZG5J8BN7",
        "https://www.flipkart.com/noise-buds-vs102-elite-50hr-playtime-enc-quad-mic-chrome-finish-flybird-design-bluetooth/p/itmd21bac81f0954?pid=ACCHFCF2G2NAQU8V&lid=LSTACCHFCF2G2NAQU8VMO1SCO",
        "https://www.flipkart.com/shreevistaar-headphones-soft-protein-leather-ear-pads-bluetooth/p/itmeebda10432c9f?pid=ACCHR59M8QY6SDRT&lid=LSTACCHR59M8QY6SDRTEQIVEA",
        "https://www.flipkart.com/footloose-branded-new-wireless-headphones-hd-bass-sound-foldable-design-built-in-mic-bluetooth-gaming/p/itm3c125fc7f2bd0?pid=ACCHZMBT9WYEK5RS&lid=LSTACCHZMBT9WYEK5RSJXIFHN",
        "https://www.flipkart.com/boat-rockerz-411-40h-battery-40ms-latency-stream-ad-free-music-via-app-bt-v5-4-bluetooth/p/itmf824790d6dde3?pid=ACCHCJW33SSHZY9H&lid=LSTACCHCJW33SSHZY9HXPKHWI",
        "https://www.flipkart.com/worricow-best-buy-bluetooth-headphones-mic-volume-control-stereo-fm-sd-card-support/p/itm26b5bdd5af80d?pid=ACCHP9HC2WC86RCF&lid=LSTACCHP9HC2WC86RCFQ6X67T"
    ],
    "maxItems": 10,
    "sellersPageUrls": [
        "https://www.flipkart.com/sellers?pid=ACCHKBKZXE5FSZVH"
    ],
    "maxConcurrency": 1,
    "proxyConfiguration": {
        "useApifyProxy": false,
        "apifyProxyCountry": "IN"
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("gitlab/flipkart-seller-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 = {
    "mode": "productUrl",
    "productUrls": [
        "https://www.flipkart.com/triggr-arcus-one-60h-battery-4-mic-enc-dual-pairing-rubber-grip-13mm-drivers-v6-0-bluetooth/p/itmc75b69ddbd3df?pid=ACCHKBKZXE5FSZVH&lid=LSTACCHKBKZXE5FSZVHJAEZSJ",
        "https://www.flipkart.com/aroma-nb119b-badshah-40-hours-playtime-neckband-bluetooth/p/itm45cdcb3a95f2f?pid=ACCG2TC8SURNPZAA&lid=LSTACCG2TC8SURNPZAAEIAOTI",
        "https://www.flipkart.com/footloose-p47-wireless-bluetooth-headphones-mic-fm-sd-card-hands-foldable-design-gaming/p/itm167c9b8d474b1?pid=ACCHQCHHNUJYSGU4&lid=LSTACCHQCHHNUJYSGU4NL8UQN",
        "https://www.flipkart.com/worricow-wireless-bluetooth-headphone-over-ear-headset-microphone-stereo-3-5mm-audio/p/itmf22d6268b54bf?pid=ACCGM2BFXNKTD3FG&lid=LSTACCGM2BFXNKTD3FGPITV3Y",
        "https://www.flipkart.com/vaslas-p47-foldable-bluetooth-headphone/p/itm7c737af6de449?pid=ACCHPQFRD6HU88ZG&lid=LSTACCHPQFRD6HU88ZG5J8BN7",
        "https://www.flipkart.com/noise-buds-vs102-elite-50hr-playtime-enc-quad-mic-chrome-finish-flybird-design-bluetooth/p/itmd21bac81f0954?pid=ACCHFCF2G2NAQU8V&lid=LSTACCHFCF2G2NAQU8VMO1SCO",
        "https://www.flipkart.com/shreevistaar-headphones-soft-protein-leather-ear-pads-bluetooth/p/itmeebda10432c9f?pid=ACCHR59M8QY6SDRT&lid=LSTACCHR59M8QY6SDRTEQIVEA",
        "https://www.flipkart.com/footloose-branded-new-wireless-headphones-hd-bass-sound-foldable-design-built-in-mic-bluetooth-gaming/p/itm3c125fc7f2bd0?pid=ACCHZMBT9WYEK5RS&lid=LSTACCHZMBT9WYEK5RSJXIFHN",
        "https://www.flipkart.com/boat-rockerz-411-40h-battery-40ms-latency-stream-ad-free-music-via-app-bt-v5-4-bluetooth/p/itmf824790d6dde3?pid=ACCHCJW33SSHZY9H&lid=LSTACCHCJW33SSHZY9HXPKHWI",
        "https://www.flipkart.com/worricow-best-buy-bluetooth-headphones-mic-volume-control-stereo-fm-sd-card-support/p/itm26b5bdd5af80d?pid=ACCHP9HC2WC86RCF&lid=LSTACCHP9HC2WC86RCFQ6X67T",
    ],
    "maxItems": 10,
    "sellersPageUrls": ["https://www.flipkart.com/sellers?pid=ACCHKBKZXE5FSZVH"],
    "maxConcurrency": 1,
    "proxyConfiguration": {
        "useApifyProxy": False,
        "apifyProxyCountry": "IN",
    },
}

# Run the Actor and wait for it to finish
run = client.actor("gitlab/flipkart-seller-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 '{
  "mode": "productUrl",
  "productUrls": [
    "https://www.flipkart.com/triggr-arcus-one-60h-battery-4-mic-enc-dual-pairing-rubber-grip-13mm-drivers-v6-0-bluetooth/p/itmc75b69ddbd3df?pid=ACCHKBKZXE5FSZVH&lid=LSTACCHKBKZXE5FSZVHJAEZSJ",
    "https://www.flipkart.com/aroma-nb119b-badshah-40-hours-playtime-neckband-bluetooth/p/itm45cdcb3a95f2f?pid=ACCG2TC8SURNPZAA&lid=LSTACCG2TC8SURNPZAAEIAOTI",
    "https://www.flipkart.com/footloose-p47-wireless-bluetooth-headphones-mic-fm-sd-card-hands-foldable-design-gaming/p/itm167c9b8d474b1?pid=ACCHQCHHNUJYSGU4&lid=LSTACCHQCHHNUJYSGU4NL8UQN",
    "https://www.flipkart.com/worricow-wireless-bluetooth-headphone-over-ear-headset-microphone-stereo-3-5mm-audio/p/itmf22d6268b54bf?pid=ACCGM2BFXNKTD3FG&lid=LSTACCGM2BFXNKTD3FGPITV3Y",
    "https://www.flipkart.com/vaslas-p47-foldable-bluetooth-headphone/p/itm7c737af6de449?pid=ACCHPQFRD6HU88ZG&lid=LSTACCHPQFRD6HU88ZG5J8BN7",
    "https://www.flipkart.com/noise-buds-vs102-elite-50hr-playtime-enc-quad-mic-chrome-finish-flybird-design-bluetooth/p/itmd21bac81f0954?pid=ACCHFCF2G2NAQU8V&lid=LSTACCHFCF2G2NAQU8VMO1SCO",
    "https://www.flipkart.com/shreevistaar-headphones-soft-protein-leather-ear-pads-bluetooth/p/itmeebda10432c9f?pid=ACCHR59M8QY6SDRT&lid=LSTACCHR59M8QY6SDRTEQIVEA",
    "https://www.flipkart.com/footloose-branded-new-wireless-headphones-hd-bass-sound-foldable-design-built-in-mic-bluetooth-gaming/p/itm3c125fc7f2bd0?pid=ACCHZMBT9WYEK5RS&lid=LSTACCHZMBT9WYEK5RSJXIFHN",
    "https://www.flipkart.com/boat-rockerz-411-40h-battery-40ms-latency-stream-ad-free-music-via-app-bt-v5-4-bluetooth/p/itmf824790d6dde3?pid=ACCHCJW33SSHZY9H&lid=LSTACCHCJW33SSHZY9HXPKHWI",
    "https://www.flipkart.com/worricow-best-buy-bluetooth-headphones-mic-volume-control-stereo-fm-sd-card-support/p/itm26b5bdd5af80d?pid=ACCHP9HC2WC86RCF&lid=LSTACCHP9HC2WC86RCFQ6X67T"
  ],
  "maxItems": 10,
  "sellersPageUrls": [
    "https://www.flipkart.com/sellers?pid=ACCHKBKZXE5FSZVH"
  ],
  "maxConcurrency": 1,
  "proxyConfiguration": {
    "useApifyProxy": false,
    "apifyProxyCountry": "IN"
  }
}' |
apify call gitlab/flipkart-seller-scraper --silent --output-dataset

```

## MCP server setup

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