Skip to documentation
Browse documentation

Search products

Search a store's public Instamart products and follow the returned cursor.

Capability ID swiggy-instamart.products.search
Maximum runtime 120 seconds
View raw

POST /execute Shared execution endpoint

Input parameters

offset string optional

Opaque next_offset returned by the previous page; omit for the first page

pincode string optional

6-digit Indian PIN code; the store serving it is resolved automatically (alternative to store_id)

primary_store_id string optional

Primary store ID; defaults to store_id

Example 1392421
query string required

Product search text

Example milk
secondary_store_id string optional

Secondary store ID when the location has one

store_id string optional

Instamart store ID (alternative to pincode; takes precedence when both are given)

Example 1392421

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
next_offset string 1:32
products array 3 items
products array 3 items

Execution behavior

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