Food
Swiggy Instamart logo

Swiggy Instamart API

swiggy.com

Swiggy Instamart grocery - category listings, product details, price, MRP, and pack size.

Actions
5
Category
Food
Login
Not required
Output
JSON

Call the Swiggy Instamart API

Submit a task, then poll the job until it settles. This example runs instamart_category_products.

curl -X POST https://api.anakin.io/v1/wire/task \
  -H "X-API-Key: $ANAKIN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "action_id": "instamart_category_products",
    "params": {
      "category_id": "Fresh Vegetables",
      "subcategory_id": "6822eeeded32000001e25aa3",
      "pincode": "560055"
    }
  }'

5 actions on swiggy.com

Read

  • Category products

    instamart_category_productsread1 credit / call

    Products in one Swiggy Instamart subcategory at a delivery pincode, one page at a time, with price, MRP, pack size and stock.

    category_id
    string · required
    subcategory_id
    string · required
    taxonomy_type
    string
    pincode
    string · required
    page
    integer
  • Category tree

    instamart_categoriesread1 credit / call

    All Swiggy Instamart categories at a delivery pincode: departments, then categories (category_id), then subcategories (subcategory_id). Pass a category_id together with one of its subcategory_ids to Category products.

    pincode
    string · required
  • Product details

    instamart_product_detailread1 credit / call

    One Swiggy Instamart product at a delivery pincode: name, brand, price, MRP, pack size, stock, images and every pack size it is sold in.

    product_id
    string · required
    pincode
    string · required
  • Search products

    instamart_searchread1 credit / call

    Search Swiggy Instamart for a word at a delivery pincode. Returns one page of products with price, MRP, pack size and stock.

    query
    string · required
    pincode
    string · required
    page
    integer
  • Swiggy Instamart Get Product

    swiggy_instamart_get_productread1 credit / call

    Swiggy Instamart — fetch one product by PDP URL. Returns unified matching schema: brand, title, quantity, mrp, image_urls, descriptions, specs, ids.

    product_url
    string · required
    pid
    string
    domain
    string
    location
    string

Swiggy Instamart API questions

Is there an API for Swiggy Instamart?
Swiggy Instamart does not offer a public data API for this, but Anakin Wire provides 5 maintained endpoints for swiggy.com. You call Anakin's REST API with an action ID and parameters and get structured JSON back; Anakin handles the browser, proxies, anti-bot, and parsing.
How do I scrape Swiggy Instamart data?
POST to https://api.anakin.io/v1/wire/task with your API key, the action ID, and its parameters, then poll GET /v1/wire/jobs/{id} until the job settles. There is nothing to install and no scraper to maintain — when swiggy.com changes its markup, Anakin updates the action.
Do I need a Swiggy Instamart account?
No. Every Swiggy Instamart action listed here runs anonymously — no account and no credentials required.
What does the Swiggy Instamart API cost?
Usage-based credits, charged per call and refunded automatically when a job fails. New accounts start with 300 free credits and no card. See anakin.io/pricing for the current rates.

More Food APIs

All Food sites