# Get ETA

Resolve Zepto serviceability, serving store, and delivery ETA for an Indian pincode or coordinates.

- Platform: [Zepto](https://docs.upscrape.com/docs/platforms/zepto)
- Capability ID: `zepto.eta`
- Cost: 1 credit per request
- Maximum runtime: 180 seconds
- Execute endpoint: `POST https://data.upscrape.com/execute`

## Request

Use the exact public capability ID in the shared execute envelope.

```bash
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 '{
  "input": {
    "pincode": "560067"
  },
  "capability": "zepto.eta"
}'
```

## Input

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `latitude` | `number` | No | Latitude in decimal degrees. From -90 to 90. |
| `longitude` | `number` | No | Longitude in decimal degrees. From -180 to 180. |
| `pincode` | `string` | No | Six-digit Indian pincode. When provided, Upscrape resolves coordinates and the Zepto delivery store automatically. |

### Example input

```json
{
  "pincode": "560067"
}
```

## Response

Successful output is returned in `results[0].data`. Raw platform output is intentionally open-ended and may evolve with the upstream source.

### Illustrative sample output

This redacted fixture is an example, not a fixed response schema.

```json
{
  "captured_at": "2026-09-24T09:56:08.171749229Z",
  "eta_minutes": 10,
  "location": {
    "eta_minutes": 10,
    "eta_serviceable": true,
    "latitude": 12.9967012,
    "longitude": 77.758197,
    "pincode": "560067",
    "secondary_store_ids": [
      "0059ff6a-7eb0-477a-a7f5-69256f2c444b"
    ],
    "serviceable": true,
    "store_id": "e58fff62-7695-44c2-aba0-6bc96074bc64",
    "store_ids": [
      "e58fff62-7695-44c2-aba0-6bc96074bc64",
      "0059ff6a-7eb0-477a-a7f5-69256f2c444b"
    ]
  },
  "serviceable": true,
  "store_id": "e58fff62-7695-44c2-aba0-6bc96074bc64"
}
```
### Illustrative output fields

Derived from the sample above for orientation only. These fields are not a fixed response schema.

| Path | Observed type | Example |
| --- | --- | --- |
| `captured_at` | `string` | 2026-09-24T09:56:08.171749229Z |
| `eta_minutes` | `integer` | 10 |
| `location` | `object` | 9 fields |
| `location.eta_minutes` | `integer` | 10 |
| `location.eta_serviceable` | `boolean` | true |
| `location.latitude` | `number` | 12.9967012 |
| `location.longitude` | `number` | 77.758197 |
| `location.pincode` | `string` | 560067 |
| `location.secondary_store_ids` | `array` | 1 items |
| `location.serviceable` | `boolean` | true |
| `location.store_id` | `string` | e58fff62-7695-44c2-aba0-6bc96074bc64 |
| `location.store_ids` | `array` | 2 items |
| `serviceable` | `boolean` | true |
| `store_id` | `string` | e58fff62-7695-44c2-aba0-6bc96074bc64 |

## Execution behavior

A `200` response completed inline. A `202` response was queued; poll `GET /jobs/{id}` until the job reaches `completed` or `failed`. Use an `Idempotency-Key` when retrying must not create a duplicate logical job.

## Related documentation

- [Authentication](https://docs.upscrape.com/docs/api/authentication)
- [Jobs and results](https://docs.upscrape.com/docs/api/jobs)
- [Errors and retries](https://docs.upscrape.com/docs/api/errors)
- [Idempotency](https://docs.upscrape.com/docs/api/idempotency)
