DBAPI is a free, open source automation project written in Vue and released under AGPL-3.0. It has 804 GitHub stars, 241 forks and 16 open issues, and was last pushed 5 months ago. On this registry it ranks #45 of 66 tracked projects in Automation, with 5 head-to-head comparisons available. It gained 3 stars over the last 30 tracked days.

What is DBAPI?

DBAPI is a low-code data service platform for data warehouse developers that turns SQL into production-grade HTTP API endpoints, so teams can publish, monitor and govern data APIs without writing repetitive CRUD code.

What it is

DBAPI is a self-hosted application with a Vue front end and a Java runtime, licensed AGPL-3.0, registering around 800 stars, 239 forks and 16 open issues, with a last push on 13 June 2026. It positions itself as an enterprise data service management centre: one place to create, publish, monitor and govern every data API a team exposes.

The concrete problem it solves is the hand-written controller, service and serialisation layer sitting between a database and every consumer of its data. Rather than building one endpoint per query, a developer writes SQL on a page, binds parameters, and DBAPI generates the HTTP endpoint. Sources include MySQL, SQL Server, PostgreSQL, Oracle, Hive, DM, Kingbase, Doris, OceanBase, GaussDB, all JDBC-compatible databases, Elasticsearch through an ES DSL executor, and third-party REST services through an HTTP executor. Declared scenarios are BI reports, data dashboards, rapid frontend prototyping and AI application data integration.

Key capabilities

  • Dynamic SQL with MyBatis-style #{} and ${} parameter binding, covering Select, Insert, Update, Delete and stored procedures, with a built-in run and debug SQL editor.
  • DAG visual canvas for API orchestration, wired from Start through API Execution and Condition (If/Else) nodes to End, where earlier API results feed later steps and Groovy scripts reshape data.
  • Security layer: clientId plus secret token auth, API-level access control, IP whitelist and blacklist filtering, API-level QPS throttling, RSA response encryption, request signing and audit logging.
  • Plugin system in five categories: cache plugins such as Redis and Ehcache, data transformation, alerting through Email, SMS, DingTalk, Feishu and WeCom, parameter processing, and global transformation compatible with AMIS.
  • MCP support mapping data APIs to MCP tools for Claude Desktop, Cursor, LangChain and Spring AI, plus AI-assisted SQL generation from natural language.
  • Monitoring with API call history and access statistics, log storage in ClickHouse, MySQL, PostgreSQL or Doris, and Kafka buffer collection for large-scale traffic.
  • Zero-downtime hot deployment of API changes, API group management, data source health checks, built-in __clientId and __apiId variables, and an OpenAPI integration interface.

Who uses it and how

  • Data warehouse developers who own the SQL and want to expose it directly rather than wait on a backend team.
  • BI and dashboard teams needing stable, throttled, audited endpoints for report data.
  • Frontend and AI teams prototyping against real data; MCP integration reaches Claude Desktop, Cursor, LangChain and Spring AI.
  • Small-footprint deployments: a standalone instance runs on a 2-core 4GB server, while the same build supports cluster mode on Windows or Linux.
  • High-volume setups that push access logs through Kafka into ClickHouse or Doris instead of the primary database.

Getting started

Download the free Community Edition tarball, for example dbapi-4.0.32-bin.tar.gz, extract it, edit conf/application.properties if the default embedded SQLite database is unsuitable, then run bash bin/dbapi-daemon.sh start standalone. The console listens on port 8520 with default credentials admin / admin; JDK 8, 11 or 17 is required, and OpenSSL 3 is needed on non-Windows hosts.

How it compares

No list of paid products that this project replaces was provided, and the registry names no directly comparable tool, so DBAPI stands alone in this registry. The nearest names in its own documentation — AMIS, Claude Desktop, Cursor, LangChain, Spring AI — are integration targets rather than competing products.

When to use it — and when not to

A self-hoster must operate a Java service and its backing storage: embedded SQLite by default, or MySQL, PostgreSQL, Oracle, Doris or ClickHouse for logs, Redis or Ehcache if cache plugins are used, Kafka for buffered logging at scale, and mail, SMS, DingTalk, Feishu or WeCom credentials if alert plugins are enabled. Teams that cannot run a JVM service should look elsewhere, and anyone needing API import/export or version rollback should note those are marked Enterprise. The project is AGPL-3.0, which carries source-disclosure obligations for network services, and its README is Chinese-first with a separate English document, so non-Chinese readers may depend on the documentation site.

project readme (upstream, from github) — read inline

DBAPI

