Upscrape 2.0 is here. Live platform data for agents, apps, and workflows. Upscrape 2.0 is here. REST API and MCP, one connection. Explore capabilities

Zepto scraper API

Scrape India's Zepto q-commerce platform: product details, search, category listings, ad placements, place/location…

Commerce & delivery 11 capabilities stable 67.9% success rate

Capabilities

Every capability is one POST /execute call that returns structured JSON.

List current Zepto sponsored product, campaign, and banner placements for a location or page.

Request

curl -X POST https://data.upscrape.com/execute \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"latitude":12.96902,"limit":5,"longitude":77.75395,"page_type":"HOME"},"capability":"zepto.ads"}'

Sample response

{
  "count": 5,
  "location_eta_in_minutes": 4,
  "location_eta_serviceable": true,
  "location_latitude": 12.96902,
  "location_longitude": 77.75395,
  "location_secondary_store_ids": [
    "0059ff6a-7eb0-477a-a7f5-69256f2c444b"
  ],
  "location_serviceable": true,
  "location_source_url": "https://bff-gateway.zepto.com/lms/api/v2/get_page?latitude=12.96902&longitude=77.75395&page_type=HOME&version=v2&show_new_eta_banner=true&page_size=3&enforce_platform_type=DESKTOP",
  "location_store_id": "b4dc8d65-ed2e-4142-81b6-373982b13500",
  "location_store_ids": [
    "b4dc8d65-ed2e-4142-81b6-373982b13500",
    "0059ff6a-7eb0-477a-a7f5-69256f2c444b"
  ],
  "page_type": "HOME",
  "results": [
    {
      "element_id": "422c1cbe-a5b5-4118-9c6b-f7c6251fced3",
      "element_name": "Everyday lowest price",
      "element_position_inside_widget": 1,
      "element_type": "BANNER",
      "image_path": "inventory/banner/601180a6-b82f-499b-a24f-c079904e9f53.png",
      "image_url": "https://cdn.zeptonow.com/production/tr:w-600,ar-1000-1000,pr-true,f-auto,q-80/inventory/banner/601180a6-b82f-499b-a24f-c079904e9f53.png",
      "page_type": "HOME",
      "placement_type": "banner",
      "position_in_list": 1,
      "rank": 1,
      "source_url": "https://bff-gateway.zepto.com/lms/api/v2/get_page?enforce_platform_type=DESKTOP&latitude=12.96902&longitude=77.75395&page_size=20&page_type=HOME&show_new_eta_banner=true&version=v2",
      "widget_id": "100000357",
      "widget_name": "WEB_PAAN_OLSX",
      "widget_position": 80,
      "widget_type": "BANNER_GRID"
    },
    {
      "deeplink_url": "https://www.zepto.com/cn/paan-corner/cigarettes/cid/cd50825e-baf8-47fe-9abc-ed9556122a9a/scid/5bcbee47-7c83-4279-80f0-7ecc068496df",
      "element_id": "bad6912d-f8a8-4fa6-9bd7-b5cc63a521ef",
      "element_name": "Paan",
      "element_position_inside_widget": 2,
      "element_type": "BANNER",
      "image_path": "inventory/banner/85b9411e-fa0e-427f-96ec-97fd4d13aaed.png",
      "image_url": "https://cdn.zeptonow.com/production/tr:w-600,ar-1000-1000,pr-true,f-auto,q-80/inventory/banner/85b9411e-fa0e-427f-96ec-97fd4d13aaed.png",
      "page_type": "HOME",
      "placement_type": "banner",
      "position_in_list": 2,
      "rank": 2,
      "source_url": "https://bff-gateway.zepto.com/lms/api/v2/get_page?enforce_platform_type=DESKTOP&latitude=12.96902&longitude=77.75395&page_size=20&page_type=HOME&show_new_eta_banner=true&version=v2",
      "widget_id": "100000357",
      "widget_name": "WEB_PAAN_OLSX",
      "widget_position": 80,
      "widget_type": "BANNER_GRID"
    },
    {
      "discount_amount_paise": 4000,
      "is_sponsored": true,
      "discounted_selling_price_paise": 22000,
      "element_position_inside_widget": 1,
      "pc_tags_json": "{}",
      "image_path": "cms/product_variant/17235b1c-37cf-4232-8a0b-c12784b07e17.jpg",
      "pricing_campaigns_json": "{\"pricingEntityPrices\":[{\"discountedSellingPrice\":22000,\"pricingEntity\":\"SUPER_SAVER\"}]}",
      "element_id": "8f5eb151-9e1a-5f53-a171-299f6f539d9e",
      "items_left": 4,
      "store_product_id": "8f5eb151-9e1a-5f53-a171-299f6f539d9e",
      "primary_category_name": "Cleaning Essentials",
      "element_type": "PRODUCT",
      "product_name": "Rin Matic Top Load Detergent Liquid | Pouch",
      "discount_percent": 15,
      "widget_name": "Laundry_Care_HORIZONTAL_LIST",
      "campaign_name": "bachat",
      "mrp_paise": 26000,
      "source_url": "https://bff-gateway.zepto.com/lms/api/v2/get_page?enforce_platform_type=DESKTOP&latitude=12.96902&longitude=77.75395&page_size=20&page_type=HOME&show_new_eta_banner=true&version=v2",
      "primary_subcategory_name": "Liquid Detergents & Additives",
      "category_id": "1a7e46a8-e627-450f-8960-490b550eeee6",
      "rank": 3,
      "brand": "Rin",
      "formatted_pack_size": "1 pack (2 kg)",
      "widget_id": "24238",
      "image_url": "https://cdn.zeptonow.com/production/tr:w-600,ar-1000-1000,pr-true,f-auto,q-80/cms/product_variant/17235b1c-37cf-4232-8a0b-c12784b07e17.jpg",
      "product_variant_id": "5f54bb83-f3e0-4d8d-89b0-6339f3312089",
      "store_id": "b4dc8d65-ed2e-4142-81b6-373982b13500",
      "placement_type": "sponsored_product",
      "primary_subcategory_id": "dfb37880-b40f-4783-9502-a56e12edbabc",
      "product_id": "4ad95205-6122-41b2-b5af-f18f187f924b",
      "selling_price_paise": 22000,
      "page_type": "HOME",
      "product_url": "https://www.zepto.com/pn/rin-matic-top-load-detergent-liquid-pouch/pvid/5f54bb83-f3e0-4d8d-89b0-6339f3312089",
      "widget_type": "HORIZONTAL_LIST",
      "widget_position": 270,
      "position_in_list": 1
    }
  ],
  "source_url": "https://bff-gateway.zepto.com/lms/api/v2/get_page?enforce_platform_type=DESKTOP&latitude=12.96902&longitude=77.75395&page_size=20&page_type=HOME&show_new_eta_banner=true&version=v2"
}

