Client SDKs

Xata offers a set of client SDKs to help you build your application. The SDKs are available for the following languages:

JavaScript and TypeScript

Type-safe SDK for Node.js, V8 and Deno


Work in progress SDK client for Python 3.5+

UI Playground

The Xata Web UI contains a playground where you can try out the SDK.

Right now the playground is only available for the JavaScript/TypeScript SDK, but we plan to add support for other languages in the future.

The Xata SDK Playground

To access the SDK playground, click the SDK Playground button in the sidebar. This will present you with a type-safe interface with a xata object that exposes the various SDK methods. To get more familiar with these methods, see the SDK's usage page.

Using Playground Queries

Once you've written a query you're happy with and would like to use it in your application, this is usually accomplished via copy/paste–provided your application is already set up to use the Xata SDK.

After pasting code from the playground, you'll only have to adjust your import of xata to point to the file generated by the Xata CLI (Command Line Interface). For more on code generation, see the Code Generation section of the CLI docs.

On this page

UI Playground

Using Playground Queries