Swiggy Instamart API

Search any product on Instamart and get back prices, offers, ratings, stock and categories as structured JSON, for the exact location you choose. Sponsored listings are flagged, and the filter and sort options come included.

GET / swiggy/instamart/search
{
  "search_parameters": { "query": "rice", "pincode": "302018", "lat": 26.8573411, "lng": 75.7865653 },
  "total_time_taken": 8.75,
  "location": { "lat": 26.8573411, "lng": 75.7865653, "address": "Jaipur, Rajasthan 302018, India" },
  "store_resolved_from": "pincode",
  "total_results": 47,
  "total_available": 239,
  "next_offset": "1",
  "sponsored_count": 19,
  "filters": [
    { "name": "Brand", "id": "Brand", "multi_select": true, "options": ["Amul", "Mother Dairy"] }
  ],
  "sort_options": ["Relevance", "Price (Low To High)", "Discount (High To Low)"],
  "products": [
    {
      "position": 1,
      "spin_id": "JMFYBBMUSG",
      "sku_id": "P8P3Y2QIFI",
      "name": "Amul Cow Milk",
      "brand": "Amul",
      "quantity": "1 ltr",
      "description": "Pure and fresh cow milk from Amul.",
      "mrp": 61,
      "offer_price": 61,
      "discount_percent": null,
      "offers": [],
      "in_stock": true,
      "max_order_quantity": 6,
      "rating": 4.3,
      "rating_count": "12.9k",
      "category": "Milk",
      "sub_category": "Fresh Milk",
      "super_category": "Dairy, Bread and Eggs",
      "weight_in_grams": 1000,
      "is_sponsored": false,
      "images": ["https://media-assets.swiggy.com/..."],
      "product_url": "https://instamart.in/p/JMFYBBMUSG"
    }
  ]
}

How the Instamart Scraper API Works

</> Get
curl "https://api.scrapingdog.com/swiggy/instamart/search?api_key=APIKEY&query=rice&pincode=302018"

What Data You Get from the Swiggy Instamart API

Try Scrapingdog for Free
  • Product Listings

    positionspin_idsku_idnamebrandquantitydescriptionimagesproduct_url
  • Prices & Offers

    mrpoffer_pricediscount_percentoffers
  • Stock & Ratings

    in_stockmax_order_quantityratingrating_count
  • Product Categories

    categorysub_categorysuper_categoryweight_in_grams
  • Search Visibility & Options

    is_sponsoredsponsored_countfilterssort_optionstotal_resultstotal_availablenext_offset
  • Location & Request Context

    locationlatlngaddressstore_resolved_fromsearch_parameterstotal_time_taken

Features Built for Instamart Data Scraping

  • Structured Product Listings

    Receive product names, brands, quantities, descriptions, images and URLs alongside spin_id and sku_id in a products array.

  • Location-Based Prices & Offers

    Collect MRP, offer price, discount percentage and offers for the requested location. Always provide a location to avoid the zero prices returned without one.

  • Stock & Customer Ratings

    Read in_stock, max_order_quantity, rating and rating_count to compare availability, order limits and customer feedback.

  • Pincode or Coordinates

    Search with an Indian pincode or both lat and lng. The returned location and store_resolved_from keep your results tied to their location context.

  • Sponsored Placement Flags

    Sponsored placements stay in the results with is_sponsored flags. Use sponsored_count and product positions to analyze search visibility.

  • Categories & Search Options

    Collect category, sub_category, super_category and weight_in_grams, plus the filter and sort options Instamart returns for the query.

What You Can Build with Swiggy Instamart Data

  • Instamart Price Tracking

    Record prices, discounts and offers over time, area by area, to spot price changes and promotions as they happen.

  • Price & Promotion Monitoring

    Record MRP, offer prices, discount percentages and offers over time while keeping observations tied to their locations.

  • Search Visibility Tracking

    Track product positions for target keywords and locations to understand which products appear prominently in search.

  • Sponsored Placement Analysis

    Use is_sponsored and sponsored_count to study how sponsored products appear alongside other search results.

  • Availability Dashboards

    Combine stock flags and maximum order quantities with product identities to monitor local availability.

  • Category & Rating Research

    Group products by their category hierarchy and compare rating signals to support catalog and merchandising analysis.

Who Uses the Instamart Scraper API

  • Consumer Brands
  • Quick Commerce Teams
  • Pricing Analysts
  • Market Researchers
  • Retail Analytics Platforms
  • Merchandising Teams
  • Data Engineers
  • Developers

Start Scraping Swiggy Instamart Data in 4 Steps

  1. 1

    Create Your Account

    Sign up for Scrapingdog to start testing Instamart product search.

  2. 2

    Get Your API Key

    Copy your API key from the dashboard and pass it as api_key.

  3. 3

    Set a Query & Location

    Call /swiggy/instamart/search with query and either pincode or both lat and lng.

  4. 4

    Use the Search Results

    Read products alongside location to analyze prices, stock, ratings and sponsored placements for the requested area.

Transparent & Simple Pricing

Start your web scraping journey with 100 free credits. Test our service and upgrade to one of the plans below. Cancel anytime.

2 months Extra
  • FREE

    $0 forever
    • 100 Requests Credits
    • 1 Concurrency
    • Access To All APIs
    • No Credit Card Required
    • Community Support
    • Team Support
    Start for Free
  • LITE

    $40 /month
    • 200,000 Requests Credits
    • 5 Concurrency
    • Access To All APIs
    • Geotargeting
    • Email Support
    • No Team Support
    Start Trial
  • STANDARD

    $90 /month
    • 1,000,000 Requests Credits
    • 50 Concurrency
    • Access To All APIs
    • Geotargeting
    • Priority Email Support
    • No Team Support
    Start Trial
  • Popular

    PRO

    $200 /month
    • 3,000,000 Requests Credits
    • 100 Concurrency
    • Access To All APIs
    • Geotargeting
    • Priority Email Support
    • Team Support
    Start Trial
  • PREMIUM

    $350 /month
    • 6,000,000 Requests Credits
    • 150 Concurrency
    • Access To All APIs
    • Geotargeting
    • Priority Email Support
    • Team Support
    Start Trial

Frequently Asked Questions

  • Swiggy doesn't offer a public Instamart API for product data. Scrapingdog's Swiggy Instamart API gives you the same search results customers see, as structured JSON, through one simple request.

  • The API returns product search results for one Instamart location as structured JSON. Listings include prices, offers, ratings, stock, product categories, images, IDs and sponsored flags. The response also contains location context, available filter and sort options, and result counts.

  • Your api_key, a search query, and a location: either a pincode or both lat and lng.

  • Instamart search results are tied to a location. Without one, the page can still load but every price comes back as 0. Always supply a pincode or coordinates and retain the returned location with your data.

  • Yes. You get in_stock, max_order_quantity, rating and rating_count for every product.

  • No. Sponsored placements remain in the results and are flagged with is_sponsored. The response also includes sponsored_count and each product's position.

  • Yes. Run the same searches on a schedule and store the prices, discounts and offers to track changes over time for each location.

  • Pass a search result's spin_id as product_id to the Swiggy Instamart Product API, with a pincode or coordinates. Use the catalogue spin_id rather than the store-specific sku_id.

Try Scrapingdog for Free!

Get 100 free credits to spin the API. No credit card required!