Input

Field Type Required Description
category_id string optional Category ID (relevant when page_type is CATEGORY).
latitude number optional Latitude for location-based store resolution.
limit integer optional Maximum number of ad placements to return.
longitude number optional Longitude for location-based store resolution.
page_type string optional Type of page to fetch ads for.
query string optional Search query (relevant when page_type is SEARCH).
store_id string optional Zepto store ID. Defaults to the public Bangalore sample store.
subcategory_id string optional Subcategory ID (relevant when page_type is CATEGORY).
url string optional Direct URL to a Zepto page for ad context.

List Zepto category and subcategory IDs for a store or latitude/longitude.

Request

curl -X POST https://data.upscrape.com/execute \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"latitude":12.96902,"longitude":77.75395},"capability":"zepto.categories"}'

Sample response

{
  "count": 226,
  "location_eta_in_minutes": 4,
  "location_eta_serviceable": true,
  "location_latitude": 12.96902,
  "location_longitude": 77.75395,
  "location_secondary_store_ids": [
    "0059ff6a-7eb0-477a-a7f5-69256f2c444b"
  ],
  "location_serviceable": true,
  "location_source_url": "https://bff-gateway.zepto.com/lms/api/v2/get_page?latitude=12.96902&longitude=77.75395&page_type=HOME&version=v2&show_new_eta_banner=true&page_size=3&enforce_platform_type=DESKTOP",
  "location_store_id": "b4dc8d65-ed2e-4142-81b6-373982b13500",
  "location_store_ids": [
    "b4dc8d65-ed2e-4142-81b6-373982b13500",
    "0059ff6a-7eb0-477a-a7f5-69256f2c444b"
  ],
  "results": [
    {
      "category_id": "64374cfe-d06f-4a01-898e-c07c46462c36",
      "category_image_path": "inventory/category/[redacted:token].png",
      "category_image_url": "https://cdn.zeptonow.com/production/tr:w-600,ar-1000-1000,pr-true,f-auto,q-80/inventory/category/[redacted:token].png",
      "category_name": "Fruits & Vegetables",
      "category_priority": 1,
      "category_subcategory_ids_json": "[]",
      "category_url": "https://www.zepto.com/cn/fruits-vegetables/all/cid/64374cfe-d06f-4a01-898e-c07c46462c36/scid/e78a8422-5f20-4e4b-9a9f-22a0e53962e3",
      "discount_applicable": true,
      "display_secondary_image": true,
      "facebook_subcategory": "food & beverages > food",
      "google_subcategory": "Food, Beverages & Tobacco",
      "mrp_sp_mismatch_allowed": true,
      "price_guardrail_threshold": 20,
      "rank": 1,
      "source_url": "https://bff-gateway.zepto.com/product-assortment-service/api/v2/category/grid?store_id=b4dc8d65-ed2e-4142-81b6-373982b13500",
      "subcategory_id": "e78a8422-5f20-4e4b-9a9f-22a0e53962e3",
      "subcategory_image_path": "cms/sub_category/c067507c-a931-4a09-b701-a2171b8f6bf9.png",
      "subcategory_image_url": "https://cdn.zeptonow.com/production/tr:w-600,ar-1000-1000,pr-true,f-auto,q-80/cms/sub_category/c067507c-a931-4a09-b701-a2171b8f6bf9.png",
      "subcategory_image_v2_path": "cms/sub_category/102e9688-c220-4a0e-bc35-0f0b16de6ad1.png",
      "subcategory_image_v2_url": "https://cdn.zeptonow.com/production/tr:w-600,ar-1000-1000,pr-true,f-auto,q-80/cms/sub_category/102e9688-c220-4a0e-bc35-0f0b16de6ad1.png",
      "subcategory_name": "All",
      "subcategory_priority": 10
    },
    {
      "category_id": "64374cfe-d06f-4a01-898e-c07c46462c36",
      "category_image_path": "inventory/category/[redacted:token].png",
      "category_image_url": "https://cdn.zeptonow.com/production/tr:w-600,ar-1000-1000,pr-true,f-auto,q-80/inventory/category/[redacted:token].png",
      "category_name": "Fruits & Vegetables",
      "category_priority": 1,
      "category_subcategory_ids_json": "[]",
      "category_url": "https://www.zepto.com/cn/fruits-vegetables/fresh-vegetables/cid/64374cfe-d06f-4a01-898e-c07c46462c36/scid/b4827798-fcb6-4520-ba5b-0f2bd9bd7208",
      "discount_applicable": true,
      "display_secondary_image": true,
      "facebook_subcategory": "food & beverages > food > fruits & vegetables",
      "google_subcategory": "Food, Beverages & Tobacco",
      "mrp_sp_mismatch_allowed": true,
      "price_guardrail_threshold": 20,
      "rank": 2,
      "source_url": "https://bff-gateway.zepto.com/product-assortment-service/api/v2/category/grid?store_id=b4dc8d65-ed2e-4142-81b6-373982b13500",
      "subcategory_id": "b4827798-fcb6-4520-ba5b-0f2bd9bd7208",
      "subcategory_image_path": "cms/sub_category/694c07e0-542b-49db-a596-b1f4f4935342.png",
      "subcategory_image_url": "https://cdn.zeptonow.com/production/tr:w-600,ar-1000-1000,pr-true,f-auto,q-80/cms/sub_category/694c07e0-542b-49db-a596-b1f4f4935342.png",
      "subcategory_image_v2_path": "cms/sub_category/694c07e0-542b-49db-a596-b1f4f4935342.png",
      "subcategory_image_v2_url": "https://cdn.zeptonow.com/production/tr:w-600,ar-1000-1000,pr-true,f-auto,q-80/cms/sub_category/694c07e0-542b-49db-a596-b1f4f4935342.png",
      "subcategory_name": "Fresh Vegetables",
      "subcategory_priority": 20
    },
    {
      "category_id": "64374cfe-d06f-4a01-898e-c07c46462c36",
      "category_image_path": "inventory/category/[redacted:token].png",
      "category_image_url": "https://cdn.zeptonow.com/production/tr:w-600,ar-1000-1000,pr-true,f-auto,q-80/inventory/category/[redacted:token].png",
      "category_name": "Fruits & Vegetables",
      "category_priority": 1,
      "category_subcategory_ids_json": "[]",
      "category_url": "https://www.zepto.com/cn/fruits-vegetables/fresh-fruits/cid/64374cfe-d06f-4a01-898e-c07c46462c36/scid/09e63c15-e5f7-4712-9ff8-513250b79942",
      "discount_applicable": true,
      "display_secondary_image": true,
      "facebook_subcategory": "food & beverages > food > fruits & vegetables",
      "google_subcategory": "Food, Beverages & Tobacco",
      "mrp_sp_mismatch_allowed": true,
      "price_guardrail_threshold": 20,
      "rank": 3,
      "source_url": "https://bff-gateway.zepto.com/product-assortment-service/api/v2/category/grid?store_id=b4dc8d65-ed2e-4142-81b6-373982b13500",
      "subcategory_id": "09e63c15-e5f7-4712-9ff8-513250b79942",
      "subcategory_image_path": "cms/sub_category/7e51d0f6-ee57-42f3-98f9-945033ad3e5f.png",
      "subcategory_image_url": "https://cdn.zeptonow.com/production/tr:w-600,ar-1000-1000,pr-true,f-auto,q-80/cms/sub_category/7e51d0f6-ee57-42f3-98f9-945033ad3e5f.png",
      "subcategory_image_v2_path": "cms/sub_category/7e51d0f6-ee57-42f3-98f9-945033ad3e5f.png",
      "subcategory_image_v2_url": "https://cdn.zeptonow.com/production/tr:w-600,ar-1000-1000,pr-true,f-auto,q-80/cms/sub_category/7e51d0f6-ee57-42f3-98f9-945033ad3e5f.png",
      "subcategory_name": "Fresh Fruits",
      "subcategory_priority": 40
    }
  ],
  "source_url": "https://bff-gateway.zepto.com/product-assortment-service/api/v2/category/grid?store_id=b4dc8d65-ed2e-4142-81b6-373982b13500"
}

