DBAPI

Turn SQL queries into published HTTP APIs without writing code

Low-Code Backend & API Builders Open source · AGPL-3.0 Free plan Self-hostable

What is DBAPI?

DBAPI lets developers write SQL in a web console and publish each query as a documented HTTP API, with parameters, caching, access control and plugin hooks. It is aimed at data teams that need to expose database data to other systems quickly. An open-source edition sits alongside a commercial enterprise edition.

Best for: Data teams publishing query results as internal APIs.

DBAPI at a glance

CategoryLow-Code Backend & API Builders, Low-Code Data, Analytics & ML Platforms
PricingFree plan available
DeploymentSelf-hosted, on-premiseise
Built forData teams, Professional developers, IT teams
Buildsapi
LicenceOpen source (AGPL-3.0)
Code exportNo
Vendorfreakchick · China · founded 2020
GitHub stars806 · last commit 2026-06

Key features

  • SQL-to-API publishing
  • dynamic SQL parameters
  • API access tokens
  • result caching
  • plugin system for transforms
  • cluster deployment
  • API tokens and IP allow-lists
  • caching and transformation plugins
  • monitoring logs
  • cluster mode

What you can build with DBAPI

  • data service APIs
  • exposing reports to apps
  • internal data sharing
  • API gateway for databases
  • reporting back-ends
  • data middle-platform
  • rapid API publishing

DBAPI pricing

Freemium. There is a free plan. Open-source edition free; enterprise edition is licensed commercially.

Full DBAPI pricing breakdown and cheaper alternatives →

Prices change often. Check the vendor's pricing page before buying.

Pros and cons

Pros

  • Very fast way to expose SQL as APIs
  • Supports many databases
  • Lightweight to deploy
  • Very fast data API delivery
  • Broad database support
  • Simple web UI

Cons

  • Chinese-first documentation
  • AGPL licence for open edition
  • Limited UI/app building
  • AGPL license
  • Enterprise features gated
  • Chinese-first docs

Integrations

MySQLPostgreSQLOracleSQL ServerHiveClickHouse

DBAPI alternatives

See all DBAPI alternatives →

Compare DBAPI

Frequently asked questions

What is DBAPI?

DBAPI lets developers write SQL in a web console and publish each query as a documented HTTP API, with parameters, caching, access control and plugin hooks. It is aimed at data teams that need to expose database data to other systems quickly. An open-source edition sits alongside a commercial enterprise edition.

How much does DBAPI cost?

DBAPI pricing: Free plan available. Open-source edition free; enterprise edition is licensed commercially.

Is DBAPI open source?

Yes. DBAPI is open source under the AGPL-3.0 licence and its code is on GitHub at github.com/freakchick/DBAPI.

Can DBAPI be self-hosted?

Yes. DBAPI supports self-hosted, on-premiseise deployment.

What are the best alternatives to DBAPI?

Popular alternatives to DBAPI include DreamFactory, APIJSON, pREST, DB2Rest, Hasura. See the full list of DBAPI alternatives on lowcodeplatforms.org.

Who is DBAPI best for?

Data teams publishing query results as internal APIs.

John Rush