Back to top
Documentation Integration

Integration

SurrealDB supports a number of methods for connecting to the database and performing data queries.

SDKs

When building applications on top of SurrealDB, using one of the official client SDKs should make things simpler. Current libraries include Node.js, Golang, Deno, and Rust.

HTTP & REST

By default, all queries can be performed over a HTTP API, with support for full SQL queries, and querying and modification of records using RESTful endpoints.

WebSocket (text protocol)

The WebSocket API supports JSON-RPC querying, with full support for persistent connections, session authentication, realtime queries, and update notifications.

WebSocket (binary protocol)

The WebSocket API supports JSON-RPC querying, with full support for persistent connections, session authentication, realtime queries, and update notifications.