Input

Field Type Required Description
latitude number optional Latitude for location-based store resolution.
longitude number optional Longitude for location-based store resolution.
store_id string optional Zepto store ID. Defaults to the public Bangalore sample store.

List Category Products

zepto.category.products

List Zepto products from a /cn/.../cid/.../scid/... category URL.

Request

curl -X POST https://data.upscrape.com/execute \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"limit":5,"url":"https://www.zepto.com/cn/fruits-vegetables/fresh-fruits/cid/64374cfe-d06f-4a01-898e-c07c46462c36/scid/09e63c15-e5f7-4712-9ff8-513250b79942"},"capability":"zepto.category.products"}'

Sample response

{
  "count": 5,
  "page_number": 1,
  "pages_fetched": 1,
  "results": [
    {
      "discount_amount_paise": 8700,
      "unit_of_measure": "PIECE",
      "discounted_selling_price_paise": 7800,
      "product_type": "SELLABLESKU",
      "image_path": "cms/product_variant/fa6acfce-a598-4f3e-aa28-eb94df49d743.png",
      "weight_in_gms": 58,
      "country_of_origin": "India",
      "store_product_id": "8e03ba55-b787-5b9b-9dc6-6fafd06228cd",
      "discount_percent": 52,
      "max_allowed_quantity": 6,
      "mrp_paise": 16500,
      "description": "Custard apple is a tropical fruit that grows mostly in tropical climates. The fruits are heart-shaped with light green exterior and smooth creamy white flesh and are well-known for their exquisite taste. The fruit is high in carbs, minerals, and a good source of vitamin c.",
      "cached": true,
      "name": "Custard Apple Semi Ripe",
      "source_url": "https://bff-gateway.zepto.com/product-assortment-service/api/v2/store-products-by-store-subcategory-id?category_id=64374cfe-d06f-4a01-898e-c07c46462c36&page_number=1&store_id=b4dc8d65-ed2e-4142-81b6-373982b13500&subcategory_id=09e63c15-e5f7-4712-9ff8-513250b79942",
      "brand_id": "d396c794-de67-421c-9af1-dc36df2c2471",
      "available_quantity": 6,
      "quantity": 6,
      "pack_size": 2,
      "category_id": "64374cfe-d06f-4a01-898e-c07c46462c36",
      "l3_category_id": "5942b588-81c1-4195-afca-f776c8c4c094",
      "rank": 1,
      "brand": "Fruits",
      "formatted_pack_size": "2 pcs (360 - 450 g)",
      "image_url": "https://cdn.zeptonow.com/production/tr:w-600,ar-1000-1000,pr-true,f-auto,q-80/cms/product_variant/fa6acfce-a598-4f3e-aa28-eb94df49d743.png",
      "product_variant_id": "b5cb2914-895d-4b3e-86d0-9bd9f9234428",
      "store_id": "b4dc8d65-ed2e-4142-81b6-373982b13500",
      "image_urls": [
        "https://cdn.zeptonow.com/production/tr:w-600,ar-1000-1000,pr-true,f-auto,q-80/cms/product_variant/fa6acfce-a598-4f3e-aa28-eb94df49d743.png"
      ],
      "is_primary": true,
      "primary_subcategory_id": "09e63c15-e5f7-4712-9ff8-513250b79942",
      "product_id": "31e25f4a-c334-4c8a-acce-10a6a0677aed",
      "selling_price_paise": 7800,
      "is_active": true,
      "product_url": "https://www.zepto.com/pn/custard-apple-semi-ripe/pvid/b5cb2914-895d-4b3e-86d0-9bd9f9234428",
      "shelf_life_in_hours": "4 days"
    },
    {
      "discount_amount_paise": 4100,
      "unit_of_measure": "PIECE",
      "discounted_selling_price_paise": 3100,
      "product_type": "SELLABLESKU",
      "image_path": "cms/product_variant/2ee02a46-99b9-4fc7-b389-0e881c02fe56.jpeg",
      "weight_in_gms": 200,
      "country_of_origin": "India",
      "store_product_id": "44cd61e6-c62a-5661-99c0-e2ac41309cb9",
      "discount_percent": 56,
      "max_allowed_quantity": 6,
      "mrp_paise": 7200,
      "cached": true,
      "name": "Banana Robusta",
      "source_url": "https://bff-gateway.zepto.com/product-assortment-service/api/v2/store-products-by-store-subcategory-id?category_id=64374cfe-d06f-4a01-898e-c07c46462c36&page_number=1&store_id=b4dc8d65-ed2e-4142-81b6-373982b13500&subcategory_id=09e63c15-e5f7-4712-9ff8-513250b79942",
      "brand_id": "d69ba762-dfca-47f4-8e52-d09a6d1ffbd0",
      "available_quantity": 6,
      "quantity": 6,
      "pack_size": 4,
      "category_id": "64374cfe-d06f-4a01-898e-c07c46462c36",
      "l3_category_id": "d16cc33d-74e8-480d-9414-5dc06cdb47ea",
      "rank": 2,
      "brand": "Unbranded",
      "formatted_pack_size": "4 pcs",
      "image_url": "https://cdn.zeptonow.com/production/tr:w-600,ar-1000-1000,pr-true,f-auto,q-80/cms/product_variant/2ee02a46-99b9-4fc7-b389-0e881c02fe56.jpeg",
      "product_variant_id": "436c0025-de54-4748-a189-79e292f26071",
      "store_id": "b4dc8d65-ed2e-4142-81b6-373982b13500",
      "image_urls": [
        "https://cdn.zeptonow.com/production/tr:w-600,ar-1000-1000,pr-true,f-auto,q-80/cms/product_variant/2ee02a46-99b9-4fc7-b389-0e881c02fe56.jpeg"
      ],
      "is_primary": true,
      "primary_subcategory_id": "09e63c15-e5f7-4712-9ff8-513250b79942",
      "product_id": "c6bce5f8-a70b-4806-99c1-c2b8df503e1a",
      "selling_price_paise": 3100,
      "is_active": true,
      "product_url": "https://www.zepto.com/pn/banana-robusta/pvid/436c0025-de54-4748-a189-79e292f26071",
      "shelf_life_in_hours": "3 days"
    },
    {
      "discount_amount_paise": 7600,
      "unit_of_measure": "GRAM",
      "discounted_selling_price_paise": 7300,
      "product_type": "SELLABLESKU",
      "image_path": "cms/product_variant/cf8f80c4-1b42-46bc-a3cf-55360cd418e9.jpeg",
      "weight_in_gms": 500,
      "country_of_origin": "India",
      "store_product_id": "22ba089c-c0c2-5d4a-b4d6-d11d823b088f",
      "discount_percent": 51,
      "max_allowed_quantity": 6,
      "mrp_paise": 14900,
      "description": "Elaichi bananas might be small in size but are equally nutritious as any regular-sized banana. These dwarf bananas contain far lesser calories than regular bananas, which aids metabolism. Elaichi banana also helps the body maintain a regular heartbeat, lower blood pressure and a proper balance of water in the body.",
      "cached": true,
      "name": "Banana Elaichi (Yelakki)",
      "source_url": "https://bff-gateway.zepto.com/product-assortment-service/api/v2/store-products-by-store-subcategory-id?category_id=64374cfe-d06f-4a01-898e-c07c46462c36&page_number=1&store_id=b4dc8d65-ed2e-4142-81b6-373982b13500&subcategory_id=09e63c15-e5f7-4712-9ff8-513250b79942",
      "brand_id": "d69ba762-dfca-47f4-8e52-d09a6d1ffbd0",
      "available_quantity": 6,
      "quantity": 6,
      "pack_size": 500,
      "category_id": "64374cfe-d06f-4a01-898e-c07c46462c36",
      "l3_category_id": "d16cc33d-74e8-480d-9414-5dc06cdb47ea",
      "rank": 3,
      "brand": "Unbranded",
      "formatted_pack_size": "500 g",
      "image_url": "https://cdn.zeptonow.com/production/tr:w-600,ar-1000-1000,pr-true,f-auto,q-80/cms/product_variant/cf8f80c4-1b42-46bc-a3cf-55360cd418e9.jpeg",
      "product_variant_id": "db471557-f745-4574-9e82-1916a88d9e6b",
      "store_id": "b4dc8d65-ed2e-4142-81b6-373982b13500",
      "image_urls": [
        "https://cdn.zeptonow.com/production/tr:w-600,ar-1000-1000,pr-true,f-auto,q-80/cms/product_variant/cf8f80c4-1b42-46bc-a3cf-55360cd418e9.jpeg"
      ],
      "is_primary": true,
      "primary_subcategory_id": "09e63c15-e5f7-4712-9ff8-513250b79942",
      "product_id": "89412b09-5a51-45b0-bb76-83a520cad0c8",
      "selling_price_paise": 7300,
      "is_active": true,
      "product_url": "https://www.zepto.com/pn/banana-elaichi-yelakki/pvid/db471557-f745-4574-9e82-1916a88d9e6b",
      "shelf_life_in_hours": "3 days"
    }
  ],
  "source_url": "https://bff-gateway.zepto.com/product-assortment-service/api/v2/store-products-by-store-subcategory-id?category_id=64374cfe-d06f-4a01-898e-c07c46462c36&page_number=1&store_id=b4dc8d65-ed2e-4142-81b6-373982b13500&subcategory_id=09e63c15-e5f7-4712-9ff8-513250b79942"
}

