↑ ↓ to move ↵ to open
Zepto API reference

Zepto Resolve Location

zepto.location

Send a six-digit pincode or coordinates to find the serving store and check delivery coverage at the resolved point.

At a glance

Endpoint ID
zepto.location
Price
2 credits per call; failed calls are free
Runs for up to
180 seconds
Request
POST /execute
Run an endpoint
MCP tool when pinned
zepto__location
Pin tools
OpenAPI
openapi.json
Download

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.location",  "input": {    "latitude": 12.96902,    "longitude": 77.75395  }}'

Input

  • Provide either pincode or both latitude and longitude. Do not combine the two explicit location modes. Pincode must be a six-digit Indian postal code and is resolved to a matching delivery point before Zepto serviceability is checked.
FieldTypeRequiredWhat it doesExample
latitude number one of Latitude of the delivery location. From -90 to 90. 12.96902
longitude number one of Longitude of the delivery location. From -180 to 180. 77.75395
pincode string one of Six-digit Indian pincode. When provided, Upscrape resolves coordinates and the Zepto delivery store automatically.

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:

results[0].data
{  "captured_at": "2026-10-04T11:56:47.460362312Z",  "location_eta_in_minutes": 5,  "location_eta_serviceable": true,  "location_latitude": 12.96902,  "location_longitude": 77.75395,  "location_serviceable": true,  "location_store_id": "b4dc8d65-ed2e-4142-81b6-373982b13500",  "location": {    "eta_minutes": 5,    "eta_serviceable": true,    "latitude": 12.96902,    "longitude": 77.75395,    "serviceable": true,    "store_id": "b4dc8d65-ed2e-4142-81b6-373982b13500",    "secondary_store_ids": [      "0059ff6a-7eb0-477a-a7f5-69256f2c444b"    ],    "store_ids": [      "b4dc8d65-ed2e-4142-81b6-373982b13500",      "0059ff6a-7eb0-477a-a7f5-69256f2c444b"    ]  },  "location_secondary_store_ids": [    "0059ff6a-7eb0-477a-a7f5-69256f2c444b"  ],  "location_store_ids": [    "b4dc8d65-ed2e-4142-81b6-373982b13500",    "0059ff6a-7eb0-477a-a7f5-69256f2c444b"  ]}

Fields

FieldTypeWhat it isExample
location object The location the results were read for. 8 fields
location.eta_minutes integer Zepto's delivery estimate in minutes, when it gives one. 5
location.eta_serviceable boolean Whether Zepto delivers to this location. true
location.latitude number Latitude of the resolved or requested delivery point. 12.97
location.longitude number Longitude of the resolved or requested delivery point. 77.75
location.secondary_store_ids array Backup stores serving the location. 0059ff6a-7eb0-477a-a7f5-69256f2c444b
location.serviceable boolean The endpoint’s serviceability signal; location coverage and delivery-estimate availability are separate checks. true
location.store_id string Store attached to this product or delivery context. b4dc8d65-ed2e-4142-81b6-373982b13500
location.store_ids array Zepto stores serving the location. b4dc8d65-ed2e-4142-81b6-373982b13500, 0059ff6a-7eb0-477a-a7f5-6…
captured_at string When this result was collected. 2026-10-04T11:56:47.460362312Z
location_eta_in_minutes integer Estimated delivery time at the location, in minutes. 5
location_eta_serviceable boolean Whether Zepto delivers to the location. true
location_latitude number Latitude of the location. 12.97
location_longitude number Longitude of the location. 77.75
location_secondary_store_ids array Backup stores serving the location. 0059ff6a-7eb0-477a-a7f5-69256f2c444b
location_serviceable boolean Whether the resolved location is served by Zepto. true
location_store_id string The serving store found by the location lookup or the access check. b4dc8d65-ed2e-4142-81b6-373982b13500
location_store_ids array Zepto stores serving the location. b4dc8d65-ed2e-4142-81b6-373982b13500, 0059ff6a-7eb0-477a-a7f5-6…

What to know

  • The serviceable flag and the returned store IDs describe delivery at that point. A delivery estimate is for that point only; a missing estimate stays unknown and should not be borrowed from another store.
  • Keep the check time with the resolved location when you use it to read catalogue, price or availability data.

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

Something missing or unclear? Ask the team that builds the Zepto endpoints.