<!--
{
  "availability" : [
    "MapKit JS: 5.46.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "MapKitJS",
  "identifier" : "/documentation/MapKitJS/Directions/eta",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "MapKit JS"
    ],
    "preciseIdentifier" : "instm/mapkit.Directions/eta"
  },
  "title" : "eta(request)"
}
-->

# eta(request)

Retrieves estimated arrival times to up to 10 destinations from a single starting point.

```
eta(request: EtaRequestOptions): Promise<EtaResponse>;
```

## Parameters

`request`

An [`EtaRequestOptions`](/documentation/MapKitJS/EtaRequestOptions) object that specifies details for the server to provide estimated arrival times at one or more destinations.

## Return Value

A promise that resolves with an [`EtaResponse`](/documentation/MapKitJS/EtaResponse) on success, or rejects with an `Error` on failure.

## Discussion

To get a set of estimated arrival times, provide an [`EtaRequestOptions`](/documentation/MapKitJS/EtaRequestOptions) object when you call the [`eta(request)`](/documentation/MapKitJS/Directions/eta) method. You can provide up to 10 destinations. The server returns an error if you request more than 10 destinations in a single request.

Pass an `AbortSignal` from an `AbortController` to the [`signal`](/documentation/MapKitJS/EtaRequestOptions/signal) option to allow the controller to cancel a pending request. When the controller aborts, the promise it returns rejects with a `DOMException` whose `name` is `"AbortError"`.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)