Input

Field Type Required Description
category_id string optional Zepto category ID to browse.
latitude number optional Latitude for location-based store resolution.
limit integer optional Maximum number of products to return per page.
longitude number optional Longitude for location-based store resolution.
max_pages integer optional Maximum number of pages to fetch.
page_number integer optional One-based page number to start from.
store_id string optional Zepto store ID. Defaults to the public Bangalore sample store.
subcategory_id string optional Zepto subcategory ID to browse.
url string optional Direct URL to a Zepto category page.

Run a Zepto liveness check across location, catalog, search, and ad surfaces.

Request

curl -X POST https://data.upscrape.com/execute \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"latitude":12.96902,"longitude":77.75395},"capability":"zepto.health"}'

Sample response

{
  "ads_category_count": 1,
  "ads_category_ok": true,
  "ads_home_count": 1,
  "ads_home_ok": true,
  "categories_count": 238,
  "categories_ok": true,
  "first_error": "parse error: decode JSON: unexpected end of JSON input",
  "location_ok": true,
  "location_store_id": "b4dc8d65-ed2e-4142-81b6-373982b13500",
  "status": "degraded"
}

Input

Field Type Required Description
latitude number optional Latitude for location-based health check.
longitude number optional Longitude for location-based health check.

Resolve Zepto serviceability and store IDs for a latitude/longitude.

