Skip to documentation
Browse documentation

Summarize search facets

Summarize brand, category, price, discount and availability facets from a bounded Zepto search sample.

Capability ID zepto.search.facets
Maximum runtime 180 seconds
View raw

POST /execute Shared execution endpoint

Input parameters

Provide query. limit accepts 1 to 100 search products to analyze and max_pages accepts 1 to 20 pages.

For location-specific facets, provide store_id, a six-digit pincode, or both latitude and longitude. Do not combine pincode with coordinates.

latitude number optional

Latitude for location-based store resolution. From -90 to 90.

limit integer optional

Number of search results to analyze. Facet counts describe this sample, not the full result set. From 1 to 100. Default: `100`.

Example 50
longitude number optional

Longitude for location-based store resolution. From -180 to 180.

max_pages integer optional

Maximum number of pages to fetch. From 1 to 20. Default: `10`.

pincode string optional

Six-digit Indian pincode. When provided, Upscrape resolves coordinates and the Zepto delivery store automatically.

Example 560067
query string required

Search query string.

Example rice
store_id string optional

Zepto store ID. Defaults to the public Bangalore sample store.

Response

Successful output is returned in results[0].data.

products_analyzed is the sample size. has_more means additional search products may exist beyond the sample.

Brands, categories, subcategories, price_ranges, discount_ranges and availability counts describe only the analyzed products. price_unknown and discount_unknown preserve missing information rather than folding it into zero.

This is a derived sample summary, not native Zepto filter metadata and not a global distribution of all matching products.

Illustrative sample The example response is shown in the response panel.

Illustrative output fields

Values illustrate one response. Read the guidance above for missing values and limits; fields can vary with the requested operation and the data available.

PathObserved typeExample
availability object 3 fields
availability.in_stock integer 50
availability.out_of_stock integer 0
availability.unknown integer 0
brands array 3 items
brands array 3 items
captured_at string 2026-09-25T13:53:32.763725924Z
categories array 2 items
categories array 2 items
discount_ranges array 3 items
discount_ranges array 3 items
has_more boolean true
location object 9 fields
location.eta_minutes integer 21
location.eta_serviceable boolean true
location.latitude number 12.9967012
location.longitude number 77.758197
location.pincode string 560067
location.secondary_store_ids array 1 items
location.serviceable boolean true
location.store_id string e58fff62-7695-44c2-aba0-6bc96074bc64
location.store_ids array 2 items
location_eta_in_minutes integer 21
location_eta_serviceable boolean true
location_latitude number 12.9967012
location_longitude number 77.758197
location_secondary_store_ids array 1 items
location_secondary_store_ids array 1 items
location_serviceable boolean true
location_store_id string e58fff62-7695-44c2-aba0-6bc96074bc64
location_store_ids array 2 items
location_store_ids array 2 items
price_max_paise integer 261200
price_min_paise integer 4700
price_ranges array 3 items
price_ranges array 3 items
products_analyzed integer 50
query string rice
subcategories array 1 items
subcategories array 1 items

Execution behavior

A 200 response completed inline. A 202 response was queued; poll GET /jobs/:id until the job reaches completed or failed.

Overview, pricing and sample data for every endpoint: Zepto API