shouldiuse.io

Categories

VERDICT

PostgREST Review

Depends

Should I use PostgREST?

PostgREST 16 - postgrest.org

· 1 month ago

Buy it if your team lives in Postgres and wants a secure REST API without writing backend code. Skip it if you need custom per-endpoint business logic, non-Postgres databases, or a vendor to call when things break.

Confidence

Medium. Based on 14 public sources (HN, Reddit, official docs, GitHub, security trackers)

Ratings

  • Value for money
  • Ease of use
  • Feature depth
  • Support qualityNo support data in sources.
  • Security posture

Pricing

$0

Open source

ModelNot disclosed
Monthly feesNot disclosed
HardwareNot disclosed
Free tierYes

Best for

  • Postgres-heavy backend teams
  • Internal tools and admin panels
  • Fast prototype-to-production APIs
  • Teams fluent in SQL and RLS

Not for

  • Teams needing custom business logic per endpoint
  • Non-Postgres shops (MySQL, Mongo, SQL Server)
  • Anyone wanting vendor support or an SLA
  • Frontend teams exposing it directly without strict RLS discipline

Gotchas - check before you buy

high

Publicly exposed servers get flagged by vulnerability scanners; never expose without auth in front.

medium

Schema becomes your API contract; sloppy grants can leak data. Disclosed RPC info-disclosure bug, March 2025.

medium

Guess: free means no SLA. Production incidents land on your own team.

medium

Guess: clients couple tightly to your schema; moving to a hand-written API later means rewrites.

Pros and cons

Pros

  • Free and open source at every size
  • Turns a Postgres schema into a fully RESTful API instantly
  • Authentication rides on database roles and row-level security
  • HN users call it more secure than most API servers
  • Powers Supabase's hosted Data API at scale

Cons

  • Fine for simple apps; criticized for complex use cases
  • Some users find the generated API limited
  • Exposed instances appear in attacker scanning tools
  • Requires real SQL and Postgres internals fluency, not magic

Sources & method

- 14 sources - Actively hardened; auth via Postgres roles and RLS; one disclosed info-disclosure bug (2025), no known breaches.

official x4review x6security x2news x2
  • Information disclosure in RPC function error handling, Error handling in RPC functions could leak information; disclosed March 2025 on GitHub.

Key stats

  • Value for money: 5/5

    Rating

  • $0

    Starting price

  • 14

    Sources

  • Analyzed

  • Value for money: 5/5. Free forever, full features.
  • Ease of use: 3/5. Instant API, but demands SQL fluency.
  • Feature depth: 4/5. Full RESTful API, auth, relationship detection.
  • Support quality. No support data in sources.
  • Security posture: 4/5. Praised as secure; one disclosed RPC info leak.
  • Free Price Open source, self-hosted
  • Yes Free tier Free at every size
  • 2015 Around since Public HN launch thread, Jul 2015
  • 16 Latest version PostgREST 16

Pricing

Open source

$0

  • Full REST API from your Postgres schema
  • Self-hosted, community support

Security

Actively hardened; auth via Postgres roles and RLS; one disclosed info-disclosure bug (2025), no known breaches.

  • Information disclosure in RPC function error handlingError handling in RPC functions could leak information; disclosed March 2025 on GitHub.⁵

What users say

Developers praise its security and speed for Postgres-backed apps, but some find the auto-generated API too limited for complex logic.

“PostgREST is far more secure than most API servers.”
Hacker News
“In reality postgREST sucks... it's fine for simple apps, but for...”
Hacker News
“Just wanted to give a huge shout-out to PostgREST”
Hacker News

Alternatives

Compare PostgREST with each alternative.

  • Supabase

    Hosted Postgres with PostgREST built in, plus auth and storage.

    PostgREST vs Supabase
  • PostGraphile

    GraphQL-first alternative over the same Postgres database.

  • pREST

    Lighter Go-based REST API for Postgres.

  • DreamFactory

    Commercial API generator with GUI and connectors beyond Postgres.

Companies that use it

Full analysis

Based on 14 public sources (HN, Reddit, official docs, GitHub, security trackers)

Free REST API straight from Postgres. Brilliant for SQL-fluent teams; wrong for custom logic or vendor support needs.

Methodology

Based on 14 public sources (HN, Reddit, official docs, GitHub, security trackers)

Read how a report is made.

Sources

  1. official
  2. Hardening PostgRESTdocs.postgrest.org
    official
  3. Database Authorizationdocs.postgrest.org
    official
  4. PostgREST 12supabase.com
    official
  5. security
  6. security
  7. review
  8. review
  9. In reality postgREST sucks...news.ycombinator.com
    news
  10. news
  11. review
  12. review
  13. review
  14. review

Add this review to your site

This check for PostgREST says Depends.

Put the badge on your site.

Visitors see the independent review.

The link points here, and search engines follow it.

This is the badge visitors see on your site.

Paste one snippet. Keep the link as it is. A nofollow tag stops search engines from following it.

Rate this review

Anonymous. You can change your vote.

Loading votes…

Comments

One queue. No nested comments. Give a display name first. Limit: 200 words per comment. You can edit or delete yours.

Save a name to write a comment.

0 / 200 words

No comments yet.