Request

curl -X POST https://data.upscrape.com/execute \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"latitude":12.96902,"longitude":77.75395},"capability":"zepto.location"}'

Sample response

{
  "location_eta_in_minutes": 4,
  "location_eta_serviceable": true,
  "location_latitude": 12.96902,
  "location_longitude": 77.75395,
  "location_secondary_store_ids": [
    "0059ff6a-7eb0-477a-a7f5-69256f2c444b"
  ],
  "location_serviceable": true,
  "location_source_url": "https://bff-gateway.zepto.com/lms/api/v2/get_page?latitude=12.96902&longitude=77.75395&page_type=HOME&version=v2&show_new_eta_banner=true&page_size=3&enforce_platform_type=DESKTOP",
  "location_store_id": "b4dc8d65-ed2e-4142-81b6-373982b13500",
  "location_store_ids": [
    "b4dc8d65-ed2e-4142-81b6-373982b13500",
    "0059ff6a-7eb0-477a-a7f5-69256f2c444b"
  ]
}

Input

Field Type Required Description
latitude number required Latitude of the delivery location.
longitude number required Longitude of the delivery location.

Place Autocomplete

zepto.place.autocomplete

Find Zepto-supported address and place suggestions.

Request

curl -X POST https://data.upscrape.com/execute \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"limit":3,"query":"Indiranagar Bengaluru"},"capability":"zepto.place.autocomplete"}'

