Build

Introduction to the PubNub Data Stream API

2 min read Joe 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

Top Trends to Engage Your App Users
InsightsSep 27, 20224 min read

Top Trends to Engage Your App Users

Take a look at the top trends that are the most effective in attracting customers and reducing churn, and how you can incorporate...

PubNub Staff

PubNub Staff

Comparing Game Engines: Unity vs Unreal vs the Rest
Real-Time Gaming BlogSep 21, 20225 min read

Comparing Game Engines: Unity vs Unreal vs the Rest

Comparing the major game engines: Unity vs Unreal Engine vs Corona SDK vs GameMaker Studio, including the benefits and cons of...

PubNub Staff

PubNub Staff

Python Socket Programming: Client, Server and Peer Libraries
BuildSep 21, 20226 min read

Python Socket Programming: Client, Server and Peer Libraries

Sockets (aka socket programming) enable programs to send and receive data, bi-directionally, at any given moment. This tutorial...

PubNub Staff

PubNub Staff