Home / Platforms / PostgREST
P

PostgREST

Instant REST API for PostgreSQL databases

Self-Hosted BackendsFree Tier AvailableOpen source
Visit Website →

Overview

PostgREST is a standalone web server that turns your PostgreSQL database directly into a RESTful API. It introspects your database schema and automatically creates API endpoints for tables and views, complete with filtering, ordering, pagination, and joins. What makes PostgREST special is its simplicity and performance - it's a single binary written in Haskell that runs as middleware between your database and clients. All business logic lives in the database as stored procedures and views, following a database-first architecture. PostgREST respects PostgreSQL's role-based security, so your existing database permissions automatically become API authorization rules. It's incredibly fast, with minimal overhead between HTTP requests and database queries. Perfect for teams that want to leverage PostgreSQL's power without writing API boilerplate. Popular in the Jamstack ecosystem and used by Supabase as part of their stack. Ideal for rapid prototyping, internal tools, and applications where the database schema is the primary source of truth.

Features

Database: PostgreSQL
Authentication
File Storage
Cloud Functions
Realtime
GraphQL
REST API
Self-Hosted

Tech Stack

HaskellPostgreSQL

Best For

PostgreSQL usersJamstackRapid prototypingDatabase-first apps

Pricing

Free Tier:Yes
Starting Price:$0
Model:Free (open source)

Details

Deployment:Self-hosted
Founded:2014
Backed By:Open source

Ready to get started with PostgREST?

Visit PostgREST

Frequently Asked Questions about PostgREST

What is PostgREST?

PostgREST is a standalone web server that turns your PostgreSQL database directly into a RESTful API. It introspects your database schema and automatically creates API endpoints for tables and views, complete with filtering, ordering, pagination, and joins. What makes PostgREST special is its simplicity and performance - it's a single binary written in Haskell that runs as middleware between your database and clients. All business logic lives in the database as stored procedures and views, following a database-first architecture. PostgREST respects PostgreSQL's role-based security, so your existing database permissions automatically become API authorization rules. It's incredibly fast, with minimal overhead between HTTP requests and database queries. Perfect for teams that want to leverage PostgreSQL's power without writing API boilerplate. Popular in the Jamstack ecosystem and used by Supabase as part of their stack. Ideal for rapid prototyping, internal tools, and applications where the database schema is the primary source of truth.

Is PostgREST free to use?

Yes, PostgREST offers a free tier. Free (open source)

What features does PostgREST offer?

PostgREST offers PostgreSQL database, REST API, and more.

Can I self-host PostgREST?

Yes, PostgREST can be self-hosted, giving you full control over your infrastructure and data.

What is PostgREST best for?

PostgREST is particularly well-suited for postgresql users, jamstack, rapid prototyping, database-first apps.