• Start

Languages

/

Kotlin

Kotlin SDK

The SurrealDB SDK for Kotlin is a coroutine-based, Kotlin Multiplatform client for querying a remote SurrealDB instance.

The SurrealDB SDK for Kotlin lets you connect to SurrealDB from any Kotlin application. It is a Kotlin Multiplatform library targeting the JVM, Android, and iOS, with a coroutine-based, suspend-friendly API. The SDK connects to remote instances over WebSocket or HTTP and provides methods for querying with SurrealQL, managing data, authentication, live queries, transactions, and multiple sessions. Its design closely mirrors the JavaScript SDK.

To contribute to the SDK code, submit an Issue or Pull Request in the surrealdb.kotlin repository. To contribute to this documentation, submit an Issue or Pull Request in the docs.surrealdb.com repository.

Was this page helpful?