Skip to documentation
Browse documentation

Resolve location

Resolve a place_id from location suggestions into coordinates and readable location text.

Capability ID swiggy-instamart.location.resolve
Maximum runtime 120 seconds
View raw

POST /execute Shared execution endpoint

Input parameters

Provide place_id returned by location.suggest, up to 512 characters. A pincode or place name is not a substitute for place_id.

place_id string required

Place ID returned by instamart.location.suggest

Example ChIJLfyY2E4UrjsRVq4AjI7zgRY

Response

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

The returned coordinates identify the resolved place. Check location.serviceability or eta to learn whether that point is served.

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
latitude number 12.9352403
longitude number 77.624532
place_id string ChIJLfyY2E4UrjsRVq4AjI7zgRY
subtitle string Koramangala, Bengaluru, Karnataka, India
title string Koramangala

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