APIs / Marketplaces / Flipkart

1 credit per call6 endpoints14 datapoints

Flipkart API

Flipkart API for product search, product details, offers, reviews and delivery estimates by pincode as JSON. 1 credit per successful call.

Flipkart
GET/v1/flipkart/search?query=iphone&sort=price_asc
{
  "success": true,
  "data": {
    "items": [
      {
        "id": "MOBEXRGVPHW9QZ2S",
        "listing_id": "LSTMOBEXRGVPHW9QZ2SXQ2WFU",
        "url": "https://www.flipkart.com/apple-iphone-8-space-grey-64-gb/p/itmexrgvkkvhjhuk?pid=MOBEXRGVPHW9QZ2S",
        "title": "Apple iPhone 8 (Space Grey, 64 GB)",
        "brand": "Apple",
        "category": "Handset",
        "price": 39900,
        "original_price": 39900,
        "currency": "INR",
        "rating": {
          "score": 4.5,
          "count": 10993,
          "review_count": 776
        },
        "in_stock": false,
        "availability": "Currently unavailable",
        "key_specs": [
          "64 GB ROM",
          "11.94 cm (4.7 inch) Retina HD Display",
          "12MP Rear Camera | 7MP Front Camera"
        ],
        "images": [
          "https://rukminim1.flixcart.com/image/1500/1500/j7ksia80/mobile/z/2/s/apple-iphone-8-mq6k2hn-a-original-imaexsbztghyprcg.jpeg?q=70",
          "https://rukminim1.flixcart.com/image/1500/1500/j7ksia80/mobile/e/w/v/apple-iphone-8-mq7f2hn-a-original-imaexsbza3tjzcxf.jpeg?q=70",
          "https://rukminim1.flixcart.com/image/1500/1500/j7ksia80/mobile/e/w/v/apple-iphone-8-mq7f2hn-a-original-imaexsbzhv8fz75m.jpeg?q=70"
        ]
      },
      {
        "id": "MOBFWQ6BTFFJKGKE",
        "listing_id": "LSTMOBFWQ6BTFFJKGKEPHMT2V",
        "url": "https://www.flipkart.com/apple-iphone-11-purple-64-gb/p/itm2b8d03427ddac?pid=MOBFWQ6BTFFJKGKE",
        "title": "Apple iPhone 11 (Purple, 64 GB)",
        "brand": "Apple",
        "category": "Handset",
        "price": 43900,
        "original_price": 43900,
        "currency": "INR",
        "rating": {
          "score": 4.6,
          "count": 179673,
          "review_count": 10642
        },
        "in_stock": false,
        "availability": "Currently unavailable",
        "key_specs": [
          "64 GB ROM",
          "15.49 cm (6.1 inch) Liquid Retina HD Display",
          "12MP + 12MP | 12MP Front Camera"
        ],
        "images": [
          "https://rukminim1.flixcart.com/image/1500/1500/k2jbyq80pkrrdj/mobile-refurbished/y/k/z/iphone-11-64-a-mwlx2hn-a-apple-0-original-imafkg24ymsjav9h.jpeg?q=70",
          "https://rukminim1.flixcart.com/image/1500/1500/kgiaykw0/mobile/g/k/e/apple-iphone-11-mhdf3hn-a-original-imafwqepygpnkgez.jpeg?q=70",
          "https://rukminim1.flixcart.com/image/1500/1500/kgiaykw0/mobile/g/k/e/apple-iphone-11-mhdf3hn-a-original-imafwqepatn3yzct.jpeg?q=70"
        ]
      },
      {
        "id": "MOBFWQ6BHBKMH4BF",
        "listing_id": "LSTMOBFWQ6BHBKMH4BFSQ984X",
        "url": "https://www.flipkart.com/apple-iphone-11-green-128-gb/p/itm97529bbf640ca?pid=MOBFWQ6BHBKMH4BF",
        "title": "Apple iPhone 11 (Green, 128 GB)",
        "brand": "Apple",
        "category": "Handset",
        "price": 48900,
        "original_price": 48900,
        "currency": "INR",
        "rating": {
          "score": 4.6,
          "count": 179673,
          "review_count": 10642
        },
        "in_stock": false,
        "availability": "Currently unavailable",
        "key_specs": [
          "128 GB ROM",
          "15.49 cm (6.1 inch) Liquid Retina HD Display",
          "12MP + 12MP | 12MP Front Camera"
        ],
        "images": [
          "https://rukminim1.flixcart.com/image/1500/1500/k2jbyq80pkrrdj/mobile-refurbished/u/z/t/iphone-11-256-c-mwmd2hn-a-apple-0-original-imafkg24wszdhzy3.jpeg?q=70",
          "https://rukminim1.flixcart.com/image/1500/1500/kgiaykw0/mobile/4/b/f/apple-iphone-11-mhdn3hn-a-original-imafwqeps9gkq9zd.jpeg?q=70",
          "https://rukminim1.flixcart.com/image/1500/1500/kgiaykw0/mobile/4/b/f/apple-iphone-11-mhdn3hn-a-original-imafwqepcad5ttte.jpeg?q=70"
        ]
      }
    ],
    "pagination": {
      "current_page": 1,
      "per_page": 24,
      "total": 429,
      "total_pages": 18,
      "has_more": true
    },
    "sort": "price_asc",
    "filters": {
      "query": "iphone"
    },
    "facets": [
      {
        "id": "network_type",
        "title": "Network Type",
        "values": [
          {
            "value": "5G",
            "count": 306,
            "selected": false
          },
          {
            "value": "4G",
            "count": 396,
            "selected": false
          },
          {
            "value": "4G VOLTE",
            "count": 274,
            "selected": false
          }
        ]
      },
      {
        "id": "internal_storage",
        "title": "Internal Storage",
        "values": [
          {
            "value": "256 GB & Above",
            "count": 183,
            "selected": false
          },
          {
            "value": "128 - 255.9 GB",
            "count": 66,
            "selected": false
          },
          {
            "value": "64 - 127.9 GB",
            "count": 30,
            "selected": false
          }
        ]
      },
      {
        "id": "ram",
        "title": "Ram",
        "values": [
          {
            "value": "1 GB and Below",
            "count": 385,
            "selected": false
          }
        ]
      }
    ],
    "breadcrumbs": [
      {
        "title": "Mobiles & Accessories",
        "category": "tyy"
      },
      {
        "title": "Mobiles",
        "category": "tyy,4io"
      }
    ],
    "sponsored_removed": 0,
    "currency": "INR"
  },
  "meta": {
    "endpoint_family": "search",
    "request_id": "req_30eeb1a25b914fdda77d291bc47f0702",
    "credits_charged": 1,
    "credits_remaining": 1946
  }
}
200 OKJSONX-Credits-Used: 1
Recorded from our API and shortened.

