Flipkart Advanced Product Scraper avatar
Flipkart Advanced Product Scraper

Pricing

$6.00/month + usage

Go to Apify Store
Flipkart Advanced Product Scraper

Flipkart Advanced Product Scraper

An Apify actor that fetches structured product data directly from the Flipkart API. Search by keyword or category URL to extract details like product name, brand, price, MRP, discounts, ratings, reviews, specifications, and imagesβ€”ideal for e-commerce research, price tracking, and market analysis.

Pricing

$6.00/month + usage

Rating

5.0

(2)

Developer

ScrapeAI

ScrapeAI

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

20 hours ago

Last modified

Share

πŸ›’ Flipkart Product Scraper - API Based

This Apify actor retrieves product data directly through the Flipkart API. Search by keyword or category URL to collect structured product information including name, brand, price, MRP, discount, ratings, reviews, specifications, and images. Perfect for e-commerce research, price monitoring, and market analysis.

βœ… Use Cases

  • πŸ“Š Monitor competitor pricing and discounts
  • πŸ” Track product availability and ratings
  • πŸ“ˆ Conduct e-commerce market research
  • πŸ’° Build price comparison databases
  • πŸ“‹ Generate product catalogs with specifications

πŸ“₯ Input Configuration

You can customize the actor using the following input fields:

{
"searchQuery": "iPhone 15",
"categoryUrl": "",
"maxProducts": 50,
"minPrice": 0,
"maxPrice": 100000,
"minRating": 4,
"sortBy": "relevance"
}

🧾 Fields Explained

FieldTypeDescription
searchQuerystringSearch term to query Flipkart products (e.g., "iPhone 15", "Samsung TV")
categoryUrlstringDirect Flipkart category or search URL. If provided, searchQuery is ignored
maxProductsnumberMaximum number of products to retrieve (1-500)
minPricenumberMinimum price filter in INR. Set to 0 for no minimum
maxPricenumberMaximum price filter in INR. Set to 0 for no maximum
minRatingnumberMinimum star rating (0-5) to include products
sortBystringSort order: "relevance", "popularity", "price_asc", "price_desc", "recency", "rating"

πŸ“€ Output

The actor returns a dataset containing structured product records. Each record includes comprehensive details about the product, suitable for price monitoring, analytics, and market research.

🧩 Sample Output

{
"widget_id": 8001000,
"product_id": "MOBGTAGPNRHX7K3H",
"brand": "APPLE",
"title": "iPhone 15 (Blue, 128 GB)",
"subtitle": "128 GB ROM, 6.1 inch Display, 48MP + 12MP Camera",
"price": 69999,
"mrp": 79900,
"discount": 12,
"rating": 4.6,
"rating_count": 12453,
"key_specs": [
"128 GB ROM",
"15.49 cm (6.1 inch) Super Retina XDR Display",
"48MP + 12MP | 12MP Front Camera",
"A16 Bionic Chip Processor"
],
"min_key_specs": ["6.1 inch Display", "48MP Camera"],
"warranty": "1 Year Manufacturer Warranty",
"availability": "In Stock",
"listing_id": "LSTMOBGTAGPNRHX7K3HXYZABC",
"item_id": "ITMGTAGPNRHX7K3H",
"tags": ["Bestseller", "Top Rated"],
"image_urls": [
"https://rukminim2.flixcart.com/image/416/416/xif0q/mobile/..."
]
}

πŸ“‹ Output Fields

FieldTypeDescription
widget_idintegerWidget ID from Flipkart API
product_idstringUnique product identifier
brandstringProduct brand name
titlestringProduct title
subtitlestringProduct subtitle with key specs
pricenumberFinal selling price in INR
mrpnumberMaximum retail price in INR
discountnumberDiscount percentage
ratingnumberAverage product rating (0-5)
rating_countintegerNumber of ratings
key_specsarrayKey product specifications
min_key_specsarrayMinimum key specifications
warrantystringWarranty information
availabilitystringProduct availability status
listing_idstringUnique listing identifier
item_idstringItem identifier
tagsarrayProduct tags (Bestseller, etc.)
image_urlsarrayProduct image URLs

πŸ” Data Source

  • βœ“ Data fetched exclusively via Flipkart API (HTTP POST requests)
  • βœ“ No HTML scraping or DOM parsing
  • βœ“ Real-time product information directly from Flipkart
  • βœ“ Automatic filtering and deduplication

πŸ”’ Proxy Configuration

This actor uses standard HTTP headers with optional proxy support for:

  • Avoiding IP-based rate limiting or bans
  • Accessing location-specific data
  • Ensuring stable data retrieval at scale

Configure proxy settings in Apify:

{
"useApifyProxy": true,
"apifyProxyGroups": ["RESIDENTIAL"],
"apifyProxyCountry": "IN"
}

πŸš€ How to Use

  1. Open the actor in Apify Console
  2. Click "Try actor" or create a new task
  3. Enter your search query or category URL
  4. Configure optional filters (price range, minimum rating)
  5. Run the actor
  6. Download results in JSON, CSV, or Excel format

βš™οΈ Advanced Input Example

{
"searchQuery": "smartphones",
"categoryUrl": "",
"maxProducts": 100,
"minPrice": 10000,
"maxPrice": 50000,
"minRating": 4,
"sortBy": "popularity"
}

πŸ› οΈ Tech Stack

  • Apify SDK β€” actor orchestration and data handling
  • Node.js 18+ β€” runtime environment
  • node-fetch β€” HTTP client for API requests
  • Flipkart API β€” exclusive data source for product information

πŸ“Š Data Processing Features

  • βœ“ Automatic duplicate detection using Product IDs
  • βœ“ Filtering by price range and minimum rating
  • βœ“ Structured data parsing and normalization
  • βœ“ Comprehensive logging and error handling
  • βœ“ Schema validation for all output records
  • βœ“ Pagination support for large result sets

πŸ”§ Local Development

Installation

$npm install

Running the Actor

$npm start

Validation

Validate all generated datasets against the schema:

$node validate-datasets.js

Code Quality

Format code:

$npm run format

Check linting:

$npm run lint

πŸ“‚ Project Structure

.
β”œβ”€β”€ .actor/ # Actor configuration
β”‚ β”œβ”€β”€ actor.json # Actor metadata
β”‚ β”œβ”€β”€ input_schema.json # Input parameters schema
β”‚ β”œβ”€β”€ dataset_schema.json # Output dataset schema
β”‚ β”œβ”€β”€ input.json # Default input
β”‚ β”œβ”€β”€ input-local.json # Local development input
β”‚ └── input-production.json # Production input
β”œβ”€β”€ src/
β”‚ └── main.js # Main actor script
β”œβ”€β”€ storage/
β”‚ └── datasets/default/ # Generated datasets
β”œβ”€β”€ package.json # Dependencies
β”œβ”€β”€ validate-datasets.js # Dataset validator
└── README.md # This file

🀝 Support

For issues, questions, or feature requests, please refer to the Apify documentation or contact support.