EN doc CN doc

SQL is API — Low-code data service tool for data warehouse developers

Just write SQL, auto-generate HTTP APIs

🎬 Website 📖 Docs · 🚀 Live Demo · 📥 Download ·

GitHub Community Enterprise JDK License


What is DBAPI?

DBAPI is a low-code data service platform for data warehouse developers. Write SQL and configure parameters on the page, and it automatically generates production-grade HTTP API endpoints —告别 repetitive CRUD coding forever.

  • 🎯 Positioning: Enterprise data service management center — centrally manage, publish, monitor, and govern all data APIs
  • 💡 Scenarios: BI reports, data dashboards, rapid frontend prototyping, AI application data integration
  • ⚡ Philosophy: SQL is the API, ultimate efficiency

Core Features

🚀 Out-of-the-box, Lightweight

  • No coding required, no external dependencies (only needs Java runtime)
  • Runs stably on a 2-core 4GB server
  • Supports standalone / cluster mode, Windows / Linux

🔌 Broad Data Source Compatibility

Type Support
Relational Databases MySQL, SQL Server, PostgreSQL, Oracle, Hive, DM, Kingbase, Doris, OceanBase, GaussDB, and all JDBC-compatible databases
Elasticsearch ES DSL executor, run Elasticsearch queries directly
HTTP Proxy HTTP executor, forward third-party REST APIs

✍️ Dynamic SQL, MyBatis-style

  • Supports #{} / ${} parameter binding, full MyBatis dynamic SQL syntax
  • SQL editor with built-in run / debug — WYSIWYG
  • Supports Select / Insert / Update / Delete and stored procedures
  • Multi-SQL combined execution with flexible transaction control

🔄 API Orchestration

  • DAG visual canvas: drag-and-drop orchestration, no coding required
  • Supports Start → API Execution → Condition (If/Else) → End nodes
  • Previous API results feed directly into subsequent steps
  • Groovy script processing for flexible data handling

🛡️ Enterprise-grade Security

Capability Description
Dynamic Auth clientId + secret to obtain Token, API-level access control
IP Firewall IP whitelist / blacklist filtering
Rate Limiting API-level QPS throttling
Data Encryption RSA encryption for response data, digital signature for request params
Audit Logging Full operation audit trail

🧩 Plugin System (5 categories)

  • Cache plugins — Redis / Ehcache / ES etc.
  • Data transformation plugins — data masking, format restructuring
  • Alert plugins — Email, SMS, DingTalk, Feishu, WeCom
  • Parameter processing plugins — parameter decryption, validation, transformation
  • Global data transformation plugins — compatible with AMIS and other frontend frameworks

🤖 AI + MCP Support

  • Map DBAPI data APIs to MCP tools
  • Integrate with Claude Desktop, Cursor, LangChain, Spring AI and other AI clients
  • AI assistant support, generate SQL from natural language

📊 Monitoring & Logging

  • API call history query & access statistics
  • Log storage: ClickHouse / MySQL / PostgreSQL / Doris
  • Kafka buffer collection for large-scale scenarios

🛠️ More Capabilities

  • Dynamic API creation / modification / deactivation, zero-downtime hot deployment
  • API group management, import/export, version rollback (Enterprise)
  • Built-in API variables __clientId, __apiId
  • OpenAPI interface for easy system integration
  • Data source health checks, preset request test parameters

Quick Start

1. Prerequisites

  • JDK 8 / 11 / 17
  • OpenSSL 3 (not required on Windows)

2. Download & Start

# Download Community Edition (free)
wget https://img.51dbapi.com/dbapi/dbapi-4.0.32-bin.tar.gz
tar -xzf dbapi-4.0.32-bin.tar.gz
cd dbapi-4.0.32

# Modify database config (default uses embedded SQLite)
# vim conf/application.properties

# Start service
bash bin/dbapi-daemon.sh start standalone

3. Access the System

Open http://:8520 in your browser, default credentials admin / admin.

For detailed installation guide see 📖 Installation Guide


Live Demo


Community


If DBAPI helps you, feel free to give the project a ⭐ on GitHub!

Frequently asked questions

Is DBAPI free to use?

DBAPI is open source under the AGPL-3.0 licence. There is no licence fee and no seat count — you can self-host it or, where the project offers one, pay a vendor for a managed version instead.

What does DBAPI do?

Build rest API with SQL in one minute

What is DBAPI written in?

DBAPI is primarily written in Vue. Its source is publicly available at https://github.com/freakchick/DBAPI, and it has 804 GitHub stars.