# Programming with KittenBlock: KMB ETA

KMB’s Estimated Time of Arrival for bus routes can be obtained via KittenBlock.(Internet Connection Required)

![](https://kittenbothk-eng.readthedocs.io/en/latest/_images/kbbanner.png)

### KMB ETA API Blocks

```
KMB's ETA API needs to deal with a lot of data, so it may take upwards of a minute to process the data depending on the length of the route.
```

![](https://kittenbothk-eng.readthedocs.io/en/latest/_images/kmb_en.png)

#### Sample Program: Getting ETA of Next Bus

```
KMB's ETA API needs to deal with a lot of data, so it may take upwards of a minute to process the data depending on the length of the route.
```

![](https://kittenbothk-eng.readthedocs.io/en/latest/_images/kmb_code1en.png)
