Directus Logo
  • The Directus Toolkit
    • Connect
      Generate REST and GraphQL APIs instantly
    • Explore
      Browse and filter data in custom layouts
    • Editor
      Create and manage data in custom forms
    • Files
      Store and transform all your digital assets
    • Auth
      Protect your data with granular access control
    • Insights
      Visualize data within custom dashboards
    • Automate
      An automation builder for your data
    • Realtime
      Keep your data in sync with WebSockets
    Extend Your Toolkit
    Directus Marketplace

    Directus Marketplace

    Customize your data experience with extensions

  • Build powerful apps and tools
    • code_blocks
      Headless CMS
      Manage and deliver digital experience content
    • speed
      Backend-as-a-Service
      Simplify backend operations and scale
    • shopping_cart_checkout
      Product Management (PIM)
      A single source of truth for products
    • lightbulb
      100+ More Things To Build
      Looking for inspiration? Look no further
    • rocket_launch
      Startups
      Build fast, scale faster
    • apartment
      Enterprise
      Secure, scalable composable architecture
    • autopay
      Agencies
      Enhance your productivity and agency offerings
    • account_balance
      Government
      Dual-use platform for government applications
    Focus on the frontend
    Directus Cloud

    Directus Cloud

    Convenience and scalability without the stress.

  • Technical resources
    • menu_book
      Directus Docs
      Documentation on set-up and using Directus
    • api
      API Reference
      Dynamic REST and GraphQL API docs
    • slideshow
      Tutorials and Guides
      Our developer blog for specific use cases
    • avg_pace
      Quickstart Guide
      Get up and running quickly
    • map
      Roadmap
      See what's on our product roadmap
    • security
      Security
      Our commitment to security and compliance
    • GitHub
      Visit our repo on GitHub
    • Docker Hub
      Visit the official Directus Docker hub
    Open Source
    Visit our GitHub

    Visit our GitHub

    We're committed to the open source community.

  • Learning Center
    • library_books
      Blog
      Read our latest articles and guides
    • magic_button
      Success Stories
      Case studies and success stories
    • video_library
      Videos
      Watch our latest videos and how-tos
    • event
      Events & Meetups
      See upcoming events and in-person meetups
    • supervised_user_circle
      About Us
      Learn more about Directus and the team
    • heart_plus
      The Wall of Love
      See what others are saying about us
    • mark_email_unread
      Contact
      Have a general inquiry or question for us?
    • support
      Support
      Reach out to Directus support
    Join our community
    Join our 10k+ Member Discord

    Join our 10k+ Member Discord

    Get community support, see what others are building, and more.

  • Pricing
Book a DemoCreate a Project
starStar us on GitHub

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 projectarrow_forwardView the docsarrow_forward

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. 

 

update

WebSockets, GraphQL subscriptions, or SDK

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

edit_square

Full CRUD over WebSockets

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

verified_user

Respects user permissions

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

client.sendMessage({
	type: 'items',
	collection: 'messages',
	action: 'create',
	data: { text: 'Hello World!' },
});
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 projectarrow_forwardBook a demoarrow_forward
  • Directus Logo

    A modern backend toolkit for building anything or everything.

  • 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 Status
  • Organization
    • About
    • Careers
    • Brand Assets
    • Contact
©2023 Monospace Inc
  • License
  • Terms
  • Privacy
  • github
  • discord
  • youtube
  • docker
  • npm
  • x
  • mastodon
  • linkedin