Databases and storage · Tool

PostgREST

A small server that turns a PostgreSQL database straight into a REST API, so apps can read and write tables over HTTP without a custom backend.

Talking to a database · Open source · updated

How it works

Point PostgREST at a database and every table, view and function becomes an endpoint: a request such as GET /orders?status=eq.paid returns JSON. It passes the caller's role to PostgreSQL, so permissions come from database roles and row level security rather than from code in the API.

Supabase uses PostgREST for its automatic API, which is why its client library can query tables directly. The flip side is that a table without proper policies can be read by anyone holding the public key.

PostgREST pricing

Open source

Free (MIT).

Approximate, checked September 2026.What the other tools cost

More in Databases and storage

Talking to a database

All 25 Databases and storage terms

Crafted in the dark. Shipped to the world.

Tell us what you are building. You get a private project space with a proposal and a line-by-line quote within a day.