Our Visual Editing feature is live! 🎉 Learn more
Directus Logo
  • Use Cases and Features
    • Headless CMS
      Manage and deliver content with ease
    • Backend-as-a-Service
      Build and ship applications faster
    • Headless Commerce
      A single source of truth for products
    • 100+ More Use Cases
      Build anything (or everything)
    • Instant APIs
      Connect a database, get REST + GraphQL APIs
    • Granular Policy-Based Auth
      Provide secure, autonomous data access
    • Visual Automation Builder
      Automate content and data workflows with ease
    • 50+ More Features
      Get everything you need out-of-the-box
    Project Showcase
    Built With Directus

    Built With Directus

    See what everyone's been building with Directus

  • Learn More
    • Blog
      Read our latest articles and guides
    • Case Studies
      Case studies and success stories
    • Community
      Join our 13k member Discord community.
    • Agency Directory
      Browse our list of agency partners
    • About Us
      Learn more about Directus and the team
    • Wall of Love
      See what others are saying about us
    • Contact
      Have a general inquiry or question for us?
    • Support
      Reach out to Directus support
    Watch Directus TV
    Directus TV
    Video

    Directus TV

    Go down the rabbit hole with hours of original video content from our team.

  • Developers
  • Enterprise
  • Pricing
Chat With UsGet Started Free
GitHub logo30,625

Realtime

  1. Overview
  2. Features
  3. Docs

Stay ahead with real-time data.

Connect to Directus and subscribe to updates in a collection, and get notified when there's an update to show your users. Increase trust in your data, lower the build complexity.

Create a projectView the docs

Keep your data current with WebSockets.

Don't worry about data falling out of sync again. Directus connects directly to your database and emits events to connected clients when database changes occur. 

 

WebSockets, GraphQL subscriptions, or SDK

Use a standard WebSocket connection, subscribe over GraphQL, or use our SDK methods.

Full CRUD over WebSockets

Decrease complexity by creating, reading, updating, and deleting items using a single WebSockets connection.

Respects user permissions

Use various authentication schemes, and all requests use your configured permissions.

import { createDirectus, rest, createItem } from '@directus/sdk';
const client = createDirectus('https://xyz.directus.app').with(rest());

const item = await client.request(
	createItem('articles', {
		title: 'Hello, world!',
		summary: 'This is my next big thing.'
	})
);
client.sendMessage({
	type: 'items',
	collection: 'messages',
	action: 'read',
	query: { limit: 5, sort: '-date_created' },
});

Backed by your database

Unlike many realtime solutions, all data is persisted in your database by design. Never worry about state management again.

Combine with other tools in the Directus toolkit.

Whether you specialize in frontend, backend, or fullstack, you'll get a suite of dev tools that'll make you even more efficient.

Auth

Auth

Protect your data with granular access control systems.

Connect

Connect

Generate REST and GraphQL APIs for any database.

Insights

Insights

Visualize your data within robust and customizable dashboards.

Our interactive app must access and serve up data in real time, and that’s something I don’t think we can achieve without Directus.

Tom Smedley

Tom Smedley

Technical Director, Peter and Paul

Don't miss a beat with realtime data ⚡️

Dive into a seamless stream of real-time updates and elevate your data-driven decisions. 

Create your projectBook a demo
  • Directus LogoDirectus Logo

    A composable backend to build your Headless CMS, BaaS, and more. 

  • Solutions
    • Headless CMS
    • Backend-as-a-Service
    • Product Information
    • 100+ Things to Build
  • Resources
    • Documentation
    • Guides
    • Community
    • Release Notes
  • Support
    • Issue Tracker
    • Feature Requests
    • Community Chat
    • Cloud Dashboard
  • Organization
    • About
    • Careers
    • Brand Assets
    • Contact
©2025 Monospace Inc
  • Cloud Policies
  • License
  • Terms
  • Privacy