Build

Introduction to the PubNub Data Stream API

2 min readJoe Hanson on Jan 22, 2014
Try PubNub Today

Free up to 1MM monthly messages. No credit card required.

Subscribe to our newsletter

By submitting this form, you are agreeing to our Terms and Conditions and Privacy Policy.

Establish and maintain persistent socket connections to any device.

data pushPubNub Data Streams allows you to establish and maintain persistent socket connections to any device (mobile, browser, desktop, and server), and push data to global audiences in less than a 1/4 second. PubNub utilizes the Publish/Subscribe model for real-time data streaming and device signalling, supporting all the capabilities of WebSockets, SignalR, Socket.IO, WebRTC Data Channel and other streaming protocols.

PubNub Broadcast allows you to stream data to millions of users simultaneously, for use in apps like second screen, multiplayer games, and audience participation apps. PubNub Unicast is for one-to-one device signaling, for use in apps like call triggering, machine to machine, and location tracking.

Getting Started with the Data Stream API

Want to see it in action? Want to get started right away?

In the video below, our Founder and CTO Stephen Blum walks you through building a simple PubNub Data Streams app the the data stream API. All you need is a computer, a standard text editor, and a web browser.

Additional Data Stream API Resources

We also have a Getting Started Guide with PubNub Data Streams with our JavaScript SDK in our recently revamped documentation. From channels to API keys to API functions, you can find everything you need to know about Data Push and JavaScript there!

Need some inspiration? Here are 5 things you can build using PubNub Data Streams.

Data Stream APIDemos

Get Started
Sign up for free and stream data in real time with Data Streams

More from PubNub

Can Empathy Exist in the Metaverse
News May 16, 20221 min read

Can Empathy Exist in the Metaverse

A roundtable discussion led by PubNub’s COO, Casey Clegg, exploring the topics of what it means to be human in a virtual world.

PubNub Staff

PubNub Staff

How to Advance Telehealth and Virtual Care Technologies
News May 2, 20221 min read

How to Advance Telehealth and Virtual Care Technologies

Dr. Joe Kvedar, Chair of the Board for the American Telemedicine Association, joins our COO, Casey Clegg, to discuss why...

PubNub Staff

PubNub Staff

Another Step Towards Data Security: ISO-27001 Implementation
BuildMay 2, 20221 min read

Another Step Towards Data Security: ISO-27001 Implementation

Today, we are glad to announce that we are currently in the process of implementing ISO-27001 security standards.

PubNub Staff

PubNub Staff