Skip to main content gottem  — one API for every scraper.
International
Verified

Flipkart Scraper

Extract product listings, seller data, pricing in INR, and delivery estimates from Flipkart India store. Built on spider-browser .

Get started Docs
target
flipkart.com
success rate
99.9%
latency
~4ms
Quick start

Extract data in minutes.

flipkart-scraper.ts
import { SpiderBrowser } from "spider-browser";

const spider = new SpiderBrowser({
  apiKey: process.env.SPIDER_API_KEY!,
  stealth: 2,
  captcha: "solve",
});

await spider.connect();
const page = spider.page!;
await page.goto("https://www.flipkart.com/search?q=smartphones&sort=relevance");
await page.content(12000);

const data = await page.evaluate(`(() => {
  const items = [];
  document.querySelectorAll("[data-id], a[href*='/p/']").forEach(el => {
    const titleEl = el.querySelector("a[href*='/p/'] div, h2, h3");
    const name = titleEl?.textContent?.trim();
    let price = null;
    el.querySelectorAll("div, span").forEach(n => {
      if (!price && /₹[\d,]+/.test(n.textContent ?? "")) price = n.textContent.trim();
    });
    const rating = el.querySelector("span[id*='rating'], div[class*='rating']")?.textContent?.trim();
    const discount = el.querySelector("span[class*='discount'], span[class*='off']")?.textContent?.trim();
    if (name) items.push({ name, price, rating, discount });
  });
  return JSON.stringify({ total: items.length, items: items.slice(0, 10) });
})()`);

console.log(JSON.parse(data));
await spider.close();
ready to run · spider-browser · TypeScript
Fetch API

One endpoint for flipkart.com.

Structured JSON from flipkart.com with a single POST. AI-resolved selectors, cached on the first call.

POST /fetch/flipkart.com/
Product namePriceOriginal priceDiscountRatingReview count
cURL
curl -X POST https://api.spider.cloud/fetch/flipkart.com/ \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"return_format": "json"}'
Python
import requests

resp = requests.post(
    "https://api.spider.cloud/fetch/flipkart.com/",
    headers={
        "Authorization": "Bearer YOUR_API_KEY",
        "Content-Type": "application/json",
    },
    json={"return_format": "json"},
)
print(resp.json())
Node.js
const resp = await fetch("https://api.spider.cloud/fetch/flipkart.com/", {
  method: "POST",
  headers: {
    "Authorization": "Bearer YOUR_API_KEY",
    "Content-Type": "application/json",
  },
  body: JSON.stringify({ return_format: "json" }),
});
const data = await resp.json();
console.log(data);
Extraction

Fields you can pull.

Product namePriceOriginal priceDiscountRatingReview countSellerDelivery date
Geo-Proxy

Regional access

Access geo-restricted content on flipkart.com via local proxies.

Rendering

Multi-language SPA

Handle internationalized React/Vue storefronts with dynamic content.

Scale

Global coverage

Scrape marketplace listings across multiple countries and currencies.

Related

More International scrapers.

Start

Start scraping flipkart.com.

Grab an API key and call the endpoint above. The first request resolves the config; every request after hits cache.