What is pREST?
Best for: Developers needing a quick REST layer over an existing Postgres database.
pREST at a glance
| Category | Low-Code Backend & API Builders, Open-Source Low-Code Frameworks |
| Pricing | Free (open source) |
| Deployment | Self-hosted |
| Built for | Professional developers, Data teams |
| Builds | api |
| Licence | Open source (MIT) |
| Code export | Yes |
| Vendor | pREST community · Brazil · founded 2016 |
| GitHub stars | 4,638 · last commit 2026-11 |
Key features
- auto REST endpoints from schema
- query filters and joins
- custom SQL script endpoints
- JWT auth
- plugin system
- MCP endpoint
AI features
Provides an MCP interface so LLM agents can query databases.
What you can build with pREST
- instant database APIs
- microservice data access
- prototyping backends
- AI agent data access
pREST pricing
Open source. There is a free plan. Free under MIT.
Full pREST pricing breakdown and cheaper alternatives →
Prices change often. Check the vendor's pricing page before buying.
Pros and cons
Pros
- Mature and active
- Single fast Go binary
- Permissive license
Cons
- No admin UI
- Security config is on you
- PostgreSQL-first feature set
Integrations
pREST alternatives
DB2Rest
Open-source tool that instantly exposes databases as REST APIs
Hasura
Instant GraphQL and REST APIs over databases, now as the DDN supergraph platform
DreamFactory
Auto-generates secure REST APIs from databases and legacy systems
Supabase
Open-source Postgres development platform with auth, storage, APIs and edge functions
Directus
Data platform that wraps any SQL database with APIs, admin app and automations
Xano
No-code backend with a managed PostgreSQL database, API builder and AI agent tooling
Nhost
Open-source GraphQL backend on Postgres with auth, storage and functions
Magic-API
Java API rapid development framework that builds HTTP APIs in a web UI with scripts
BuildShip
Visual backend and AI workflow builder for APIs, scheduled jobs and agents
Looking further? tools like DB2Rest · tools like Hasura · tools like DreamFactory · tools like Supabase · tools like Directus · tools like Xano
Compare pREST
- pREST vs Supabase
- Directus vs pREST
- Hasura vs pREST
- pREST vs Xano
- DreamFactory vs pREST
- Nhost vs pREST
- Magic-API vs pREST
- BuildShip vs pREST
- DB2Rest vs pREST
- Appwrite vs pREST
Frequently asked questions
What is pREST?
pREST is a Go server that exposes an existing PostgreSQL database as a REST API with no code, including filtering, joins, pagination and custom SQL scripts. Recent versions add support for more databases and a Model Context Protocol endpoint so AI agents can query data.
How much does pREST cost?
pREST pricing: Free (open source). Free under MIT.
Is pREST open source?
Yes. pREST is open source under the MIT licence and its code is on GitHub at github.com/prest/prest.
Can pREST be self-hosted?
Yes. pREST supports self-hosted deployment.
What are the best alternatives to pREST?
Popular alternatives to pREST include DB2Rest, Hasura, DreamFactory, Supabase, Directus. See the full list of pREST alternatives on lowcodeplatforms.org.
Who is pREST best for?
Developers needing a quick REST layer over an existing Postgres database.