Global infrastructure for
real-time, interactive applications

You build the application. We operate the global network underneath it: pub/sub messaging, presence, data, logic, and security, at scale.

{ goal: 1 } → delivered
0
MESSAGES DELIVERED SINCE YOU ARRIVED
99.999%
UPTIME SLA
<0.5 ms
IN-REGION OVERHEAD
1B+
ACTIVE DEVICES
50+
SDKS
Powering
DAZNSwiggyTicketmasterAutodeskLogitechYelpScopelyGCashACSTalk Shop Live
Platform

The PubNub platform, detailed.

Explore the PubNub platform, starting with Programmable Pub/Sub. From there, investigate all of the PubNub platform features to build your real-time application.

The developer-experience surface: what you run on your machine, and what your coding agent runs for you. The docs call that second half AI development, and give it a top-level area.

What you can ship with it
A working real-time feature scaffolded by your coding agent in an afternoon.
Features include:
50+ SDKs
Idiomatic clients for web, mobile, server, and embedded
APIs
Plain REST when you’d rather not take an SDK
MCP server
Claude and Cursor can scaffold PubNub features for you
PubNub Skills
Task recipes your coding agent follows correctly
llms.txt
The documentation set in one file a model can read
Prompt templates
Starting points for what agents actually get asked
Without it you build
Client libraries for every platform your app ships on

The heart of PubNub’s technology — sending and receiving messages between humans, devices, and AIs. Low-latency publish/subscribe you can program: clients publish to named channels, and subscribe to the channels they care about.

What you can ship with it
Typing indicators, read receipts, and reactions in a chat app.
Features include:
Channels
A route clients join — named on the fly, never provisioned
Subscriptions
One connection, many channels, one set of listeners
Message Actions
Reactions, receipts, and edits on a sent message
Signals
Cheap high-frequency updates like typing indicators
Message types
Categorize the traffic that shares a channel
Channel Groups
Subscribe to thousands of channels in one call
Without it you build
Ordered delivery, catch-up after reconnect, and fan-out at scale
pubnub.publish({ channel: "scores", message: score })

Pub/Sub tells your application what is happening on a channel. Presence tells it who is currently participating, across every client, at scale.

What you can ship with it
A green "online" dot and a live viewer count that is actually correct.
Features include:
Presence events
Join, leave, and timeout as users come and go
Occupancy
How many are on a channel right now, and which of them
Presence state
Custom per-channel status like “away” or “in a call”
Without it you build
Heartbeat tracking, timeout tuning, and occupancy state at scale
pubnub.hereNow({ channels: ['scores'], includeUUIDs: true, includeState: true });

Real-time delivery handles what is happening now. Data storage is how the application gets at what happened before, and at the entities that were involved.

What you can ship with it
Full scroll-back history synchronized across devices, user profiles and channel directories that stay in sync, and images or documents shared in-channel.
Features include:
Message history
Replay and catch up on published messages after a dropped connection
Metadata
Structured data about users, channels, and memberships
Files
Send images and attachments on the same channels
Without it you build
A message store, a metadata service, and file hosting tied to channels
pubnub.fetchMessages({ channels: ['scores'], count: 3, includeCustomMessageType: true });

Visibility into the activity your applications generate once they ship, without standing up your own telemetry pipeline.

What you can ship with it
Answering "how many users were live during the match?" without instrumenting it.
Features include:
Usage dashboards
Monthly active users and transaction consumption
Operational dashboards
Live channel and connection activity
Without it you build
A telemetry pipeline, storage, and dashboards for real-time traffic

Running decisions and application logic on the network, right where the messages are, with no round-trip to your servers.

What you can ship with it
Masking a banned word, or firing an alert when a sensor crosses a threshold.
Features include:
Serverless
Run your JavaScript on the message in flight — Functions
Real-time decisions
Query live data and act on what it shows — Illuminate
Auto Moderation
Mask defined words and catch spam before delivery
Without it you build
A fleet of always-on workers sitting next to your message bus
// Before Publish Function on the "scores" channel
export default (request) => {
request.message.team = 'HOME';
return request.ok();
};

How your application talks to the systems outside the real-time network.

What you can ship with it
A push notification to users who closed the app, from the same publish call.
Features include:
Mobile push notifications
Reach users who closed the app
Event forwarding
Send events on to Kafka, SQS, Kinesis, S3, and webhooks
Kafka connector
Bridge PubNub and the Kafka topics you already run
Without it you build
APNs/FCM plumbing, webhook delivery, and retry logic

One place that answers: “how is the real-time application secured?” It draws the boundary around everything, dev tools and integrations included.

What you can ship with it
Proving to a security reviewer that each user can only read their own channels.
Features include:
Access control
Per-user, per-channel permissions with expiring tokens
Encryption
TLS by default, and end-to-end payloads we cannot read
Audit log
Who changed what in your account, and when
SSO
Your team signs in to the admin portal with your IdP
Data deletion
Remove stored messages and metadata on request
Without it you build
An auth service, token issuance, key rotation, and an audit trail

The global operation underneath the platform: the part you don’t learn to use. You verify that it meets your requirements, and stop worrying.

