PostgREST/postgrest
REST API for any Postgres database observed · 2026-08-28
Health v2 · maintenance only
99/100
- Activity 99
- Release rhythm 98
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 12.0
- age_days: 4465
- days_rel: 12
- days_push: 7
- n_releases_24m: 39
Adoption not part of the score
27629 stars · 1228 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
PostgREST is a standalone web server that automatically exposes any existing PostgreSQL database as a fully RESTful HTTP API. Written in Haskell, it introspects the database schema and serves standards-compliant endpoints with filtering, pagination, and authentication support.
Use cases
- expose a postgres database as a rest api without writing backend code
- automatically generate an api from database tables
- build a crud api for an existing postgres schema
- replace a hand-written backend with a database-driven api
- serve json api endpoints with filtering and pagination from sql
- quickly prototype an api backed by postgres
When to choose
- you have a well-designed PostgreSQL schema and want a REST API immediately
- you want to avoid writing and maintaining boilerplate CRUD backend code
- you need a fast, standards-compliant API layer over Postgres
- you prefer database-level authorization (roles, RLS) over application logic
When to avoid
- you need complex custom business logic beyond what SQL functions can express
- you use a database other than PostgreSQL
- you need a GraphQL API rather than REST
- your API contract must diverge significantly from your database schema
Facets
service · maturity stable
http-server api-framework database routing auth databases apis backend web-development self-hosted windows self-hosted postgresql rest-api automatic-api haskell database-to-api linux macos docker web-server
1 source
- readme: https://github.com/PostgREST/postgrest · fetched 2026-08-28 · a3cd6412a21a
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| PostgREST/postgrest | main | 99 |
For agents
markdown · JSON · MCP: product_card(name="PostgREST/postgrest")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem