# postgrest

> Automatic REST API for PostgreSQL databases

PostgREST is a standalone web server that turns any PostgreSQL database directly into a RESTful API. It generates endpoints dynamically from database schemas, serializing JSON responses directly in SQL while delegating authorization to PostgreSQL roles. It is distributed as a standalone binary and can also be run using Docker.

- Source: https://github.com/PostgREST/postgrest
- Homepage: https://postgrest.org
- License: MIT
- Built with: Haskell 69.3%, PLpgSQL 19.8%, Python 6.5%, Nix 4.2%, Other 0.2%
- Stars: 27734
- Forks: 1236
- Contributors: 225
- Last commit: 2026-10-28
- Latest release: v16.5 (2026-10-20)
- Purpose: Developer tools, Databases & backends
- Type: Docker / self-host, CLI
- For: Personal, Enterprise
- Enterprise signals: rbac

## Worth score: 77/100

How much DigGitHub recommends it, from activity, adoption, docs, license and security signals.

- Popularity: 22/25
- Momentum: 10/20
- Maintenance: 25/25
- Community: 12/15
- Readiness: 8/15

## Downloads

Latest release: [v16.5](https://github.com/PostgREST/postgrest/releases/tag/v16.5). Files from the project's GitHub release, not checked by DigGitHub.

Windows:

- [postgrest-v16.5-windows-x86-64.zip](https://github.com/PostgREST/postgrest/releases/download/v16.5/postgrest-v16.5-windows-x86-64.zip) (14 MB, 1.7k downloads)

macOS:

- [postgrest-v16.5-macos-aarch64.tar.xz](https://github.com/PostgREST/postgrest/releases/download/v16.5/postgrest-v16.5-macos-aarch64.tar.xz) (8.6 MB, 1.4k downloads)
- [postgrest-v16.5-macos-x86-64.tar.xz](https://github.com/PostgREST/postgrest/releases/download/v16.5/postgrest-v16.5-macos-x86-64.tar.xz) (2.6 MB, 177 downloads)

Linux:

- [postgrest-v16.5-linux-static-aarch64.tar.xz](https://github.com/PostgREST/postgrest/releases/download/v16.5/postgrest-v16.5-linux-static-aarch64.tar.xz) (3.8 MB, 276 downloads)
- [postgrest-v16.5-linux-static-x86-64.tar.xz](https://github.com/PostgREST/postgrest/releases/download/v16.5/postgrest-v16.5-linux-static-x86-64.tar.xz) (4.3 MB, 13k downloads)

Other files:

- [postgrest-v16.5-freebsd-x86-64.tar.xz](https://github.com/PostgREST/postgrest/releases/download/v16.5/postgrest-v16.5-freebsd-x86-64.tar.xz) (8.1 MB, 17 downloads)

## Alternatives

- [Hasura](https://diggithub.com/hasura/graphql-engine.md): Instant GraphQL APIs on your data
- [Databasus](https://diggithub.com/databasus/databasus.md): PostgreSQL backup with point-in-time recovery
- [Supabase](https://diggithub.com/supabase/supabase.md): Postgres development platform
- [TimescaleDB](https://diggithub.com/timescale/timescaledb.md): Time-series database on PostgreSQL
- [Directus](https://diggithub.com/directus/directus.md): Turn any SQL database into an API and admin app
- [Meilisearch](https://diggithub.com/meilisearch/meilisearch.md): Lightning-fast search engine API
- [sqlc](https://diggithub.com/sqlc-dev/sqlc.md): Generate type-safe code from SQL
- [TiDB](https://diggithub.com/pingcap/tidb.md): Distributed SQL database

---

Source page: https://diggithub.com/PostgREST/postgrest
Updated: 2026-10-29