Sample data

What one call returns

A recorded run of search: the fields and shapes you will get, shortened to 3 items.

#idstringlisting_idstringurlurltitlestringbrandstringcategorystringpriceintegeroriginal_priceintegercurrencystringratingobjectin_stockbooleanavailabilitystringkey_specsstring[]imagesstring[]
1MOBEXRGVPHW9QZ2SLSTMOBEXRGVPHW9QZ2SXQ2WFUhttps://www.flipkart.com/apple-iphone-8-space-grey-64-gb/p/itmexrgvkkvhjhuk?pid=MOBEXRGVPHW9QZ2SApple iPhone 8 (Space Grey, 64 GB)AppleHandset3990039900INR{3 fields}falseCurrently unavailable[3 items][3 items]
2MOBFWQ6BTFFJKGKELSTMOBFWQ6BTFFJKGKEPHMT2Vhttps://www.flipkart.com/apple-iphone-11-purple-64-gb/p/itm2b8d03427ddac?pid=MOBFWQ6BTFFJKGKEApple iPhone 11 (Purple, 64 GB)AppleHandset4390043900INR{3 fields}falseCurrently unavailable[3 items][3 items]
3MOBFWQ6BHBKMH4BFLSTMOBFWQ6BHBKMH4BFSQ984Xhttps://www.flipkart.com/apple-iphone-11-green-128-gb/p/itm97529bbf640ca?pid=MOBFWQ6BHBKMH4BFApple iPhone 11 (Green, 128 GB)AppleHandset4890048900INR{3 fields}falseCurrently unavailable[3 items][3 items]

