Swiggy Instamart Suggest Locations API
Search by area, city or pincode and get place IDs you can resolve to coordinates.
- 1 credit per call
- Failed calls are free
- Updated
- swiggy-instamart.location.suggest
{ "places": [ { "description": "Bengaluru, Karnataka 560034, India", "place_id": "ChIJ9WX-XWcUrjsRcBEghxBKU1o" }, { "description": "560034, 2nd Cross Road, Koramangala 3 Block, Koramangala, Bengaluru, Karnataka, India", "place_id": "ChIJjZnUL1kUrjsRouLcBOiEhJU" } ]}
| # | Place | Place ID |
|---|---|---|
| 1 | Bengaluru, Karnataka 560034, India | ChIJ9WX-XWcUrjsRcBEghxBKU1o |
| 2 | 560034, 2nd Cross Road, Koramangala 3 Block, Koramangala, Benga… | ChIJjZnUL1kUrjsRouLcBOiEhJU |
| 3 | 560034, Agara Lake Trail, Agara Village, 1st Sector, HSR Layout… | ChIJ70jYf4gUrjsRX259SDZrOBs |
| 4 | 560034, 5th Cross Road, KHB Colony, 6th Block, Koramangala, Ben… | ChIJya8GbUUUrjsRM7948vbrL_M |
| 5 | 560034, Sidharata Colony, Santhosapuram, Koramangala 2nd Block,… | ChIJ8cWlGVgUrjsRiHwM6Va0hWk |
What you send
The input
object of the request, with every field the endpoint accepts.
- Send a place name of up to 200 characters. Use the returned place ID with location resolve.
| Field | Type | Required | What it does | Example |
|---|---|---|---|---|
| query | string | yes | Search query. | 560034 |
Fields it returns
What each record in the response holds, with the values from the sample above.
| Field | Type | What it is | Example |
|---|---|---|---|
| places[].description | string | Location suggestion description. | Bengaluru, Karnataka 560034, India |
| places[].place_id | string | Place identifier to pass to location.resolve. | ChIJ9WX-XWcUrjsRcBEghxBKU1o |
| places | array | Places matching what you typed. | 5 records |
What this endpoint covers
- A suggestion is a candidate location, not proof that Instamart delivers there. Resolve it, then check location.serviceability at its coordinates.
Call it from your code, or ask your agent
Set UPSCRAPE_API_KEY to your key and copy a working request.
curl --request POST \ --url https://data.upscrape.com/execute \ --header "Authorization: Bearer $UPSCRAPE_API_KEY" \ --header "Content-Type: application/json" \ --header "Prefer: wait=30" \ --data '{ "capability": "swiggy-instamart.location.suggest", "input": { "query": "560034" }}'
import jsonimport osimport requestspayload = json.loads(r'''{ "capability": "swiggy-instamart.location.suggest", "input": { "query": "560034" }}''')response = requests.post( "https://data.upscrape.com/execute", headers={ "Authorization": f"Bearer {os.environ['UPSCRAPE_API_KEY']}", "Content-Type": "application/json", "Prefer": "wait=30", }, json=payload,)response.raise_for_status()print(json.dumps(response.json(), indent=2))
const response = await fetch("https://data.upscrape.com/execute", { method: "POST", headers: { "Authorization": `Bearer ${process.env.UPSCRAPE_API_KEY}`, "Content-Type": "application/json", "Prefer": "wait=30", }, body: JSON.stringify({ "capability": "swiggy-instamart.location.suggest", "input": { "query": "560034" }}),});if (!response.ok) { throw new Error(`Upscrape request failed: ${response.status}`);}console.log(JSON.stringify(await response.json(), null, 2));
https://data.upscrape.com/mcp
With Upscrape, get the Swiggy Instamart suggest locations for query "560034". Tell me what it costs before you run it, then show the results as a table.
More from the Swiggy Instamart API
- Swiggy Instamart Products Search API1 credit
- Swiggy Instamart Product API1 credit
- Swiggy Instamart Categories API1 credit
- Swiggy Instamart Category Products API1 credit
- Swiggy Instamart Home Products API1 credit
- Swiggy Instamart Suggestions Search API1 credit
- Swiggy Instamart Resolve Location API1 credit
- Swiggy Instamart Resolve Serviceability API1 credit
- Swiggy Instamart Delivery ETA API1 credit
Swiggy Instamart Suggest Locations API FAQ
The short answers. The docs have the long ones.
How much does the Swiggy Instamart Suggest Locations API cost?
1 credit per successful call, shown before it runs. You buy credits once, and paid credits never expire.
What do I send?
Send query. The input fields below list every option with its type and limits.
Do I need a Swiggy Instamart login?
No. It reads public Swiggy Instamart data; nothing runs on your account.
Can my AI agent call it?
Yes, over MCP: the agent finds swiggy-instamart.location.suggest, checks its price and runs it with the same credits as the REST API.
Your first Swiggy Instamart call is free.
Up to 100 free credits to start, no card needed.