Prisma replaces traditional ORMs in REST APIs

Prisma provides a type-safe and modern API for data access, ensuring developers can read and write data in a convenient, performant and secure way.

Supported
Coming Soon

Try out a live example...

The CodeSandbox example implements a REST API that is using Prisma. Explore the project files to learn how Prisma is used to simplify database access.

Why use Prisma for your REST API?

Prisma offers many features enabling you to quickly build high-performance REST APIs. Next to its powerful query engine and API, Prisma especially shines when it comes to developer experience.

Realtime API

Easily add realtime features to your API using WebSockets connected to Prisma's realtime layer for your database.

High-performance query resolution

Prisma client has a built-in dataloader, solving the N+1 problem and ensuring the Prisma API is queried efficiently.

No CRUD-boilerplate

Prisma removes the need to write repeating boilerplate for CRUD operations. Focus on features instead of doing repetitive work.

End-to-end type-safety

With Prisma, you’re building applications that are based on a coherent set of types, from the database to your frontend application.

Compatible with OpenAPI/Swagger

Prisma integrates nicely with OpenAPI and Swagger, making it easy to add a well-defined structure to your API.

Advanced pagination

The Relay connection model is a powerful way to expose pagination in an API. It is supported by Prisma out-of-the-box.

Data Access Features

Seamless JOIN & Relation API
Raw Database Access
Powerful Filter API
Supports SQL & NoSQL DBs
Declarative Nested Writes
Transactions
Realtime Event System
Connection Pooling
Advanced Pagination

Get started with REST & Prisma

Example REST API with Prisma

Explore the implementation of a simple REST API based on Prisma and Express.

REST API Quickstart Tutorial

Learn how Prisma helps you when building a REST API from scratch or with a legacy database.