Recorded from our API · 3 items shown · 14 datapoints per itemGET /v1/flipkart/search?query=iphone&sort=price_asc

14 datapoints

Identity

  • idstring
  • listing_idstring
  • titlestring
  • brandstring
  • categorystring

Contact

  • urlurl

Reputation

  • ratingobject
  • imagesstring[]

Price

  • priceinteger
  • original_priceinteger
  • currencystring

Other

  • in_stockboolean
  • availabilitystring
  • key_specsstring[]

Playground

Run this API

cURLshell
curl "https://api.perceptlayer.com/v1/flipkart/search?query=iphone&sort=price_asc" \
  -H "X-API-Key: $API_KEY"

Flipkart · 6 endpoints

Endpoints

Every endpoint takes the same key. Open one for its parameters and an example request.

EndpointRequired parametersCost
GET/v1/flipkart/autocomplete
query
1 credit
GET/v1/flipkart/delivery
pincode+2 optional
1 credit
GET/v1/flipkart/offers
none+2 optional
1 credit
GET/v1/flipkart/product
none+2 optional
1 credit
GET/v1/flipkart/reviews
none+5 optional
1 credit
GET/v1/flipkart/search
none+7 optional
1 credit

Overview

About the Flipkart API

What you can get

The Flipkart API returns Flipkart product data as JSON through 6 endpoints.

  • Search: search takes a query, with category, brand, min_price, max_price, page and sort (relevance, popularity, price_asc, price_desc or recency_desc). autocomplete takes a partial query.
  • Products: product and offers take a pid or a product url.
  • Reviews: reviews takes a pid or url, with page, per_page and sort (MOST_RECENT, MOST_HELPFUL, POSITIVE_FIRST or NEGATIVE_FIRST).
  • Delivery: delivery takes a pincode and a pid or url.

The recorded search for "iphone" sorted by price_asc returns items, each with id, listing_id, url, title, brand, category, price, original_price, currency, rating (score, count and review_count), in_stock, availability, key_specs and images. It also returns pagination with total (429 in that recording), total_pages and has_more, plus facets and breadcrumbs.

How a call works

Search, then look up: GET /v1/flipkart/search?query=iphone&sort=price_asc with your key in the X-API-Key header returns each product's id; product, offers, reviews and delivery take it as pid. For delivery to an address, add a pincode: GET /v1/flipkart/delivery?pid=MOBHQV9YDG7CGRAM&pincode=560001. Check has_more before asking for the next page. Every successful call costs 1 credit; failed calls cost nothing.

MarketplacesJSONRESTMCP

More marketplaces APIs

Use cases

Track Flipkart prices and discounts for a product list

Use the Flipkart API to track Flipkart prices and discounts for a product list

Check delivery to a pincode before listing a product

Use the Flipkart API to check delivery to a pincode before listing a product

Watch which offers a product has

Use the Flipkart API to watch which offers a product has

Analyse reviews, most recent or negative first

Use the Flipkart API to analyse reviews, most recent or negative first

FAQ

Questions

How much does the Flipkart API cost?

Each successful call costs one credit, and each search page is one call. New accounts get free credits to start, and credit packs bring the price down as you scale.

Can I check delivery to a specific pincode?

Yes. `delivery` takes a `pincode` with the product's `pid` or `url`.

Do I need a Flipkart account?

No. You call this Flipkart API with your Perceptlayer key in the `X-API-Key` header, with no Flipkart login.

What format are responses in?

Every endpoint returns JSON, with no HTML parsing on your side.

Should I build a Flipkart scraper instead?

You can, but a Flipkart scraper is code you maintain: page changes break it, requests get blocked, and Flipkart's terms govern how you collect data. The Flipkart API gives you 6 endpoints of named JSON fields for 1 credit per successful call, and failed calls cost nothing. A scraper makes sense only for data these endpoints don't return, so check the response in the playground on this page first.

Try the Flipkart API with 100 free credits

No credit card. Failed calls are never billed.