# How can I check user internet speed

**URL:** <https://community.thunkable.com/t/how-can-i-check-user-internet-speed/1560190>\
**Category:** Questions about Thunkable X\
**Created:** [October 13, 2021, 4:39pm UTC](https://community.thunkable.com/t/how-can-i-check-user-internet-speed/1560190 "2021-10-13T16:39:02Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![namitnagar](https://avatars.discourse-cdn.com/v4/letter/n/a183cd/32.png) [@namitnagar](https://community.thunkable.com/u/namitnagar)\
**Post date:** [October 13, 2021, 4:39pm UTC](https://community.thunkable.com/t/how-can-i-check-user-internet-speed/1560190/1 "2021-10-13T16:39:02Z")

</div>

How can I check user internet speed

@muneer @domhnallohanlon @jane

---

<div class="post-metadata">

**Author:** ![vishruth-ram](https://avatars.discourse-cdn.com/v4/letter/v/82dd89/32.png) [@vishruth-ram](https://community.thunkable.com/u/vishruth-ram)\
**Post date:** [October 14, 2021, 3:15am UTC](https://community.thunkable.com/t/how-can-i-check-user-internet-speed/1560190/2 "2021-10-14T03:15:49Z")

</div>

you could keep a web viewer for **[fast.com](http://fast.com)** or **[speedtest.net](http://speedtest.net)**.

---

<div class="post-metadata">

**Author:** ![namitnagar](https://avatars.discourse-cdn.com/v4/letter/n/a183cd/32.png) [@namitnagar](https://community.thunkable.com/u/namitnagar)\
**Post date:** [October 14, 2021, 4:46am UTC](https://community.thunkable.com/t/how-can-i-check-user-internet-speed/1560190/3 "2021-10-14T04:46:31Z")

</div>

How can I get that data like  
If net speed is

Less then 25/30 Mbps you can’t access the app

---

<div class="post-metadata">

**Author:** ![Paulie\_Coder](https://avatars.discourse-cdn.com/v4/letter/p/f14d63/32.png) [@Paulie\_Coder](https://community.thunkable.com/u/Paulie_Coder)\
**Post date:** [October 14, 2021, 5:54am UTC](https://community.thunkable.com/t/how-can-i-check-user-internet-speed/1560190/4 "2021-10-14T05:54:40Z")

</div>

@namitnagar try to use internet Speed API

---

<div class="post-metadata">

**Author:** ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)\
**Post date:** [October 20, 2021, 2:30pm UTC](https://community.thunkable.com/t/how-can-i-check-user-internet-speed/1560190/5 "2021-10-20T14:30:56Z")

</div>

Dear @namitnagar

You can write a small JavaScript to show the connection type (Wifi, 4G, 5G, …) and also to check the download speed or RTT and decide what you do.

See this example from W3S:

```auto
var connection = navigator.connection || navigator.mozConnection || navigator.webkitConnection;
var conType = connection.type;

console.log("Your connection type: " + conType);

```

Returns the type of connection a device is using to communicate with the network. It will be one of the following values:

- bluetooth
- cellular
- ethernet
- none
- wifi
- wimax
- other
- unknown

You can also use `navigator.connection.effectiveType` to get

- slow-2g
- 2g
- 3g
- 4g

Hope this helps

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [November 8, 2024, 1:14pm UTC](https://community.thunkable.com/t/how-can-i-check-user-internet-speed/1560190/6 "2024-11-08T13:14:47Z")

</div>


