# Bubble Data API through WebSocket

**URL:** <https://forum.bubble.io/t/bubble-data-api-through-websocket/57078>\
**Category:** APIs\
**Created:** [May 19, 2019, 1:17am UTC](https://forum.bubble.io/t/bubble-data-api-through-websocket/57078 "2019-05-19T01:17:12Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![gustavopch](https://avatars.discourse-cdn.com/v4/letter/g/6de8d8/32.png) [@gustavopch](https://forum.bubble.io/u/gustavopch)\
**Post date:** [May 19, 2019, 1:17am UTC](https://forum.bubble.io/t/bubble-data-api-through-websocket/57078/1 "2019-05-19T01:17:12Z")

</div>

I know I can use the Data API to request data, but is there any way to get the data in realtime through any kind of web socket?

---

<div class="post-metadata">

**Author:** ![csblack](https://avatars.discourse-cdn.com/v4/letter/c/7feea3/32.png) [@csblack](https://forum.bubble.io/u/csblack)\
**Post date:** [May 19, 2019, 5:16am UTC](https://forum.bubble.io/t/bubble-data-api-through-websocket/57078/2 "2019-05-19T05:16:36Z")

</div>

Websockets and GraphQL would be two very interesting additions to bubble.

---

<div class="post-metadata">

**Author:** ![MrMaker](https://avatars.discourse-cdn.com/v4/letter/m/97f17d/32.png) [@MrMaker](https://forum.bubble.io/u/MrMaker)\
**Post date:** [May 19, 2019, 5:22am UTC](https://forum.bubble.io/t/bubble-data-api-through-websocket/57078/3 "2019-05-19T05:22:01Z")

</div>

++ any developer want to do this plugin on sponsorship basis?

---

<div class="post-metadata">

**Author:** ![gustavopch](https://avatars.discourse-cdn.com/v4/letter/g/6de8d8/32.png) [@gustavopch](https://forum.bubble.io/u/gustavopch)\
**Post date:** [May 19, 2019, 12:48pm UTC](https://forum.bubble.io/t/bubble-data-api-through-websocket/57078/4 "2019-05-19T12:48:53Z")

</div>

Not possible. It depends on the Bubble internal code to expose us a WebSocket server. Use case is to be able to interact with Bubble DB in real-time from applications that are not built with Bubble. Basically the Data API over WebSocket instead of HTTP only.

---

<div class="post-metadata">

**Author:** ![gustavopch](https://avatars.discourse-cdn.com/v4/letter/g/6de8d8/32.png) [@gustavopch](https://forum.bubble.io/u/gustavopch)\
**Post date:** [May 19, 2019, 3:01pm UTC](https://forum.bubble.io/t/bubble-data-api-through-websocket/57078/5 "2019-05-19T15:01:03Z")

</div>

Agreed. Bubble using GraphQL would be a dream.

From Bubble apps perspective, they would have faster and more powerful “Search for Things” because a bunch of stuff could be returned from a single request to Bubble servers. From external apps perspective, they would be able to use Subscriptions to work with real-time data. 😍

---

<div class="post-metadata">

**Author:** ![MrMaker](https://avatars.discourse-cdn.com/v4/letter/m/97f17d/32.png) [@MrMaker](https://forum.bubble.io/u/MrMaker)\
**Post date:** [May 20, 2019, 8:06am UTC](https://forum.bubble.io/t/bubble-data-api-through-websocket/57078/6 "2019-05-20T08:06:50Z")

</div>

@emmanuel

---

<div class="post-metadata">

**Author:** ![contato](https://avatars.discourse-cdn.com/v4/letter/c/a6a055/32.png) [@contato](https://forum.bubble.io/u/contato)\
**Post date:** [June 27, 2020, 1:58pm UTC](https://forum.bubble.io/t/bubble-data-api-through-websocket/57078/7 "2020-06-27T13:58:10Z")

</div>

Does anyone have some news about this? Is GraphQL or WebSocket a reality already?

I could use it to improve the payment system of my app, letting the React Native deal with the Apple’s payment process instead of Bubble over a WebView layer.

---

<div class="post-metadata">

**Author:** ![winsocial](https://avatars.discourse-cdn.com/v4/letter/w/bb73d2/32.png) [@winsocial](https://forum.bubble.io/u/winsocial)\
**Post date:** [September 29, 2020, 11:02pm UTC](https://forum.bubble.io/t/bubble-data-api-through-websocket/57078/8 "2020-09-29T23:02:20Z")

</div>

Waiting for this too!!

---

<div class="post-metadata">

**Author:** ![alirezaroyaie2](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/alirezaroyaie2/32/145738_2.png) [@alirezaroyaie2](https://forum.bubble.io/u/alirezaroyaie2)\
**Post date:** [September 10, 2021, 9:44am UTC](https://forum.bubble.io/t/bubble-data-api-through-websocket/57078/9 "2021-09-10T09:44:01Z")

</div>

Still waiting

---

<div class="post-metadata">

**Author:** ![luiscarlosdesouza](https://avatars.discourse-cdn.com/v4/letter/l/c77e96/32.png) [@luiscarlosdesouza](https://forum.bubble.io/u/luiscarlosdesouza)\
**Post date:** [October 2, 2021, 7:35pm UTC](https://forum.bubble.io/t/bubble-data-api-through-websocket/57078/10 "2021-10-02T19:35:09Z")

</div>

It is possible to get data through the websocket as a client, but unfortunately it is not possible to create the webscoket server through the bubble because the server would need permission to listen to the connection port.

---

<div class="post-metadata">

**Author:** ![wael](https://avatars.discourse-cdn.com/v4/letter/w/b9e5f3/32.png) [@wael](https://forum.bubble.io/u/wael)\
**Post date:** [January 18, 2022, 10:19pm UTC](https://forum.bubble.io/t/bubble-data-api-through-websocket/57078/11 "2022-01-18T22:19:51Z")

</div>

Having a Web Socket option would be great
