# Get ETA

Get Blinkit delivery estimates by merchant and delivery type for a pincode, place name or coordinates.

- Platform: [Blinkit](https://docs.upscrape.com/docs/platforms/blinkit)
- Capability ID: `blinkit.eta`
- Cost: 1 credit per request
- Maximum runtime: 30 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": "560102"
  },
  "capability": "blinkit.eta"
}'
```

## Input

Choose exactly one location: a six-digit pincode, a place name in location_query, or both latitude and longitude. Do not combine location modes. A pincode represents one delivery point, not every address in the area.

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `latitude` | `number` | No | Latitude of the delivery address. From -90 to 90. |
| `location_query` | `string` | No | Free-text Indian location resolved before fetching location-dependent Blinkit data. |
| `longitude` | `number` | No | Longitude of the delivery address. From -180 to 180. |
| `pincode` | `string` | No | Six-digit Indian pincode; surrounding whitespace is allowed and trimmed. Do not combine with coordinates. |

### Example input

```json
{
  "pincode": "560102"
}
```

## Response

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

Delivery estimates may be null when Blinkit provides no estimate. An estimate is an observation for the returned merchant and delivery type, not a guaranteed checkout time.

### Illustrative sample output

This example shows one response. Values and optional fields vary with the data available.

```json
{
  "entries": [
    {
      "eta_minutes": 10,
      "merchant_id": "35940",
      "type": "instant"
    },
    {
      "eta_minutes": 8,
      "merchant_id": "40589",
      "type": "express"
    },
    {
      "eta_minutes": 17,
      "merchant_id": "42814",
      "type": "longtail"
    }
  ],
  "eta_in_minutes": 8,
  "title": "Delivery in 8 minutes"
}
```
### Illustrative output fields

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

| Path | Observed type | Example |
| --- | --- | --- |
| `entries` | `array` | 3 items |
| `entries` | `array` | 3 items |
| `eta_in_minutes` | `integer` | 8 |
| `title` | `string` | Delivery in 8 minutes |

## 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)
