Skip to documentation
Browse documentation

Search suggestions

Read Instamart autocomplete suggestions for a query at a store or pincode.

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

POST /execute Shared execution endpoint

Input parameters

Provide a nonblank query of at most 200 characters and either store_id or pincode. Coordinates alone are not accepted by this endpoint.

pincode string optional

Postal code (PIN) that sets the delivery location.

primary_store_id string optional

Primary store identifier.

Example 1396284
query string required

Search query.

Example milk
store_id string optional

Store identifier.

Example 1396284
tracking_id string optional

Tracking identifier.

Response

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

Suggestions are autocomplete choices, not a product-stock response. Use products.search to collect matching product packs and product.get to confirm availability.

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
suggestions array 3 items
suggestions 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.

Overview, pricing and sample data for every endpoint: Swiggy Instamart API