What you can ship with it
A launch-day surge from 40k to 2M users that nobody has to be paged for.
Features include:
Global network
Users connect to a nearby edge, not a far region
Multi-region deployment
Safeguards that keep your application running when a region fails
Region pinning
Keep data in a chosen region for compliance
99.999% SLA
Contractual uptime, roughly 5 minutes a year
Without it you build
Multi-region capacity, failover, edge PoPs, and 24/7 on-call
Your app + PubNub

Turn your app into a realtime experience

See what adding live updates can unlock in your application.

Interactive demo: toggle “With PubNub” on or off to see the live, real-time features PubNub adds to five kinds of application. Each example is an animated app mockup; the real-time capabilities it demonstrates are:

  • Sports & media: live score and match-minute updates, goal alerts, live fan polls (e.g. “Who scores next?”), and in-app chat with a live viewer count.
  • Transportation (ride-hailing): live driver status from request through arrival, continuously updated ETAs, in-app payment, and real-time promotions.
  • eCommerce (live shopping): a live video stream, live stock countdowns, instant add-to-cart, personalized offers, and live chat.
  • Gaming: live points and XP, real-time leaderboard rank changes, auto-translated and moderated chat, and achievement push notifications.
  • Healthcare (digital health): live patient risk scores, connected-device readings, and last-updated timestamps that refresh in real time.
Your Sports App with PubNub

These are just a few examples of what you can build with PubNub. Don’t see your use case? Explore our Docs

Connect. Send.
Receive. Instantly.

Low-latency publish/subscribe you can program: filter, group, annotate, persist, and moderate messages on the network itself.

pubnub.addListener({  message: (e) => render(e.message),})pubnub.channel('scores')  .subscription().subscribe() await pubnub.publish({  channel: 'scores',  message: { goal: 1 }})

Clients publish to named channels, and subscribe to the channels they care about.

You didn't buildordered delivery, catch-up after reconnect, and fan-out at scale

Read the Pub/Sub docs

Send and receive: the app publishes a message to the scores channel and three subscribed devices receive it.

IN PRODUCTION

Behind the moments that matter.

Reported customer results, not platform-wide guarantees.

DAZNSports, Media, Entertainment
212M
Requests per minute

FIFA Club World Cup 2025

Read the DAZN story
Pocket GemsGaming
Overnight
chat integration

Come for the dragons. Stay for the guild.

Read the Pocket Gems story
SwiggyCustomer Service
Up to70%
tickets automated

Answers before the question lands.

Read the Swiggy story
ManaDrDigital Health
250,000
patients reached

Care that reaches you the moment it matters.

Read the ManaDr story
Our promises

What PubNub promises you.

Tap one to see what it means for you.

Your benefits

Faster development, shorter time to market, and more engineering capacity devoted to the customer experience. Begin with programmable pub/sub and add capabilities as your application requires.

Runs on
Pub/Sub MessagingMessage PersistenceData Sync50+ SDKsMCP ServerSkills

FOURTEEN YEARS OF OPERATIONS

Battle-tested. It's in PubNub's nature.

What you can't find anywhere else is someone who's been operating real-time at planetary scale for fourteen years, including the live streams that set world records for audience size.
Here's what that operation looks like, year by year.

1B+
DEVICES
10,000s
OF APPS
50+
SDKS
  • 2012

    The network goes live

    PubNub is founded and the real-time network takes its first production traffic: a global real-time layer developers can build on from their first line of code.

  • 2020

    A billion devices

    Billions of connected devices across tens of thousands of applications. Surges from global lockdown-era traffic are absorbed as normal.

  • 2026

    Fourteen years of five nines

    Fourteen years in, the PubNub global network is as reliable as the day it went live, and the team behind it works as hard as ever to keep every customer online.

WHY CUSTOMERS DEPEND ON PUBNUB

Fourteen years operating the PubNub platform at planetary scale is not something a competitor spins up, and it's not something you should ever have to build.

BUILD VS BUY

Answer your team’s questions before they ask.

These are the objections we hear most before teams become customers, and plenty of today’s customers raised them too. Tap one to see the answer that turned them into long-time PubNub fans.

You can, but the socket is the easy part. The hard part is everything around it: ordered delivery, presence, catch-up after a dropped connection, per-user access, and failover across regions at five nines, operated 24/7. That’s a dedicated team and an on-call rotation, indefinitely. With PubNub, you ship the feature and skip the rotation.

Blocks.aiBuilt on PubNub

The control plane for the Internet of Agents.

Connect and control agents across every framework, provider, and API, wherever they're hosted. No inbound ports, no tunnels, no firewall changes. Zero Trust by default.

  • Any framework

    Every framework, provider, and API

  • Reach anywhere

    Behind your firewall, in your VPC

  • Secure & instant

    Global, sub-100ms, Zero Trust calls

  • Agents ↔ humans

    People step into any loop, natively

FAQ

Answered the way we'd answer in the room.

Tap a question to see the answer.

GET STARTED

Build the live experience

PubNub will operate the infrastructure underneath it.

  • Add it to the architecture you already have, with no re-platforming
  • Secured by default
Build, manage, & optimize real-time apps at scale | PubNub