Sample response

{
  "count": 3,
  "query": "Indiranagar Bengaluru",
  "results": [
    {
      "description": "Indiranagar, Bengaluru, Karnataka, India",
      "main_text": "Indiranagar",
      "place_id": "ChIJkQN3GKQWrjsRNhBQJrhGD7U",
      "rank": 1,
      "secondary_text": "Bengaluru, Karnataka, India",
      "source_url": "https://bff-gateway.zepto.com/api/v1/maps/place/autocomplete/?place_name=Indiranagar+Bengaluru&session_token=fd238724-f981-4bed-9318-1225ca084feb",
      "types": "geocode political sublocality sublocality_level_1"
    },
    {
      "description": "Indiranagar, Chinmaya Mission Hospital Road, Binnamangala, Stage 1, Indiranagar, Bengaluru, Karnataka, India",
      "main_text": "Indiranagar",
      "place_id": "ChIJZbZd-qQWrjsRe7G5a9GUZ9U",
      "rank": 2,
      "secondary_text": "Chinmaya Mission Hospital Road, Binnamangala, Stage 1, Indiranagar, Bengaluru, Karnataka, India",
      "source_url": "https://bff-gateway.zepto.com/api/v1/maps/place/autocomplete/?place_name=Indiranagar+Bengaluru&session_token=fd238724-f981-4bed-9318-1225ca084feb",
      "types": "establishment point_of_interest subway_station transit_station"
    },
    {
      "description": "Indiranagar, 6th Block, Koramangala, Bengaluru, Karnataka, India",
      "main_text": "Indiranagar, 6th Block, Koramangala",
      "place_id": "ChIJXTaHq0UUrjsRXCmRVp-vx3I",
      "rank": 3,
      "secondary_text": "Bengaluru, Karnataka, India",
      "source_url": "https://bff-gateway.zepto.com/api/v1/maps/place/autocomplete/?place_name=Indiranagar+Bengaluru&session_token=fd238724-f981-4bed-9318-1225ca084feb",
      "types": "geocode political sublocality sublocality_level_3"
    }
  ],
  "source_url": "https://bff-gateway.zepto.com/api/v1/maps/place/autocomplete/?place_name=Indiranagar+Bengaluru&session_token=fd238724-f981-4bed-9318-1225ca084feb"
}

