# Flipkart Product Pro Scraper (`w3crawler/flipkart-product-pro-scraper`) Actor

Public-only Flipkart product scraper that extracts searchable product pages, prices, ratings, sellers, availability, offers, variants, media, and bounded public structured data with fail-closed access diagnostics.

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

## Pricing

from $2.99 / 1,000 products

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 Product Pro Scraper

Extract public Flipkart product records from a search query, public search URL, public category URL, or direct product URLs. The Actor parses public HTML and structured data, then returns identity, pricing, discounts, ratings, seller and fulfillment signals, availability, delivery, offers, variants, highlights, specifications, media, and bounded public trace objects when the page exposes them.

### Get started

1. Open the [Actor Store page](https://apify.com/w3crawler/flipkart-product-scraper-pro) and select **Try for free**, or open the **Input** tab.
2. Choose `mode`: `search`, `productUrl`, `searchUrl`, or `categoryUrl`, then supply the matching query, product URLs, search URL, or category URL.
3. Keep `maxItems` at `1` and `maxPages` at `1` for the first run. Turn detail, media, rating, offer, and variant extraction off until you need those fields.
4. Start the Actor, open the dataset, and export rows as JSON, CSV, or Excel. Open **Run summary** (`OUTPUT_SUMMARY`) to check the outcome and the number of records pushed.

### Input

All fields are optional, and the defaults below are ready to use. `mode` is exclusive: the Actor reads the target that matches the selected mode. Unsupported field names and out-of-range values are rejected before requests start.

| Field | Type | Required? | Default | Meaning |
| --- | --- | --- | --- | --- |
| `mode` | string enum | Optional | `search` | Target type: `search`, `productUrl`, `searchUrl`, or `categoryUrl`. |
| `searchQuery` | string | Optional | Not supplied | Public Flipkart search term used in `search` mode, 1–200 characters. The schema prefill is `iphone 15`, but no default is applied. |
| `productUrls` | string array | Optional | Not supplied | Public HTTPS Flipkart product URLs used in `productUrl` mode, up to 100 entries. Duplicate product identities are skipped and `maxItems` caps the submitted set. |
| `searchUrl` | string | Optional | Not supplied | Public HTTPS Flipkart search-results URL used in `searchUrl` mode. |
| `categoryUrl` | string | Optional | Not supplied | Public HTTPS Flipkart category URL used in `categoryUrl` mode. |
| `startPage` | integer | Optional | `1` | One-based listing page to start from in `search`, `searchUrl`, and `categoryUrl` modes, 1–100. |
| `maxPages` | integer | Optional | `1` | Maximum public listing pages inspected in `search`, `searchUrl`, or `categoryUrl` mode, 1–20. |
| `maxItems` | integer | Optional | `50` | Maximum product records scheduled or emitted, 1–1,000. |
| `filters` | object | Optional | Not supplied | Optional post-extraction filters applied to normalized product rows. See the nested keys below. |
| `includeDetails` | boolean | Optional | `true` | Extract seller, fulfillment, availability, delivery, return, offer, variant, highlight, specification, and description fields. |
| `includeMedia` | boolean | Optional | `true` | Extract public product images and video URLs with counts. |
| `includeRatings` | boolean | Optional | `true` | Extract aggregate rating, ratings count, reviews count, rounded count, and rating summary. |
| `includeOffers` | boolean | Optional | `true` | Extract a bounded list of public offer, EMI, exchange, coupon, and cashback text. |
| `includeVariants` | boolean | Optional | `true` | Extract bounded variant links, variant options, and selected color/variant attributes. |
| `maxConcurrency` | integer | Optional | `3` | Maximum public product pages processed concurrently, 1–10. |
| `minDelayMs` | integer | Optional | `800` | Minimum randomized pacing delay before each public request, 0–15,000 ms. |
| `maxDelayMs` | integer | Optional | `1500` | Maximum randomized pacing delay before each public request, 0–20,000 ms. |
| `maxRequestRetries` | integer | Optional | `2` | Retries per request, 0–5. Transient failures and HTTP 429 use capped exponential backoff; `Retry-After` is respected. Authentication and security barriers are terminal. |
| `requestTimeoutSecs` | integer | Optional | `60` | Maximum time for one public page navigation, 10–180 seconds. |
| `pincode` | integer | Optional | `110001` | Six-digit pincode recorded as request metadata, 100000–999999. It is not submitted to a private endpoint. |
| `proxyConfiguration` | object | Optional | `{"useApifyProxy":true}` | Optional standard Apify Proxy routing used only when the runtime provides it. It changes the request route only. |

`filters` accepts these nested keys:

| Nested key | Type | Meaning |
| --- | --- | --- |
| `minPrice` | number | Keep products at or above this observed price. |
| `maxPrice` | number | Keep products at or below this observed price. |
| `minRating` | number | Keep products whose observed rating is at least this value, 0–5. |
| `minDiscountPercent` | number | Keep products whose observed discount is at least this percentage, 0–100. |
| `brands` | string array | Case-insensitive exact brand names to keep. |
| `availability` | string enum | Keep `all`, only public in-stock (`inStock`), or only public out-of-stock (`outOfStock`) products. |
| `requiredTerms` | string array | Every term must occur in the product title or brand. |
| `excludedTerms` | string array | Skip products whose title or brand contains any listed term. |

Default input:

```json
{
  "mode": "productUrl",
  "productUrls": [
    "https://www.flipkart.com/smartron-t-phone-p-black-32-gb/p/itmffcdfhfj3ybga"
  ],
  "startPage": 1,
  "maxPages": 1,
  "maxItems": 1,
  "filters": {},
  "includeDetails": true,
  "includeMedia": true,
  "includeRatings": true,
  "includeOffers": true,
  "includeVariants": true,
  "maxConcurrency": 1,
  "minDelayMs": 2500,
  "maxDelayMs": 5000,
  "maxRequestRetries": 4,
  "requestTimeoutSecs": 60,
  "pincode": 110001,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

This is the stored example input with deployment-specific proxy groups omitted. Proxy group names are environment-specific, so the documented form uses Apify Proxy without naming a group. The schema defaults differ: `mode` is `search`, `maxItems` 50, delays 800–1,500 ms, and 2 retries.

`search` builds a public search URL from `searchQuery` and starts at `startPage`. `searchUrl` uses the supplied public search URL. `categoryUrl` uses the supplied public category URL. `productUrl` visits the listed product pages directly, skipping duplicate product identities and stopping at `maxItems`. Filters run after extraction, so they reduce dataset rows but do not change what Flipkart returns. The Actor reads public pages with bounded retries and stops at CAPTCHA, login, paywall, geofence, device, WAF, or other access restrictions. `pincode` is metadata only; the Actor does not submit it to a private availability endpoint. `proxyConfiguration` is a transport option, not a bypass.

### Output

The dataset contains one row per saved public product. Optional fields are included only when the selected extraction options are on and the page publishes the value; missing values are omitted rather than inferred. No diagnostic or placeholder rows are written.

| Field | Type | Availability | Meaning |
| --- | --- | --- | --- |
| `recordType` | string enum | Always | Row discriminator; always `product`. |
| `recordId` | string | Always | Stable row identifier built from the product ID, item ID, or canonical URL. |
| `status` | string enum | Always | Per-row processing state; saved rows use `success`. |
| `pageNumber` | integer | When published | One-based listing page associated with the product. |
| `searchPosition` | integer | When published | One-based position in the search/listing result set or in the direct product input list. |
| `found` | boolean | Always | True when public product data was found for the row. |
| `dataAvailable` | boolean | Always | True when source-backed product data is present. |
| `sourceWebsite` | string | Always | Public Flipkart host recorded for the run. |
| `filterMatched` | boolean | Always | True when the extracted row passed the configured post-extraction filters. |
| `productId` | string | Always | Flipkart product variant identifier. |
| `itemId` | string | Always | Flipkart item path identifier from the `/p/` URL segment. |
| `listingId` | string | Always | Listing identifier from the `lid` query parameter when present. |
| `productTitle` | string | Always | Product title as displayed on the page. |
| `title` | string | Always | Compatibility alias for `productTitle`. |
| `brand` | string | Always | Brand declared in structured data or visible on the page. |
| `superCategory` | string | When published | First breadcrumb section, representing the broad catalog area. |
| `category` | string | When published | Second-to-last breadcrumb label. |
| `subCategory` | string | When published | Last breadcrumb label. |
| `vertical` | string | When published | Catalog vertical recorded from the last breadcrumb. |
| `url` | string | Always | Product page URL as requested, including any observed tracking parameters. |
| `canonicalUrl` | string | Always | Product URL without tracking or session parameters. |
| `priceAmount` | number | When published | Current selling price as a number. |
| `price` | string | When published | Current selling price formatted for display. |
| `originalPriceAmount` | number | When published | Original or MRP price as a number. |
| `originalPrice` | string | When published | Original or MRP price formatted for display. |
| `savingsAmount` | number | When published | Difference between the observed original and current price. |
| `discountPercent` | number | When published | Observed discount percentage, 0–100. |
| `discount` | string | When published | Discount label, for example `17% off`. |
| `currency` | string | When published | Currency of the observed prices, normally `INR`. |
| `minPrice` | number | When published | Lowest observed price from the structured offer or the current price. |
| `priceBreakup` | object array | When published | Public price components such as current price and MRP. |
| `rating` | number | When ratings requested | Aggregate product rating, 0–5. |
| `ratingBase` | number | When ratings requested | Rating scale base recorded when a rating exists, normally `5`. |
| `ratingsCount` | integer | When ratings requested | Number of public ratings. |
| `reviewsCount` | integer | When ratings requested | Number of public written reviews. |
| `roundOffRatingCount` | string | When ratings requested | Rating count as text for the rounded display; normally equals `ratingsCount`. |
| `ratingSummary` | string | When ratings requested | Text summary of the rating, ratings count, and reviews count. |
| `sellerName` | string | When details requested | Seller name shown on the product page. |
| `fulfilledByFlipkart` | boolean | When details requested | True when the page states the product is fulfilled by Flipkart. |
| `flipkartAssured` | boolean | When details requested | True when the Flipkart Assured mark is observed. |
| `preferredSeller` | boolean | When details requested | True when the page labels the seller as preferred. |
| `inStock` | boolean | When details requested | Stock state inferred from public availability text; omitted when inconclusive. |
| `availabilityStatus` | string | When details requested | `Available` or `Unavailable` when the page provides a clear signal. |
| `serviceable` | boolean | When details requested | False when the page says the item is not available at the pincode; otherwise omitted. |
| `codAvailable` | boolean | When details requested | True when cash on delivery is mentioned. |
| `emiAvailable` | boolean | When details requested | True when EMI is mentioned. |
| `returnPolicy` | string | When details requested | Return or replacement policy text shown on the page. |
| `deliveryType` | string | When details requested | Delivery label; `Delivery` when delivery text is present. |
| `deliveryText` | string | When details requested | Delivery message shown on the product page. |
| `noCostEmiAvailable` | boolean | When details requested | True when no-cost EMI is mentioned. |
| `arAvailable` | boolean | When details requested | True when the page mentions AR or augmented reality. |
| `nepAvailable` | boolean | When details requested | True when the page contains the literal NEP label. |
| `isPreBook` | boolean | When details requested | True when the page explicitly marks the product pre-book or pre-order. |
| `isNonBuyable` | boolean | When details requested | True when the page says the product is currently unavailable, out of stock, sold out, or discontinued. |
| `offerCount` | integer | When offers requested | Number of bounded offer entries retained. |
| `offerSummary` | object array | When offers requested | Offer entries with a type and text. |
| `offersAvailability` | string | When offers requested | Fixed label recorded when public offer text was found. |
| `selectedAttributes` | object array | When variants requested | Selected color or variant attributes observed on the page. |
| `variantOptions` | object array | When variants requested | Variant links with value, product ID, URL, and availability. |
| `variantAttributeCount` | integer | When variants requested | Number of variant attribute groups recorded; currently `1` when variants exist. |
| `variantProductCount` | integer | When variants requested | Number of variant products retained. |
| `variantProducts` | object array | When variants requested | Variant product entries with product ID, title, URL, and availability. |
| `highlights` | string array | When details requested | Bounded product highlight bullets. |
| `specifications` | object array | When details requested | Specification entries observed on the product page. |
| `description` | string | When details requested | Product description from structured data or the page meta description. |
| `primaryImage` | string | When media requested | First public product image URL. |
| `images` | string array | When media requested | Bounded public product image URLs. |
| `imageCount` | integer | When media requested | Number of image URLs retained. |
| `videos` | object array | When media requested | Video entries with URL and MIME type. |
| `videoCount` | integer | When media requested | Number of video entries retained. |
| `videoAvailable` | boolean | When media requested | True when at least one video was retained. |
| `badges` | string array | When details requested | Visible badges such as bestseller, Flipkart Assured, or low stock. Empty when none are detected. |
| `rawMeta` | object | When published | Bounded page meta values such as description, `og:title`, `og:url`, and `og:image`. |
| `rawStructuredData` | object | When published | Bounded Product JSON-LD observed on the page. |
| `rawVisibleSignals` | object | When published | Bounded visible signals: title, price texts, breadcrumbs, badges, buy-action detection, and delivery-text detection. |
| `source` | string | Always | Source label, `Flipkart public HTML`. |
| `sourceUrl` | string | Always | Exact public page URL requested for the row. |
| `requestedPincode` | integer | Always | Pincode recorded from the input for the run. |
| `scrapeMode` | string | Always | Input mode used for the row. |
| `searchQuery` | string | When search mode | Search phrase used in `search` mode. |
| `scrapedAt` | string | Always | Time the row was saved, in ISO UTC. |

The example below is the first saved row from the 2026-10-25 run, limited to core and trace fields; nested raw objects omit some keys for readability. Every value shown is unchanged.

```json
{
  "recordType": "product",
  "recordId": "flipkart-product:MOBHPP598ENKRGBY",
  "status": "success",
  "pageNumber": 1,
  "searchPosition": 1,
  "found": true,
  "dataAvailable": true,
  "sourceWebsite": "https://www.flipkart.com/",
  "filterMatched": true,
  "productId": "MOBHPP598ENKRGBY",
  "itemId": "itmf046d663a1fd7",
  "listingId": "LSTMOBHPP598ENKRGBYC3QECN",
  "productTitle": "BOLTT EVO (Berry Red, 64 GB)",
  "title": "BOLTT EVO (Berry Red, 64 GB)",
  "brand": "BOLTT",
  "url": "https://www.flipkart.com/boltt-evo-berry-red-64-gb/p/itmf046d663a1fd7?pid=MOBHPP598ENKRGBY&lid=LSTMOBHPP598ENKRGBYC3QECN&marketplace=FLIPKART&q=smartphone&store=tyy%2F4io&srno=s_1_1&otracker=search&fm=organic&iid=en_cTcyvLn2iLLQjio8ifryvnrfSnCYEUUMKagx-fzb65jU1kVvFLHlP3iAX4e34gZjTlXli0jsKCB8oY2RSQQ8JhWJDjhmCx0zB4BxxV8ceX6eAOO8uK7zC5SDz5_N-ReK&ppt=None&ppn=None&ssid=ufz5lklx740000001792961346332&qH=1036ba3c4ed2c021&ov_redirect=true",
  "canonicalUrl": "https://www.flipkart.com/boltt-evo-berry-red-64-gb/p/itmf046d663a1fd7",
  "priceAmount": 9999,
  "price": "₹9,999",
  "originalPriceAmount": 11999,
  "originalPrice": "₹11,999",
  "savingsAmount": 2000,
  "discountPercent": 17,
  "discount": "17% off",
  "currency": "INR",
  "minPrice": 9999,
  "priceBreakup": [
    { "name": "Public price", "value": 9999, "currency": "INR" },
    { "name": "Public MRP", "value": 11999, "currency": "INR" }
  ],
  "badges": [],
  "rawMeta": {
    "description": "Buy BOLTT EVO online at best price with offers in India. BOLTT EVO (Berry Red, 64 GB) features and specifications include 4 GB RAM, 64 GB ROM, 6000 mAh Battery, 50 MP back camera and 8 MP front camera. Compare EVO by price and performance to shop at Flipkart",
    "og:title": "BOLTT EVO (64 GB Storage, 4 GB RAM) Online at Best Price On Flipkart.com",
    "og:url": "http://www.flipkart.com/boltt-evo-berry-red-64-gb/p/itmf046d663a1fd7?pid=MOBHPP598ENKRGBY&lid=LSTMOBHPP598ENKRGBYC3QECN&marketplace=FLIPKART&q=smartphone&store=tyy%2F4io&srno=s_1_1&otracker=search&fm=organic&iid=en_cTcyvLn2iLLQjio8ifryvnrfSnCYEUUMKagx-fzb65jU1kVvFLHlP3iAX4e34gZjTlXli0jsKCB8oY2RSQQ8JhWJDjhmCx0zB4BxxV8ceX6eAOO8uK7zC5SDz5_N-ReK&ppt=None&ppn=None&ssid=ufz5lklx740000001792961346332&qH=1036ba3c4ed2c021&ov_redirect=true",
    "og:image": "https://rukminim2.flixcart.com/image/1500/1500/xif0q/mobile/t/l/3/-original-imahs3pdqh3htvkk.jpeg"
  },
  "rawStructuredData": {
    "name": "BOLTT EVO (Berry Red, 64 GB)",
    "sku": "MOBHPP598ENKRGBY",
    "color": "Berry Red",
    "category": "mobile",
    "offers": {
      "price": 9999,
      "priceCurrency": "INR",
      "availability": "https://schema.org/InStock",
      "itemCondition": "https://schema.org/NewCondition",
      "@type": "Offer"
    },
    "@context": "https://schema.org",
    "@type": "Product"
  },
  "rawVisibleSignals": {
    "title": "BOLTT EVO (Berry Red, 64 GB)",
    "priceTexts": [],
    "breadcrumbs": [],
    "badges": [],
    "hasBuyAction": false,
    "hasDeliveryText": false
  },
  "source": "Flipkart public HTML",
  "sourceUrl": "https://www.flipkart.com/boltt-evo-berry-red-64-gb/p/itmf046d663a1fd7?pid=MOBHPP598ENKRGBY&lid=LSTMOBHPP598ENKRGBYC3QECN&marketplace=FLIPKART&q=smartphone&store=tyy%2F4io&srno=s_1_1&otracker=search&fm=organic&iid=en_cTcyvLn2iLLQjio8ifryvnrfSnCYEUUMKagx-fzb65jU1kVvFLHlP3iAX4e34gZjTlXli0jsKCB8oY2RSQQ8JhWJDjhmCx0zB4BxxV8ceX6eAOO8uK7zC5SDz5_N-ReK&ppt=None&ppn=None&ssid=ufz5lklx740000001792961346332&qH=1036ba3c4ed2c021&ov_redirect=true",
  "requestedPincode": 110001,
  "scrapeMode": "search",
  "searchQuery": "smartphone",
  "scrapedAt": "2026-10-25T20:49:32.336Z"
}
```

Nested values:

- `priceBreakup` entries contain `name`, `value`, and `currency`.
- `offerSummary` entries contain `type` (`Offer`, `EMI`, or `Exchange`) and `text`.
- `selectedAttributes` entries contain `attribute` and `value`.
- `variantOptions` entries contain `value`, `productId`, `url`, and `available`. `variantProducts` entries contain `productId`, `title`, `url`, and `available`.
- `videos` entries contain `url` and `type`.
- `rawStructuredData` is the bounded Product JSON-LD. Its nested `offers` object may also include shipping and return-policy details.
- `rawVisibleSignals` contains `title`, `priceTexts`, `breadcrumbs`, `badges`, `hasBuyAction`, and `hasDeliveryText`.

### Run summary

**Run summary** is stored separately from the dataset in the run's key-value store under `OUTPUT_SUMMARY`.

| Field | Meaning |
| --- | --- |
| `status` | Actor process outcome: `SUCCEEDED` or `FAILED`. |
| `runStatus` | Canonical run status; matches `status`. |
| `dataStatus` | Completeness of the saved rows: `COMPLETE`, `PARTIAL`, `NO_RESULTS`, or `FAILED`. |
| `dataAvailable` | Whether source-backed product data was saved. |
| `recordsPushed` | Number of product rows pushed to the dataset. |
| `diagnosticCount` | Number of operational issues recorded for the run. |
| `failureCount` | Number of extraction failures recorded for the run. |
| `barrierDetected` | Whether an access barrier was observed. |
| `sourceWebsite` | Public source website used for the run. |
| `generatedBy` | Tool and model recorded in the summary. |
| `completedAt` | Time the summary was written, in ISO UTC. |

| Status | Data status | Meaning |
| --- | --- | --- |
| `SUCCEEDED` | `COMPLETE` | Products were saved without an extraction problem. |
| `SUCCEEDED` | `PARTIAL` | Some products were saved, but a later request or extraction failure prevented a complete run. Saved rows remain available. |
| `SUCCEEDED` | `NO_RESULTS` | The source completed cleanly and returned no matching products. |
| `FAILED` | `FAILED` | A fatal error occurred before any product row was saved. |

Example `OUTPUT_SUMMARY` from the 2026-10-25 run:

```json
{
  "status": "SUCCEEDED",
  "runStatus": "SUCCEEDED",
  "dataStatus": "COMPLETE",
  "dataAvailable": true,
  "recordsPushed": 3,
  "diagnosticCount": 0,
  "failureCount": 0,
  "barrierDetected": false,
  "sourceWebsite": "https://www.flipkart.com/",
  "generatedBy": "Codex with GPT-6.1 Sol",
  "completedAt": "2026-10-25T20:49:44.757Z"
}
```

The saved run used a three-item search input with detail, media, rating, offer, and variant extraction disabled, which is why the saved row contains only identity, pricing, media-independent badges, and trace objects. The default input above is a one-item direct-product example with those extractors enabled.

### Coverage and limitations

The Actor reads public Flipkart search, category, and product pages. It does not sign in, reuse protected sessions, call private APIs, or bypass CAPTCHA, login, paywall, geofence, device, WAF, or other access controls. Listing pagination is bounded by `startPage` and `maxPages`; direct product mode submits up to `maxItems` unique product URLs.

Prices, discounts, availability, seller and fulfillment signals, delivery text, offers, variants, ratings, and media are point-in-time observations and can change after the run. The page format varies by category and listing context, so a successful parse does not guarantee every optional field. Fields gated by `includeDetails`, `includeMedia`, `includeRatings`, `includeOffers`, or `includeVariants` are omitted when the option is off, even if the page could expose them. A blocked, empty, or partial response is recorded in `OUTPUT_SUMMARY` rather than written as a fabricated row. `pincode` remains metadata and is not used to query a private serviceability endpoint. Proxy routing changes only the request route.

### Usage and support

Cost depends on page count, concurrency, response size, the selected detail, media, ratings, offers, and variant scope, plus request and parsing time. Start with one item and one page, inspect the dataset and `OUTPUT_SUMMARY`, then scale gradually. See the Actor's Pricing tab for current account rates.

Use the [Actor Issues page](https://apify.com/w3crawler/flipkart-product-scraper-pro/issues) to report a problem. Include the run ID, the input used, and the run summary; do not include tokens, cookies, or private data. This Actor is not affiliated with, endorsed by, or sponsored by Flipkart. Use it only for public data and in accordance with Flipkart's terms, robots guidance, and applicable law. Public pages can contain personal information; use the output only for lawful purposes.

# Changelog

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

# Actor input Schema

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

Use a search query, product URLs, a public search URL, or a public category URL.

## `searchQuery` (type: `string`):

Public Flipkart search term used when mode is search.

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

HTTPS Flipkart product URLs used when mode is productUrl.

## `searchUrl` (type: `string`):

Public HTTPS Flipkart search URL used when mode is searchUrl.

## `categoryUrl` (type: `string`):

Public HTTPS Flipkart category URL used when mode is categoryUrl.

## `startPage` (type: `integer`):

First public listing page to inspect.

## `maxPages` (type: `integer`):

Maximum number of public listing pages to inspect in search or category mode.

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

Maximum number of product records to schedule.

## `filters` (type: `object`):

Optional filters applied to normalized public product records after extraction.

## `includeDetails` (type: `boolean`):

Extract seller, availability, delivery, offers, variants, highlights, specifications, and description fields.

## `includeMedia` (type: `boolean`):

Extract public product images and video URLs.

## `includeRatings` (type: `boolean`):

Extract public aggregate rating, ratings count, reviews count, and rating summary.

## `includeOffers` (type: `boolean`):

Extract bounded public offer, EMI, exchange, coupon, and cashback text.

## `includeVariants` (type: `boolean`):

Extract bounded public product variant links and selected attributes.

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

Maximum number of public product pages processed concurrently.

## `minDelayMs` (type: `integer`):

Minimum pacing delay before each public request in milliseconds.

## `maxDelayMs` (type: `integer`):

Maximum pacing delay before each public request in milliseconds.

## `maxRequestRetries` (type: `integer`):

At most this many retries per request (0 disables retries). Transient failures and HTTP 429 use exponential backoff with jitter, capped at 30 seconds per wait. Retry-After is respected; a rate-limit cooldown above the cap stops further source requests. Authentication and security barriers are terminal.

## `requestTimeoutSecs` (type: `integer`):

Maximum seconds allowed for one public page navigation.

## `pincode` (type: `integer`):

Six-digit pincode retained as request metadata; the actor does not submit it to private endpoints.

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

Optional Apify Proxy routing used only when the current runtime provides it. Defaults to the shared datacenter pool that is available to this account.

## Actor input object example

```json
{
  "mode": "search",
  "searchQuery": "iphone 15",
  "productUrls": [
    "https://www.flipkart.com/example-product/p/example?pid=EXAMPLEPID"
  ],
  "searchUrl": "https://www.flipkart.com/search?q=iphone%2015",
  "categoryUrl": "https://www.flipkart.com/mobiles/pr?sid=tyy,4io",
  "startPage": 1,
  "maxPages": 2,
  "maxItems": 10,
  "filters": {
    "minPrice": 10000,
    "maxPrice": 80000,
    "minRating": 4,
    "brands": [
      "Apple"
    ],
    "availability": "inStock"
  },
  "includeDetails": true,
  "includeMedia": true,
  "includeRatings": true,
  "includeOffers": true,
  "includeVariants": true,
  "maxConcurrency": 2,
  "minDelayMs": 1000,
  "maxDelayMs": 2000,
  "maxRequestRetries": 1,
  "requestTimeoutSecs": 60,
  "pincode": 110001,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "BUYPROXIES94952"
    ]
  }
}
```

# Actor output Schema

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

Source-backed public Flipkart product rows.

## `runSummary` (type: `string`):

Canonical run status, data status, and numeric summary counts.

# 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 = {
    "searchQuery": "iphone 15"
};

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

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

```

## MCP server setup

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