Skip to documentation
Browse documentation

Summarize search facets

Derive brand, category, price, discount and stock facet counts from Zepto search results for a keyword and delivery location.

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

POST /execute Shared execution endpoint

Input parameters

latitude number optional

Latitude for location-based store resolution.

limit integer optional

Number of search results to analyze. Facet counts describe this sample, not the full result set.

Example 50
longitude number optional

Longitude for location-based store resolution.

max_pages integer optional

Maximum number of pages to fetch.

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. Raw platform output is intentionally open-ended and may evolve with the upstream source.

Illustrative sample The full redacted fixture is shown in the response panel.

Illustrative output fields

Derived from the sample above for orientation only. These observed fields are not a fixed response schema.

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.