PostgREST

Standalone web server that turns PostgreSQL into a REST API

PostgREST is a low-code api tool, best for developers who want APIs straight from Postgres. Pricing: Free, open source. It is open source. Top alternatives: Hasura, Supabase, Directus.

What is PostgREST?

PostgREST is an open-source Haskell server that exposes a PostgreSQL schema as a RESTful API, relying on database roles and row-level security for permissions. Supabase uses it internally.

PostgREST features

  • REST from Postgres
  • Row-level security
  • Filtering and embedding
  • JWT auth
  • OpenAPI output
  • Stored procedures
  • Single binary
  • Performance

What you can build with PostgREST

  • Database APIs
  • Admin tooling
  • Prototypes
  • Jamstack backends

Best for: Developers who want APIs straight from Postgres

PostgREST pricing

Free, open source.

PlanPriceIncludes
Self-hostedFreeMIT license

Prices in USD as of 2026-11-22. Vendors change pricing often, so confirm on the PostgREST website.

PostgREST pros and cons

Pros

  • Very fast
  • Simple concept
  • Open source

Cons

  • Requires SQL skills
  • Logic must live in the DB
  • No UI

Compare PostgREST

PostgREST FAQ

Is PostgREST free?

Yes. PostgREST is open source and free to self-host.

What is PostgREST best for?

PostgREST is best for developers who want APIs straight from Postgres. Typical use cases include database apis, admin tooling, prototypes.

Is PostgREST no-code or low-code?

PostgREST is a low-code tool: it is visual-first but expects some code or technical skills for advanced work.

What are the best alternatives to PostgREST?

Popular alternatives to PostgREST include Hasura, Supabase, Directus, NocoDB, PostGraphile.

Is PostgREST open source?

Yes. PostgREST's source code is public on GitHub and it can be self-hosted.

PostgREST alternatives

All alternatives →