Zepto Place Details
zepto.place.details
Send a suggested place ID to get its coordinates and locality details for a delivery-area check.
At a glance
- Endpoint ID
zepto.place.details- Price
- 5 credits per call; failed calls are free
- Runs for up to
- 180 seconds
Request
Send the endpoint ID as capability and its fields as input. Set UPSCRAPE_API_KEY to your key first.
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": "zepto.place.details", "input": { "place_id": "ChIJkQN3GKQWrjsRNhBQJrhGD7U" }}'
import jsonimport osimport requestspayload = json.loads(r'''{ "capability": "zepto.place.details", "input": { "place_id": "ChIJkQN3GKQWrjsRNhBQJrhGD7U" }}''')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": "zepto.place.details", "input": { "place_id": "ChIJkQN3GKQWrjsRNhBQJrhGD7U" }}),});if (!response.ok) { throw new Error(`Upscrape request failed: ${response.status}`);}console.log(JSON.stringify(await response.json(), null, 2));
Input
- Send a place ID from the place search. This endpoint returns the place's details; it does not tell you whether Zepto delivers there.
| Field | Type | Required | What it does | Example |
|---|---|---|---|---|
place_id |
string | yes | Google Maps place ID to look up. | ChIJkQN3GKQWrjsRNhBQJrhGD7U |
Response
A finished call answers with HTTP 200; the data is in results[0].data, and billing.credits_charged is what it cost. A call still running after the wait answers 202: see jobs and results.
This is results[0].data from a real run:
{ "city": "Bengaluru", "captured_at": "2026-10-04T12:03:01.579112751Z", "country": "India", "country_code": "IN", "district": "Bengaluru Urban", "formatted_address": "Indiranagar, Bengaluru, Karnataka, India", "latitude": 12.9783692, "locality": "Indiranagar", "location_type": "APPROXIMATE", "longitude": 77.6408356, "state": "Karnataka", "state_code": "KA", "types": "political sublocality sublocality_level_1"}
Fields
| Field | Type | What it is | Example |
|---|---|---|---|
formatted_address |
string | Public locality/address label for the resolved place. | Indiranagar, Bengaluru, Karnataka, India |
latitude |
number | Latitude of the resolved or requested delivery point. | 12.98 |
longitude |
number | Longitude of the resolved or requested delivery point. | 77.64 |
location_type |
string | Geometry precision label supplied with the place result. | APPROXIMATE |
city |
string | City of the place. | Bengaluru |
captured_at |
string | When this result was collected. | 2026-10-04T12:03:01.579112751Z |
country |
string | Country of the place. | India |
country_code |
string | Country code, such as IN. | IN |
district |
string | District of the place. | Bengaluru Urban |
locality |
string | Locality of the place, such as Indiranagar. | Indiranagar |
state |
string | State of the place. | Karnataka |
state_code |
string | State code, such as KA. | KA |
types |
string | The kinds of place, such as locality. | political sublocality sublocality_level_1 |
What to know
- The response can include formatted address, coordinates, locality, district, city, state, country and postal code when available.
- A place without valid coordinates is not returned as a found location. Use place resolve or location when you need Zepto's delivery details.
If a call fails
A failed call costs nothing. The response carries an error.code you can branch on; Errors and retries lists every code and which ones to retry.
Other Zepto endpoints
zepto.adsAdszepto.catalogStore catalogzepto.catalog.multi_locationMulti-location catalogzepto.categoriesCategorieszepto.category.productsCategory productszepto.etaETAzepto.healthHealth checkzepto.locationResolve locationzepto.place.autocompletePlace autocompletezepto.place.resolveResolve placezepto.productProductzepto.searchProducts searchzepto.search.facetsSummarize search facetszepto.search.multi_locationMulti-location search
Something missing or unclear? Ask the team that builds the Zepto endpoints.