Input

Field Type Required Description
limit integer optional Maximum number of autocomplete suggestions to return.
query string required Partial place name or address to autocomplete.

Place Details

zepto.place.details

Resolve a Zepto place ID to coordinates and address components.

Request

curl -X POST https://data.upscrape.com/execute \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"place_id":"ChIJkQN3GKQWrjsRNhBQJrhGD7U"},"capability":"zepto.place.details"}'

Sample response

{
  "city": "Bengaluru",
  "country": "India",
  "country_code": "IN",
  "district": "Bengaluru Urban",
  "formatted_address": "Indiranagar, Bengaluru, Karnataka, India",
  "latitude": 12.9783692,
  "locality": "Indiranagar",
  "location_type": "APPROXIMATE",
  "longitude": 77.6408356,
  "place_id": "ChIJkQN3GKQWrjsRNhBQJrhGD7U",
  "source_url": "https://bff-gateway.zepto.com/api/v1/maps/place/details/?place_id=ChIJkQN3GKQWrjsRNhBQJrhGD7U&session_token=2ef912dc-b111-4590-9d01-96bc40bbb47e",
  "state": "Karnataka",
  "state_code": "KA",
  "types": "political sublocality sublocality_level_1"
}

Input

Field Type Required Description
place_id string required Google Maps place ID to look up.

Resolve Place

zepto.place.resolve

Resolve an address or place ID to coordinates, address details, and Zepto store serviceability.

Request

curl -X POST https://data.upscrape.com/execute \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"query":"Indiranagar Bengaluru"},"capability":"zepto.place.resolve"}'

Sample response

{
  "city": "Bengaluru",
  "country": "India",
  "country_code": "IN",
  "district": "Bengaluru Urban",
  "formatted_address": "Indiranagar, Bengaluru, Karnataka, India",
  "latitude": 12.9783692,
  "locality": "Indiranagar",
  "location_eta_in_minutes": 12,
  "location_eta_serviceable": true,
  "location_latitude": 12.9783692,
  "location_longitude": 77.6408356,
  "location_serviceable": true,
  "location_source_url": "https://bff-gateway.zepto.com/lms/api/v2/get_page?latitude=12.9783692&longitude=77.6408356&page_type=HOME&version=v2&show_new_eta_banner=true&page_size=3&enforce_platform_type=DESKTOP",
  "location_store_id": "5b1796e1-36c2-4ae9-83a0-c03c25cac05a",
  "location_store_ids": [
    "5b1796e1-36c2-4ae9-83a0-c03c25cac05a"
  ],
  "location_type": "APPROXIMATE",
  "longitude": 77.6408356,
  "place_id": "ChIJkQN3GKQWrjsRNhBQJrhGD7U",
  "query": "Indiranagar Bengaluru",
  "source_url": "https://bff-gateway.zepto.com/api/v1/maps/place/details/?place_id=ChIJkQN3GKQWrjsRNhBQJrhGD7U&session_token=aae244b8-7164-42ab-a0de-671480b892c2",
  "state": "Karnataka",
  "state_code": "KA",
  "types": "political sublocality sublocality_level_1"
}

