Flipkart Scraper avatar
Flipkart Scraper
Try for free

1 day trial then $20.00/month - No credit card required now

View all Actors
Flipkart Scraper

Flipkart Scraper

natanielsantos/flipkart-scraper
Try for free

1 day trial then $20.00/month - No credit card required now

Scrape product data from Flipkart with this unofficial tool. Extract price, images, description, sizes, category, reviews, rating and more. Download your data as HTML table, JSON, CSV, Excel, XML, and RSS feed.

The code examples below show how to run the Actor and get its results. To run the code, you need to have an Apify account. Replace <YOUR_API_TOKEN> in the code with your API token, which you can find under Settings > Integrations in Apify Console. Learn more

1# Set API token
2API_TOKEN=<YOUR_API_TOKEN>
3
4# Prepare Actor input
5cat > input.json <<'EOF'
6{
7  "start_urls": [
8    {
9      "url": "https://www.flipkart.com/search?p%5B%5D=facets.brand%255B%255D%3DSamsung&sid=tyy%2F4io&sort=recency_desc&ctx=eyJjYXJkQ29udGV4dCI6eyJhdHRyaWJ1dGVzIjp7InRpdGxlIjp7Im11bHRpVmFsdWVkQXR0cmlidXRlIjp7ImtleSI6InRpdGxlIiwiaW5mZXJlbmNlVHlwZSI6IlRJVExFIiwidmFsdWVzIjpbIkxhdGVzdCBTYW1zdW5nIG1vYmlsZXMgIl0sInZhbHVlVHlwZSI6Ik1VTFRJX1ZBTFVFRCJ9fX19fQ%3D%3D&wid=1.productCard.PMU_V2_1&page=1"
10    }
11  ],
12  "max_items_count": 30,
13  "proxySettings": {
14    "useApifyProxy": true,
15    "apifyProxyGroups": [
16      "RESIDENTIAL"
17    ]
18  }
19}
20EOF
21
22# Run the Actor using an HTTP API
23# See the full API reference at https://docs.apify.com/api/v2
24curl "https://api.apify.com/v2/acts/natanielsantos~flipkart-scraper/runs?token=$API_TOKEN" \
25  -X POST \
26  -d @input.json \
27  -H 'Content-Type: application/json'
Developer
Maintained by Community
Actor metrics
  • 20 monthly users
  • 1 star
  • 100.0% runs succeeded
  • 9.3 hours response time
  • Created in May 2023
  • Modified 10 days ago
Categories