Description
DB2Rest is an open-source tool that turns a relational database into a REST data API without writing code. You connect it to your database and it exposes the data over HTTP, so web, mobile or AI tool integrations can read and write it without a hand-written data access layer. The project says that this layer is where connection leaks, transaction mistakes, inefficient batching and SQL injection problems usually appear, and that DB2Rest handles those concerns. It has no ORM and no code generation step, makes one round trip to the database, and supports query caching and batching. It can run on premises, on bare metal, in virtual machines, in Docker or Kubernetes, or on any cloud. The site positions it for reusing legacy databases and for giving AI applications a simple data endpoint for their function calls. The project is on GitHub and has a Discord community. The latest release adds SQLite support.…
Highlights
- No-code REST API over relational databases
- No ORM and no code generation step
- Query caching and batching
- Runs on premises, in Docker, Kubernetes or any cloud
- Works with legacy databases
- SQLite support added in v1.6.5
Ratings & Reviews
No ratings yet
Be the first to rate Db2rest.
People also visit

centralmind/gateway
Automatically generate APIs from database schema and data for PostgreSQL
Db2rest FAQ
What is DB2Rest?
An open-source tool that exposes a relational database as a REST data API, so you do not have to write the database access layer yourself.
Which databases does it support?
It is built for relational databases, and the latest release, v1.6.5, added SQLite. The documentation lists the full set of supported databases.
How do I deploy it?
It can run on premises, on bare metal, in virtual machines, in Docker, in Kubernetes or on any cloud. The site has a getting started guide that takes about 10 minutes.
Is it free?
Yes. It is open source and the code is on GitHub at 9tigerio/db2rest.
Can it serve AI applications?
The site says it can power the function and tool calls of a generative AI application by giving them a data endpoint.
What are the best Db2rest alternatives?
Popular alternatives to Db2rest include AI for Database, Database Build and NexusPilot. See all Db2rest alternatives