Input

Field Type Required Description
place_id string optional Google Maps place ID to resolve directly.
query string optional Place name or address to search for.

Get Zepto product details from a product URL or product variant ID.

Request

curl -X POST https://data.upscrape.com/execute \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"url":"https://www.zepto.com/pn/tender-coconut/pvid/b9fbf0e7-de2d-4a89-ae74-b12a7c0ab236"},"capability":"zepto.product"}'

Sample response

{
  "product": {
    "available_quantity": 4,
    "brand": "Fruits",
    "brand_id": "d396c794-de67-421c-9af1-dc36df2c2471",
    "country_of_origin": "India",
    "description": "The water of a tender coconut is nothing, but the endosperm of the coconut and it is one of the most nutritious beverages available to us. This nutritious water is what matures and forms the flesh of the coconut over time. Tender coconut water is the liquid and not the milk of the coconut.",
    "discount_percent": 49,
    "discounted_selling_price_paise": 8100,
    "formatted_pack_size": "1 pc",
    "image_path": "cms/product_variant/c3a49c51-d6bd-4298-8af4-092a10bcd4c3.jpeg",
    "image_url": "https://cdn.zeptonow.com/production/tr:w-600,ar-1000-1000,pr-true,f-auto,q-80/cms/product_variant/c3a49c51-d6bd-4298-8af4-092a10bcd4c3.jpeg",
    "image_urls": [
      "https://cdn.zeptonow.com/production/tr:w-600,ar-1000-1000,pr-true,f-auto,q-80/cms/product_variant/c3a49c51-d6bd-4298-8af4-092a10bcd4c3.jpeg",
      "https://cdn.zeptonow.com/production/tr:w-600,ar-1000-1000,pr-true,f-auto,q-80/cms/product_variant/038d5d99-2081-46d2-89aa-14f34d3e77bb.jpeg",
      "https://cdn.zeptonow.com/production/tr:w-600,ar-1000-1000,pr-true,f-auto,q-80/cms/product_variant/1fbea0e4-38a2-45e1-aa69-f5a5c5f6b7a4.jpeg"
    ],
    "is_active": true,
    "l3_category_id": "464cd640-d308-418e-9ad2-37e3973e511d",
    "max_allowed_quantity": 6,
    "mrp_paise": 16100,
    "name": "Tender Coconut",
    "pack_size": 1,
    "product_id": "29c55962-65c9-4a04-87fc-406edce13b27",
    "product_url": "https://www.zepto.com/pn/tender-coconut/pvid/b9fbf0e7-de2d-4a89-ae74-b12a7c0ab236",
    "product_variant_id": "b9fbf0e7-de2d-4a89-ae74-b12a7c0ab236",
    "quantity": 4,
    "shelf_life_in_hours": "3 days",
    "source_url": "https://www.zepto.com/pn/product/pvid/b9fbf0e7-de2d-4a89-ae74-b12a7c0ab236",
    "store_product_id": "ff391715-6e8b-5a21-9caa-6cd7df7ccc02",
    "unit_of_measure": "PIECE",
    "weight_in_gms": 58
  }
}

Input

Field Type Required Description
latitude number optional Latitude for location-based store resolution.
longitude number optional Longitude for location-based store resolution.
pvid string optional Zepto product variant ID.
store_id string optional Zepto store ID. Defaults to the public Bangalore sample store.
url string optional Direct URL to a Zepto product page.

Search Zepto products by keyword.

Request

curl -X POST https://data.upscrape.com/execute \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"limit":5,"query":"rice"},"capability":"zepto.search"}'

Input

Field Type Required Description
latitude number optional Latitude for location-based store resolution.
limit integer optional Maximum number of products to return per page.
longitude number optional Longitude for location-based store resolution.
max_pages integer optional Maximum number of pages to fetch.
page_number integer optional Zero-based page number to start from.
query string required Search query string.
store_id string optional Zepto store ID. Defaults to the public Bangalore sample store.

Search Filters

zepto.search.filters

Get Zepto filter metadata for a search query.

Request

curl -X POST https://data.upscrape.com/execute \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"latitude":12.96902,"longitude":77.75395,"query":"rice"},"capability":"zepto.search.filters"}'

Input

Field Type Required Description
latitude number optional Latitude for location-based store resolution.
longitude number optional Longitude for location-based store resolution.
query string required Search query to get filters for.
store_id string optional Zepto store ID. Defaults to the public Bangalore sample store.

Run Zepto in under a minute

Sign in, create an API key, and try any capability in the playground before you write code.

Get an API key